File: socket.h

package info (click to toggle)
freebsd-glue 0.2.20
  • links: PTS, VCS
  • area: main
  • in suites: jessie, jessie-kfreebsd, jessie-kfreebsd-proposed-updates
  • size: 552 kB
  • sloc: ansic: 3,225; makefile: 130; sh: 1
file content (18 lines) | stat: -rw-r--r-- 389 bytes parent folder | download | duplicates (2)
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