1 /***********************************************************************
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 *
9 * A copy of the License is available at *
10 * http://www.opensource.org/licenses/cpl1.0.txt *
11 * (with md5 checksum 059e8cd6165cb4c31e351f2b69388fd9) *
13 * Information and Software Systems Research *
17 * Glenn Fowler <gsf@research.att.com> *
18 * David Korn <dgk@research.att.com> *
19 * Phong Vo <kpv@research.att.com> *
21 ***********************************************************************/
23 /* : : generated by proto : : */
24 /* : : generated from /home/gisburn/ksh93/ast_ksh_20100309/build_i386_32bit/src/lib/libast/features/fcntl.c by iffe version 2009-12-04 : : */
25 #ifndef _def_fcntl_ast
26 #if !defined(__PROTO__)
27 # if defined(__STDC__) || defined(__cplusplus) || defined(_proto) || defined(c_plusplus)
28 # if defined(__cplusplus)
29 # define __LINKAGE__ "C"
34 # define __PROTO__(x) x
36 # define __PARAM__(n,o) n
37 # if !defined(__STDC__) && !defined(__cplusplus)
38 # if !defined(c_plusplus)
49 # define __PROTO__(x) ()
50 # define __OTORP__(x) x
51 # define __PARAM__(n,o) o
59 # define __MANGLE__ __LINKAGE__
60 # if defined(__cplusplus) || defined(c_plusplus)
61 # define __VARARG__ ...
65 # if defined(__STDARG__)
66 # define __VA_START__(p,a) va_start(p,a)
68 # define __VA_START__(p,a) va_start(p)
70 # if !defined(__INLINE__)
71 # if defined(__cplusplus)
72 # define __INLINE__ extern __MANGLE__ inline
74 # if defined(_WIN32) && !defined(__GNUC__)
75 # define __INLINE__ __inline
80 #if !defined(__LINKAGE__)
81 #define __LINKAGE__ /* 2004-08-11 transition */
84 #define _def_fcntl_ast 1
85 #define _sys_types 1 /* #include <sys/types.h> ok */
105 #include <sys/mman.h>
108 #define O_TEMPORARY 0
114 #define off_t off64_t
117 #define fstat fstat64
120 #define lstat lstat64
126 #define creat creat64