/usr/include/freebsd/fcntl.h is in freebsd-glue 0.2.20.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 | #include_next <fcntl.h>
#include <sys/fcntl.h>
#ifndef _FREEBSD_FCNTL_H_
#define _FREEBSD_FCNTL_H_
#ifdef __FREEBSD_LIBC
/* On FreeBSD, these are hidden symbols provided by libc. We use
macros to redirect them, but only them visible to freebsd-glue
code. */
#define _open open
#define _read read
#define _close close
#endif
#endif
|