21 @PRAGMA_SYSTEM_HEADER@
25 #if defined __need_system_fcntl_h 37 #if !(defined __GLIBC__ || defined __UCLIBC__) || (defined __cplusplus && defined GNULIB_NAMESPACE && (defined __ICC || !(__GNUC__ > 4 || (__GNUC__ == 4 && __GNUC_MINOR__ >= 3)))) 40 #@INCLUDE_NEXT@ @NEXT_FCNTL_H@ 45 #ifndef _@GUARD_PREFIX@_FCNTL_H 56 #if !(defined __GLIBC__ || defined __UCLIBC__) || (defined __cplusplus && defined GNULIB_NAMESPACE && (defined __ICC || !(__GNUC__ > 4 || (__GNUC__ == 4 && __GNUC_MINOR__ >= 3)))) 60 #@INCLUDE_NEXT@ @NEXT_FCNTL_H@ 62 #ifndef _@GUARD_PREFIX@_FCNTL_H 63 #define _@GUARD_PREFIX@_FCNTL_H 70 #if (@GNULIB_OPEN@ || defined GNULIB_POSIXCHECK) \ 71 && ((defined _WIN32 || defined __WIN32__) && ! defined __CYGWIN__) 87 # if !(defined __cplusplus && defined GNULIB_NAMESPACE) 89 # define fcntl rpl_fcntl 100 #elif defined GNULIB_POSIXCHECK 102 # if HAVE_RAW_DECL_FCNTL 104 "use gnulib module fcntl for portability");
110 # if !(defined __cplusplus && defined GNULIB_NAMESPACE) 112 # define open rpl_open 125 #elif defined GNULIB_POSIXCHECK 129 "use gnulib module open for portability");
133 # if @REPLACE_OPENAT@ 134 # if !(defined __cplusplus && defined GNULIB_NAMESPACE) 136 # define openat rpl_openat 139 (
int fd,
char const *file,
int flags, ...)
142 (
int fd,
char const *file,
int flags, ...));
146 (
int fd,
char const *file,
int flags, ...)
150 (
int fd,
char const *file,
int flags, ...));
153 #elif defined GNULIB_POSIXCHECK 155 # if HAVE_RAW_DECL_OPENAT 157 "use gnulib module openat for portability");
165 # define FD_CLOEXEC 1 171 #ifndef F_DUPFD_CLOEXEC 172 # define F_DUPFD_CLOEXEC 0x40000000 174 # define GNULIB_defined_F_DUPFD_CLOEXEC 1 176 # define GNULIB_defined_F_DUPFD_CLOEXEC 0 194 # if defined O_CLOEXEC && ! (INT_MIN <= O_CLOEXEC && O_CLOEXEC <= INT_MAX) 197 # if defined O_NOFOLLOW && ! (INT_MIN <= O_NOFOLLOW && O_NOFOLLOW <= INT_MAX) 200 # if defined O_TTY_INIT && ! (INT_MIN <= O_TTY_INIT && O_TTY_INIT <= INT_MAX) 205 #if !defined O_DIRECT && defined O_DIRECTIO 207 # define O_DIRECT O_DIRECTIO 210 #if !defined O_CLOEXEC && defined O_NOINHERIT 212 # define O_CLOEXEC O_NOINHERIT 216 # define O_CLOEXEC 0x40000000 217 # define GNULIB_defined_O_CLOEXEC 1 219 # define GNULIB_defined_O_CLOEXEC 0 227 # define O_DIRECTORY 0 235 # define O_EXEC O_RDONLY 238 #ifndef O_IGNORE_CTTY 239 # define O_IGNORE_CTTY 0 251 # define O_NONBLOCK O_NDELAY 257 #if @GNULIB_NONBLOCKING@ 259 # define GNULIB_defined_O_NONBLOCK 0 261 # define GNULIB_defined_O_NONBLOCK 1 263 # define O_NONBLOCK 0x40000000 272 # define O_NOFOLLOW 0 292 # define O_SEARCH O_RDONLY 300 # define O_TTY_INIT 0 303 #if ~O_ACCMODE & (O_RDONLY | O_WRONLY | O_RDWR | O_EXEC | O_SEARCH) 305 # define O_ACCMODE (O_RDONLY | O_WRONLY | O_RDWR | O_EXEC | O_SEARCH) 310 #if !defined O_BINARY && defined _O_BINARY 312 # define O_BINARY _O_BINARY 313 # define O_TEXT _O_TEXT 316 #if defined __BEOS__ || defined __HAIKU__ 333 #if 0 < AT_FDCWD && AT_FDCWD == 0xffd19553 341 # define AT_FDCWD (-3041965) 346 #ifndef AT_SYMLINK_NOFOLLOW 347 # define AT_SYMLINK_NOFOLLOW 4096 351 # define AT_REMOVEDIR 1 355 #ifndef AT_SYMLINK_FOLLOW 356 # define AT_SYMLINK_FOLLOW 2 360 # define AT_EACCESS 4
#define _GL_FUNCDECL_SYS(func, rettype, parameters_and_attributes)
Definition: inet.h:168
#define _GL_CXXALIAS_RPL(func, rettype, parameters)
Definition: inet.h:180
#define _GL_CXXALIASWARN(func)
Definition: inet.h:337
#define _GL_CXXALIAS_SYS(func, rettype, parameters)
Definition: inet.h:253
#define _GL_FUNCDECL_RPL(func, rettype, parameters_and_attributes)
Definition: inet.h:156
#define _GL_WARN_ON_USE(function, message)
Definition: inet.h:474