/usr/include/freebsd/sys/socket.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 17 18 | #include_next <sys/socket.h>
#ifndef _FREEBSD_SYS_SOCKET_H_
#define _FREEBSD_SYS_SOCKET_H_
#include <sys/cdefs.h>
__BEGIN_DECLS
int setfib(int fib);
__END_DECLS
#ifdef __FreeBSD_kernel__
/* bsd_sendfile prototype already in glibc. */
#define sendfile(fd, s, offset, nbytes, hdtr, sbytes, flags) \
bsd_sendfile((fd), (s), (offset), (nbytes), (hdtr), (sbytes), (flags))
#endif
#endif
|