dmake: do not set MAKEFLAGS=k
[unleashed/tickless.git] / usr / src / lib / libast / i386 / include / ast / ast_sys.h
blob5f92fe45d5f6a0ef2f15e8e16909880b197bc8f0
1 /***********************************************************************
2 * *
3 * This software is part of the ast package *
4 * Copyright (c) 1985-2010 AT&T Intellectual Property *
5 * and is licensed under the *
6 * Common Public License, Version 1.0 *
7 * by AT&T Intellectual Property *
8 * *
9 * A copy of the License is available at *
10 * http://www.opensource.org/licenses/cpl1.0.txt *
11 * (with md5 checksum 059e8cd6165cb4c31e351f2b69388fd9) *
12 * *
13 * Information and Software Systems Research *
14 * AT&T Research *
15 * Florham Park NJ *
16 * *
17 * Glenn Fowler <gsf@research.att.com> *
18 * David Korn <dgk@research.att.com> *
19 * Phong Vo <kpv@research.att.com> *
20 * *
21 ***********************************************************************/
23 /* : : generated by proto : : */
24 /* : : generated from /home/gisburn/ksh93/ast_ksh_20100309/build_i386_32bit/src/lib/libast/features/sys by iffe version 2009-12-04 : : */
26 #ifndef _AST_SYS_H
27 #if !defined(__PROTO__)
28 # if defined(__STDC__) || defined(__cplusplus) || defined(_proto) || defined(c_plusplus)
29 # if defined(__cplusplus)
30 # define __LINKAGE__ "C"
31 # else
32 # define __LINKAGE__
33 # endif
34 # define __STDARG__
35 # define __PROTO__(x) x
36 # define __OTORP__(x)
37 # define __PARAM__(n,o) n
38 # if !defined(__STDC__) && !defined(__cplusplus)
39 # if !defined(c_plusplus)
40 # define const
41 # endif
42 # define signed
43 # define void int
44 # define volatile
45 # define __V_ char
46 # else
47 # define __V_ void
48 # endif
49 # else
50 # define __PROTO__(x) ()
51 # define __OTORP__(x) x
52 # define __PARAM__(n,o) o
53 # define __LINKAGE__
54 # define __V_ char
55 # define const
56 # define signed
57 # define void int
58 # define volatile
59 # endif
60 # define __MANGLE__ __LINKAGE__
61 # if defined(__cplusplus) || defined(c_plusplus)
62 # define __VARARG__ ...
63 # else
64 # define __VARARG__
65 # endif
66 # if defined(__STDARG__)
67 # define __VA_START__(p,a) va_start(p,a)
68 # else
69 # define __VA_START__(p,a) va_start(p)
70 # endif
71 # if !defined(__INLINE__)
72 # if defined(__cplusplus)
73 # define __INLINE__ extern __MANGLE__ inline
74 # else
75 # if defined(_WIN32) && !defined(__GNUC__)
76 # define __INLINE__ __inline
77 # endif
78 # endif
79 # endif
80 #endif
81 #if !defined(__LINKAGE__)
82 #define __LINKAGE__ /* 2004-08-11 transition */
83 #endif
85 #define _AST_SYS_H 1
86 #define _sys_types 1 /* #include <sys/types.h> ok */
87 #if __mips == 2 && !defined(_NO_LARGEFILE64_SOURCE)
88 #define _NO_LARGEFILE64_SOURCE 1
89 #endif
90 #if !defined(_NO_LARGEFILE64_SOURCE) && _typ_off64_t && _lib_lseek64 && _lib_stat64
91 #if !defined(_LARGEFILE64_SOURCE)
92 #define _LARGEFILE64_SOURCE 1
93 #endif
94 #if !defined(_LARGEFILE_SOURCE)
95 #define _LARGEFILE_SOURCE 1
96 #endif
97 #else
98 #undef _LARGEFILE64_SOURCE
99 #undef _LARGEFILE_SOURCE
100 #undef _typ_off64_t
101 #undef _typ_struct_dirent64
102 #undef _lib_creat64
103 #undef _lib_fstat64
104 #undef _lib_fstatvfs64
105 #undef _lib_ftruncate64
106 #undef _lib_lseek64
107 #undef _lib_lstat64
108 #undef _lib_mmap64
109 #undef _lib_open64
110 #undef _lib_readdir64
111 #undef _lib_stat64
112 #undef _lib_statvfs64
113 #undef _lib_truncate64
114 #endif
115 #if defined(__STDC__) && !defined(__USE_FIXED_PROTOTYPES__)
116 #define __USE_FIXED_PROTOTYPES__ 1 /* kick gcc out of the past */
117 #endif
118 #include <stdlib.h>
119 #include <stddef.h>
120 #include <sys/types.h>
121 #include <stdint.h>
122 #include <inttypes.h>
123 #include <string.h>
124 #include <unistd.h>
125 #include <limits.h>
126 #include <fcntl.h>
127 #include <locale.h>
128 #define _hdr_time 1 /* #include <time.h> ok */
129 #define _sys_time 1 /* #include <sys/time.h> ok */
130 #define _sys_times 1 /* #include <sys/times.h> ok */
131 #define _typ_dev_t 1 /* dev_t is a type */
132 #define _typ_nlink_t 1 /* nlink_t is a type */
133 #define _typ_gid_t 1 /* gid_t is a type */
134 #define _typ_mode_t 1 /* mode_t is a type */
135 #define _typ_uid_t 1 /* uid_t is a type */
136 #define _hdr_stdio 1 /* #include <stdio.h> ok */
137 #define _hdr_wchar 1 /* #include <wchar.h> ok */
138 #define _typ_wchar_t 1 /* wchar_t is a type */
139 #define _typ_pid_t 1 /* pid_t is a type */
140 #define _typ_ssize_t 1 /* ssize_t is a type */
141 #define _typ_wint_t 1 /* wint_t is a type */
142 #define _sys_socket 1 /* #include <sys/socket.h> ok */
143 #define _typ_socklen_t 1 /* socklen_t is a type */
144 #define _typ_size_t 1 /* size_t is a type */
145 #define _typ_clock_t 1 /* clock_t is a type */
146 #define _typ_ino_t 1 /* ino_t is a type */
147 #define _typ_off_t 1 /* off_t is a type */
148 #define _typ_ptrdiff_t 1 /* ptrdiff_t is a type */
149 #define _typ_time_t 1 /* time_t is a type */
150 #define _typ_div_t 1 /* div_t is a type */
151 #define _typ_ldiv_t 1 /* ldiv_t is a type */
152 #if _BLD_ast && defined(__EXPORT__)
153 #undef __MANGLE__
154 #define __MANGLE__ __LINKAGE__ __EXPORT__
155 #endif
156 extern __MANGLE__ void cfree __PROTO__((__V_*));
157 extern __MANGLE__ int eaccess __PROTO__((const char*, int));
158 extern __MANGLE__ int execvpe __PROTO__((const char*, char* const[], char* const[]));
159 extern __MANGLE__ __V_* pvalloc __PROTO__((size_t));
160 extern __MANGLE__ pid_t spawnveg __PROTO__((const char*, char* const[], char* const[], pid_t));
161 #undef __MANGLE__
162 #define __MANGLE__ __LINKAGE__
163 #if !defined(va_start)
164 #if defined(__STDARG__)
165 #include <stdarg.h>
166 #else
167 #include <varargs.h>
168 #endif
169 #endif
171 #endif