Sync usage with man page.
[netbsd-mini2440.git] / gnu / dist / gcc4 / fixincludes / tests / base / sys / socket.h
blob61b58a8bd3ec1f85a998f40a2a2a5e4319aaa9cf
1 /* DO NOT EDIT THIS FILE.
3 It has been auto-edited by fixincludes from:
5 "fixinc/tests/inc/sys/socket.h"
7 This had to be done to correct non-standard usages in the
8 original, manufacturer supplied header file. */
12 #if defined( HPUX11_EXTERN_SENDFILE_CHECK )
13 #ifndef _APP32_64BIT_OFF_T
14 extern sbsize_t sendfile __((int, int, off_t, bsize_t,
15 const struct iovec *, int));
16 #endif
18 #endif /* HPUX11_EXTERN_SENDFILE_CHECK */
21 #if defined( HPUX11_EXTERN_SENDPATH_CHECK )
22 #ifndef _APP32_64BIT_OFF_T
23 extern sbsize_t sendpath __((int, int, off_t, bsize_t,
24 const struct iovec *, int));
25 #endif
27 #endif /* HPUX11_EXTERN_SENDPATH_CHECK */
30 #if defined( IRIX_SOCKLEN_T_CHECK )
31 #define _SOCKLEN_T
32 #if _NO_XOPEN4 && _NO_XOPEN5
33 typedef int socklen_t;
34 #else
35 typedef u_int32_t socklen_t;
36 #endif /* _NO_XOPEN4 && _NO_XOPEN5 */
37 #endif /* IRIX_SOCKLEN_T_CHECK */
40 #if defined( SOLARIS_SOCKET_CHECK )
41 #ident "@(#)socket.h 1.30 97/01/20 SMI"
42 extern int recv(int, void *, int, int);
43 extern int send(int, const void *, int, int);
44 #endif /* SOLARIS_SOCKET_CHECK */