aboutsummaryrefslogtreecommitdiffstats
path: root/gcc-4.3.1/fixincludes/tests/base/sys/socket.h
blob: 61b58a8bd3ec1f85a998f40a2a2a5e4319aaa9cf (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
/*  DO NOT EDIT THIS FILE.

    It has been auto-edited by fixincludes from:

	"fixinc/tests/inc/sys/socket.h"

    This had to be done to correct non-standard usages in the
    original, manufacturer supplied header file.  */



#if defined( HPUX11_EXTERN_SENDFILE_CHECK )
#ifndef _APP32_64BIT_OFF_T
   extern sbsize_t sendfile __((int, int, off_t, bsize_t,
                               const struct iovec *, int));
#endif

#endif  /* HPUX11_EXTERN_SENDFILE_CHECK */


#if defined( HPUX11_EXTERN_SENDPATH_CHECK )
#ifndef _APP32_64BIT_OFF_T
   extern sbsize_t sendpath __((int, int, off_t, bsize_t,
                               const struct iovec *, int));
#endif

#endif  /* HPUX11_EXTERN_SENDPATH_CHECK */


#if defined( IRIX_SOCKLEN_T_CHECK )
#define _SOCKLEN_T
#if _NO_XOPEN4 && _NO_XOPEN5
typedef int socklen_t;
#else
typedef u_int32_t socklen_t;
#endif /* _NO_XOPEN4 && _NO_XOPEN5 */
#endif  /* IRIX_SOCKLEN_T_CHECK */


#if defined( SOLARIS_SOCKET_CHECK )
#ident   "@(#)socket.h   1.30    97/01/20 SMI"
extern int recv(int, void *, int, int);
extern int send(int, const void *, int, int);
#endif  /* SOLARIS_SOCKET_CHECK */