17 #ifndef _@GUARD_PREFIX@_UNISTD_H
20 @PRAGMA_SYSTEM_HEADER@
26 # @INCLUDE_NEXT@ @NEXT_UNISTD_H@
30 #if @GNULIB_GETHOSTNAME@ && @UNISTD_H_HAVE_WINSOCK2_H@ \
31 && !defined _GL_INCLUDING_WINSOCK2_H
32 # define _GL_INCLUDING_WINSOCK2_H
33 # include <winsock2.h>
34 # undef _GL_INCLUDING_WINSOCK2_H
37 #if !defined _@GUARD_PREFIX@_UNISTD_H && !defined _GL_INCLUDING_WINSOCK2_H
38 #define _@GUARD_PREFIX@_UNISTD_H
46 #if (!(defined SEEK_CUR && defined SEEK_END && defined SEEK_SET) \
47 || ((@GNULIB_SYMLINKAT@ || defined GNULIB_POSIXCHECK) \
48 && defined __CYGWIN__)) \
49 && ! defined __GLIBC__
55 #if (@GNULIB_UNLINKAT@ || defined GNULIB_POSIXCHECK) && defined __CYGWIN__ \
56 && ! defined __GLIBC__
67 #if !defined __GLIBC__ && !defined __osf__
68 # define __need_system_stdlib_h
70 # undef __need_system_stdlib_h
77 #if ((@GNULIB_CHDIR@ || @GNULIB_GETCWD@ || @GNULIB_RMDIR@ \
78 || defined GNULIB_POSIXCHECK) \
79 && ((defined _WIN32 || defined __WIN32__) && ! defined __CYGWIN__))
82 #elif (@GNULIB_CLOSE@ || @GNULIB_DUP@ || @GNULIB_DUP2@ || @GNULIB_ISATTY@ \
83 || @GNULIB_LSEEK@ || @GNULIB_READ@ || @GNULIB_UNLINK@ || @GNULIB_WRITE@ \
84 || defined GNULIB_POSIXCHECK) \
85 && ((defined _WIN32 || defined __WIN32__) && ! defined __CYGWIN__)
92 #if ((@GNULIB_GETDOMAINNAME@ && (defined _AIX || defined __osf__)) \
93 || (@GNULIB_GETHOSTNAME@ && defined __TANDEM)) \
100 #if !@HAVE_UNISTD_H@ || @WINDOWS_64_BIT_OFF_T@
102 # include <sys/types.h>
105 #if (@GNULIB_READ@ || @GNULIB_WRITE@ \
106 || @GNULIB_READLINK@ || @GNULIB_READLINKAT@ \
107 || @GNULIB_PREAD@ || @GNULIB_PWRITE@ || defined GNULIB_POSIXCHECK)
109 # include <sys/types.h>
114 #if @GNULIB_UNISTD_H_GETOPT@ && !defined __GLIBC__ && !defined _GL_SYSTEM_GETOPT
115 # define __need_getopt
119 #ifndef _GL_INLINE_HEADER_BEGIN
120 #error "Please include config.h first."
122 _GL_INLINE_HEADER_BEGIN
123 #ifndef _GL_UNISTD_INLINE
124 # define _GL_UNISTD_INLINE _GL_INLINE
136 #if @GNULIB_GETHOSTNAME@ && @UNISTD_H_HAVE_WINSOCK2_H@
137 # if !defined _@GUARD_PREFIX@_SYS_SOCKET_H
138 # if !(defined __cplusplus && defined GNULIB_NAMESPACE)
140 # define socket socket_used_without_including_sys_socket_h
142 # define connect connect_used_without_including_sys_socket_h
144 # define accept accept_used_without_including_sys_socket_h
146 # define bind bind_used_without_including_sys_socket_h
148 # define getpeername getpeername_used_without_including_sys_socket_h
150 # define getsockname getsockname_used_without_including_sys_socket_h
152 # define getsockopt getsockopt_used_without_including_sys_socket_h
154 # define listen listen_used_without_including_sys_socket_h
156 # define recv recv_used_without_including_sys_socket_h
158 # define send send_used_without_including_sys_socket_h
160 # define recvfrom recvfrom_used_without_including_sys_socket_h
162 # define sendto sendto_used_without_including_sys_socket_h
164 # define setsockopt setsockopt_used_without_including_sys_socket_h
166 # define shutdown shutdown_used_without_including_sys_socket_h
169 "socket() used without including <sys/socket.h>");
171 "connect() used without including <sys/socket.h>");
173 "accept() used without including <sys/socket.h>");
175 "bind() used without including <sys/socket.h>");
177 "getpeername() used without including <sys/socket.h>");
179 "getsockname() used without including <sys/socket.h>");
181 "getsockopt() used without including <sys/socket.h>");
183 "listen() used without including <sys/socket.h>");
185 "recv() used without including <sys/socket.h>");
187 "send() used without including <sys/socket.h>");
189 "recvfrom() used without including <sys/socket.h>");
191 "sendto() used without including <sys/socket.h>");
193 "setsockopt() used without including <sys/socket.h>");
195 "shutdown() used without including <sys/socket.h>");
198 # if !defined _@GUARD_PREFIX@_SYS_SELECT_H
199 # if !(defined __cplusplus && defined GNULIB_NAMESPACE)
201 # define select select_used_without_including_sys_select_h
204 "select() used without including <sys/select.h>");
212 # define STDIN_FILENO 0
214 #ifndef STDOUT_FILENO
215 # define STDOUT_FILENO 1
217 #ifndef STDERR_FILENO
218 # define STDERR_FILENO 2
233 #if defined GNULIB_POSIXCHECK
236 "use the gnulib module faccessat instead");
243 #elif defined GNULIB_POSIXCHECK
245 # if HAVE_RAW_DECL_CHDIR
247 "use gnulib module chdir for portability");
259 # if !(defined __cplusplus && defined GNULIB_NAMESPACE)
261 # define chown rpl_chown
274 #elif defined GNULIB_POSIXCHECK
276 # if HAVE_RAW_DECL_CHOWN
277 _GL_WARN_ON_USE (chown,
"chown fails to follow symlinks on some systems and "
278 "doesn't treat a uid or gid of -1 on some systems - "
279 "use gnulib module chown for portability");
287 # if !(defined __cplusplus && defined GNULIB_NAMESPACE)
289 # define close rpl_close
297 #elif @UNISTD_H_HAVE_WINSOCK2_H_AND_USE_SOCKETS@
299 # define close close_used_without_requesting_gnulib_module_close
300 #elif defined GNULIB_POSIXCHECK
304 "use gnulib module close for portability");
310 # if !(defined __cplusplus && defined GNULIB_NAMESPACE)
319 #elif defined GNULIB_POSIXCHECK
321 # if HAVE_RAW_DECL_DUP
323 "use gnulib module dup for portability");
335 # if !(defined __cplusplus && defined GNULIB_NAMESPACE)
336 # define dup2 rpl_dup2
347 #elif defined GNULIB_POSIXCHECK
349 # if HAVE_RAW_DECL_DUP2
351 "use gnulib module dup2 for portability");
366 # if !(defined __cplusplus && defined GNULIB_NAMESPACE)
367 # define dup3 rpl_dup3
376 #elif defined GNULIB_POSIXCHECK
378 # if HAVE_RAW_DECL_DUP3
380 "use gnulib module dup3 for portability");
386 # if !@HAVE_DECL_ENVIRON@
389 # if defined __APPLE__ && defined __MACH__
390 # include <crt_externs.h>
391 # define environ (*_NSGetEnviron ())
396 extern char **environ;
402 #elif defined GNULIB_POSIXCHECK
403 # if HAVE_RAW_DECL_ENVIRON
410 "use gnulib module environ for portability");
412 # define environ (*rpl_environ ())
417 #if @GNULIB_EUIDACCESS@
420 # if !@HAVE_EUIDACCESS@
426 # if defined GNULIB_POSIXCHECK
428 _GL_WARN_ON_USE (euidaccess,
"the euidaccess function is a security risk - "
429 "use the gnulib module faccessat instead");
431 #elif defined GNULIB_POSIXCHECK
433 # if HAVE_RAW_DECL_EUIDACCESS
435 "use gnulib module euidaccess for portability");
440 #if @GNULIB_FACCESSAT@
441 # if !@HAVE_FACCESSAT@
443 (
int fd,
char const *file,
int mode,
int flag)
447 (
int fd,
char const *file,
int mode,
int flag));
449 #elif defined GNULIB_POSIXCHECK
451 # if HAVE_RAW_DECL_FACCESSAT
453 "use gnulib module faccessat for portability");
468 _GL_EXTERN_C int _gl_register_fd (
int fd,
const char *filename)
471 _GL_EXTERN_C int _gl_register_dup (
int oldfd,
int newfd);
475 # if !@HAVE_DECL_FCHDIR@
481 #elif defined GNULIB_POSIXCHECK
483 # if HAVE_RAW_DECL_FCHDIR
485 "use gnulib module fchdir for portability");
490 #if @GNULIB_FCHOWNAT@
491 # if @REPLACE_FCHOWNAT@
492 # if !(defined __cplusplus && defined GNULIB_NAMESPACE)
494 # define fchownat rpl_fchownat
497 uid_t
owner, gid_t group,
int flag)
500 uid_t
owner, gid_t group,
int flag));
502 # if !@HAVE_FCHOWNAT@
504 uid_t
owner, gid_t group,
int flag)
508 uid_t
owner, gid_t group,
int flag));
511 #elif defined GNULIB_POSIXCHECK
513 # if HAVE_RAW_DECL_FCHOWNAT
515 "use gnulib module openat for portability");
520 #if @GNULIB_FDATASYNC@
525 # if !@HAVE_FDATASYNC@ || !@HAVE_DECL_FDATASYNC@
530 #elif defined GNULIB_POSIXCHECK
532 # if HAVE_RAW_DECL_FDATASYNC
534 "use gnulib module fdatasync for portability");
549 #elif defined GNULIB_POSIXCHECK
551 # if HAVE_RAW_DECL_FSYNC
553 "use gnulib module fsync for portability");
558 #if @GNULIB_FTRUNCATE@
563 # if @REPLACE_FTRUNCATE@
564 # if !(defined __cplusplus && defined GNULIB_NAMESPACE)
566 # define ftruncate rpl_ftruncate
571 # if !@HAVE_FTRUNCATE@
577 #elif defined GNULIB_POSIXCHECK
579 # if HAVE_RAW_DECL_FTRUNCATE
581 "use gnulib module ftruncate for portability");
597 # if @REPLACE_GETCWD@
598 # if !(defined __cplusplus && defined GNULIB_NAMESPACE)
599 # define getcwd rpl_getcwd
609 #elif defined GNULIB_POSIXCHECK
611 # if HAVE_RAW_DECL_GETCWD
613 "use gnulib module getcwd for portability");
618 #if @GNULIB_GETDOMAINNAME@
629 # if @REPLACE_GETDOMAINNAME@
630 # if !(defined __cplusplus && defined GNULIB_NAMESPACE)
631 # undef getdomainname
632 # define getdomainname rpl_getdomainname
638 # if !@HAVE_DECL_GETDOMAINNAME@
645 #elif defined GNULIB_POSIXCHECK
646 # undef getdomainname
647 # if HAVE_RAW_DECL_GETDOMAINNAME
649 "use gnulib module getdomainname for portability");
654 #if @GNULIB_GETDTABLESIZE@
657 # if @REPLACE_GETDTABLESIZE@
658 # if !(defined __cplusplus && defined GNULIB_NAMESPACE)
659 # undef getdtablesize
660 # define getdtablesize rpl_getdtablesize
665 # if !@HAVE_GETDTABLESIZE@
671 #elif defined GNULIB_POSIXCHECK
672 # undef getdtablesize
673 # if HAVE_RAW_DECL_GETDTABLESIZE
675 "use gnulib module getdtablesize for portability");
680 #if @GNULIB_GETGROUPS@
686 # if @REPLACE_GETGROUPS@
687 # if !(defined __cplusplus && defined GNULIB_NAMESPACE)
689 # define getgroups rpl_getgroups
694 # if !@HAVE_GETGROUPS@
700 #elif defined GNULIB_POSIXCHECK
702 # if HAVE_RAW_DECL_GETGROUPS
704 "use gnulib module getgroups for portability");
709 #if @GNULIB_GETHOSTNAME@
717 # if @UNISTD_H_HAVE_WINSOCK2_H@
718 # if !(defined __cplusplus && defined GNULIB_NAMESPACE)
720 # define gethostname rpl_gethostname
726 # if !@HAVE_GETHOSTNAME@
736 #elif @UNISTD_H_HAVE_WINSOCK2_H@
738 # define gethostname gethostname_used_without_requesting_gnulib_module_gethostname
739 #elif defined GNULIB_POSIXCHECK
741 # if HAVE_RAW_DECL_GETHOSTNAME
743 "use gnulib module gethostname for portability");
748 #if @GNULIB_GETLOGIN@
759 # if !@HAVE_GETLOGIN@
764 #elif defined GNULIB_POSIXCHECK
766 # if HAVE_RAW_DECL_GETLOGIN
768 "use gnulib module getlogin for portability");
773 #if @GNULIB_GETLOGIN_R@
788 # if @REPLACE_GETLOGIN_R@
789 # if !(defined __cplusplus && defined GNULIB_NAMESPACE)
790 # define getlogin_r rpl_getlogin_r
796 # if !@HAVE_DECL_GETLOGIN_R@
805 #elif defined GNULIB_POSIXCHECK
807 # if HAVE_RAW_DECL_GETLOGIN_R
809 "use gnulib module getlogin_r for portability");
814 #if @GNULIB_GETPAGESIZE@
815 # if @REPLACE_GETPAGESIZE@
816 # if !(defined __cplusplus && defined GNULIB_NAMESPACE)
817 # define getpagesize rpl_getpagesize
822 # if !@HAVE_GETPAGESIZE@
823 # if !defined getpagesize
825 # if !defined _gl_getpagesize && defined _SC_PAGESIZE
826 # if ! (defined __VMS && __VMS_VER < 70000000)
827 # define _gl_getpagesize() sysconf (_SC_PAGESIZE)
831 # if !defined _gl_getpagesize && defined __VMS
833 # define _gl_getpagesize() 8192
835 # define _gl_getpagesize() 512
839 # if !defined _gl_getpagesize && @HAVE_OS_H@
841 # if defined B_PAGE_SIZE
842 # define _gl_getpagesize() B_PAGE_SIZE
846 # if !defined _gl_getpagesize && defined __amigaos4__
847 # define _gl_getpagesize() 2048
850 # if !defined _gl_getpagesize && @HAVE_SYS_PARAM_H@
851 # include <sys/param.h>
852 # ifdef EXEC_PAGESIZE
853 # define _gl_getpagesize() EXEC_PAGESIZE
859 # define _gl_getpagesize() (NBPG * CLSIZE)
862 # define _gl_getpagesize() NBPC
867 # if !(defined __cplusplus && defined GNULIB_NAMESPACE)
868 # define getpagesize() _gl_getpagesize ()
870 # if !GNULIB_defined_getpagesize_function
874 return _gl_getpagesize ();
876 # define GNULIB_defined_getpagesize_function 1
884 # if @HAVE_DECL_GETPAGESIZE@
887 #elif defined GNULIB_POSIXCHECK
889 # if HAVE_RAW_DECL_GETPAGESIZE
891 "use gnulib module getpagesize for portability");
896 #if @GNULIB_GETUSERSHELL@
899 # if !@HAVE_DECL_GETUSERSHELL@
904 #elif defined GNULIB_POSIXCHECK
906 # if HAVE_RAW_DECL_GETUSERSHELL
908 "use gnulib module getusershell for portability");
912 #if @GNULIB_GETUSERSHELL@
914 # if !@HAVE_DECL_GETUSERSHELL@
919 #elif defined GNULIB_POSIXCHECK
921 # if HAVE_RAW_DECL_SETUSERSHELL
923 "use gnulib module getusershell for portability");
927 #if @GNULIB_GETUSERSHELL@
930 # if !@HAVE_DECL_GETUSERSHELL@
935 #elif defined GNULIB_POSIXCHECK
937 # if HAVE_RAW_DECL_ENDUSERSHELL
939 "use gnulib module getusershell for portability");
944 #if @GNULIB_GROUP_MEMBER@
946 # if !@HAVE_GROUP_MEMBER@
951 #elif defined GNULIB_POSIXCHECK
953 # if HAVE_RAW_DECL_GROUP_MEMBER
955 "use gnulib module group-member for portability");
961 # if @REPLACE_ISATTY@
962 # if !(defined __cplusplus && defined GNULIB_NAMESPACE)
964 # define isatty rpl_isatty
972 #elif defined GNULIB_POSIXCHECK
974 # if HAVE_RAW_DECL_ISATTY
975 _GL_WARN_ON_USE (isatty,
"isatty has portability problems on native Windows - "
976 "use gnulib module isatty for portability");
987 # if @REPLACE_LCHOWN@
988 # if !(defined __cplusplus && defined GNULIB_NAMESPACE)
990 # define lchown rpl_lchown
1003 #elif defined GNULIB_POSIXCHECK
1005 # if HAVE_RAW_DECL_LCHOWN
1006 _GL_WARN_ON_USE (lchown,
"lchown is unportable to pre-POSIX.1-2001 systems - "
1007 "use gnulib module lchown for portability");
1018 # if !(defined __cplusplus && defined GNULIB_NAMESPACE)
1019 # define link rpl_link
1032 #elif defined GNULIB_POSIXCHECK
1034 # if HAVE_RAW_DECL_LINK
1036 "use gnulib module link for portability");
1045 # if @REPLACE_LINKAT@
1046 # if !(defined __cplusplus && defined GNULIB_NAMESPACE)
1048 # define linkat rpl_linkat
1051 (
int fd1,
const char *path1,
int fd2,
const char *path2,
1055 (
int fd1,
const char *path1,
int fd2,
const char *path2,
1060 (
int fd1,
const char *path1,
int fd2,
const char *path2,
1065 (
int fd1,
const char *path1,
int fd2,
const char *path2,
1069 #elif defined GNULIB_POSIXCHECK
1071 # if HAVE_RAW_DECL_LINKAT
1073 "use gnulib module linkat for portability");
1083 # if @REPLACE_LSEEK@
1084 # if !(defined __cplusplus && defined GNULIB_NAMESPACE)
1085 # define lseek rpl_lseek
1093 #elif defined GNULIB_POSIXCHECK
1095 # if HAVE_RAW_DECL_LSEEK
1096 _GL_WARN_ON_USE (lseek,
"lseek does not fail with ESPIPE on pipes on some "
1097 "systems - use gnulib module lseek for portability");
1111 #elif defined GNULIB_POSIXCHECK
1113 # if HAVE_RAW_DECL_PIPE
1115 "use gnulib module pipe-posix for portability");
1130 # if !(defined __cplusplus && defined GNULIB_NAMESPACE)
1131 # define pipe2 rpl_pipe2
1140 #elif defined GNULIB_POSIXCHECK
1142 # if HAVE_RAW_DECL_PIPE2
1144 "use gnulib module pipe2 for portability");
1155 # if @REPLACE_PREAD@
1156 # if !(defined __cplusplus && defined GNULIB_NAMESPACE)
1158 # define pread rpl_pread
1161 (
int fd,
void *
buf,
size_t bufsize, off_t
offset)
1164 (
int fd,
void *
buf,
size_t bufsize, off_t
offset));
1168 (
int fd,
void *
buf,
size_t bufsize, off_t
offset)
1172 (
int fd,
void *
buf,
size_t bufsize, off_t
offset));
1175 #elif defined GNULIB_POSIXCHECK
1177 # if HAVE_RAW_DECL_PREAD
1179 "use gnulib module pread for portability");
1190 # if @REPLACE_PWRITE@
1191 # if !(defined __cplusplus && defined GNULIB_NAMESPACE)
1193 # define pwrite rpl_pwrite
1196 (
int fd,
const void *
buf,
size_t bufsize, off_t
offset)
1199 (
int fd,
const void *
buf,
size_t bufsize, off_t
offset));
1203 (
int fd,
const void *
buf,
size_t bufsize, off_t
offset)
1207 (
int fd,
const void *
buf,
size_t bufsize, off_t
offset));
1210 #elif defined GNULIB_POSIXCHECK
1212 # if HAVE_RAW_DECL_PWRITE
1214 "use gnulib module pwrite for portability");
1224 # if !(defined __cplusplus && defined GNULIB_NAMESPACE)
1226 # define read rpl_read
1241 #if @GNULIB_READLINK@
1247 # if @REPLACE_READLINK@
1248 # if !(defined __cplusplus && defined GNULIB_NAMESPACE)
1249 # define readlink rpl_readlink
1252 (
const char *file,
char *
buf,
size_t bufsize)
1255 (
const char *file,
char *
buf,
size_t bufsize));
1257 # if !@HAVE_READLINK@
1259 (
const char *file,
char *
buf,
size_t bufsize)
1263 (
const char *file,
char *
buf,
size_t bufsize));
1266 #elif defined GNULIB_POSIXCHECK
1268 # if HAVE_RAW_DECL_READLINK
1270 "use gnulib module readlink for portability");
1275 #if @GNULIB_READLINKAT@
1276 # if !@HAVE_READLINKAT@
1278 (
int fd,
char const *file,
char *
buf,
size_t len)
1282 (
int fd,
char const *file,
char *
buf,
size_t len));
1284 #elif defined GNULIB_POSIXCHECK
1286 # if HAVE_RAW_DECL_READLINKAT
1288 "use gnulib module readlinkat for portability");
1295 # if @REPLACE_RMDIR@
1296 # if !(defined __cplusplus && defined GNULIB_NAMESPACE)
1297 # define rmdir rpl_rmdir
1305 #elif defined GNULIB_POSIXCHECK
1307 # if HAVE_RAW_DECL_RMDIR
1309 "use gnulib module rmdir for portability");
1314 #if @GNULIB_SETHOSTNAME@
1323 # if !@HAVE_SETHOSTNAME@ || !@HAVE_DECL_SETHOSTNAME@
1332 #elif defined GNULIB_POSIXCHECK
1334 # if HAVE_RAW_DECL_SETHOSTNAME
1336 "use gnulib module sethostname for portability");
1346 # if @REPLACE_SLEEP@
1347 # if !(defined __cplusplus && defined GNULIB_NAMESPACE)
1349 # define sleep rpl_sleep
1360 #elif defined GNULIB_POSIXCHECK
1362 # if HAVE_RAW_DECL_SLEEP
1364 "use gnulib module sleep for portability");
1369 #if @GNULIB_SYMLINK@
1370 # if @REPLACE_SYMLINK@
1371 # if !(defined __cplusplus && defined GNULIB_NAMESPACE)
1373 # define symlink rpl_symlink
1379 # if !@HAVE_SYMLINK@
1386 #elif defined GNULIB_POSIXCHECK
1388 # if HAVE_RAW_DECL_SYMLINK
1390 "use gnulib module symlink for portability");
1395 #if @GNULIB_SYMLINKAT@
1396 # if !@HAVE_SYMLINKAT@
1398 (
char const *contents,
int fd,
char const *file)
1402 (
char const *contents,
int fd,
char const *file));
1404 #elif defined GNULIB_POSIXCHECK
1406 # if HAVE_RAW_DECL_SYMLINKAT
1408 "use gnulib module symlinkat for portability");
1413 #if @GNULIB_TTYNAME_R@
1416 # if @REPLACE_TTYNAME_R@
1417 # if !(defined __cplusplus && defined GNULIB_NAMESPACE)
1419 # define ttyname_r rpl_ttyname_r
1424 (
int fd,
char *
buf,
size_t buflen));
1426 # if !@HAVE_DECL_TTYNAME_R@
1431 (
int fd,
char *
buf,
size_t buflen));
1434 #elif defined GNULIB_POSIXCHECK
1436 # if HAVE_RAW_DECL_TTYNAME_R
1438 "use gnulib module ttyname_r for portability");
1444 # if @REPLACE_UNLINK@
1445 # if !(defined __cplusplus && defined GNULIB_NAMESPACE)
1447 # define unlink rpl_unlink
1455 #elif defined GNULIB_POSIXCHECK
1457 # if HAVE_RAW_DECL_UNLINK
1459 "use gnulib module unlink for portability");
1464 #if @GNULIB_UNLINKAT@
1465 # if @REPLACE_UNLINKAT@
1466 # if !(defined __cplusplus && defined GNULIB_NAMESPACE)
1468 # define unlinkat rpl_unlinkat
1474 # if !@HAVE_UNLINKAT@
1481 #elif defined GNULIB_POSIXCHECK
1483 # if HAVE_RAW_DECL_UNLINKAT
1485 "use gnulib module openat for portability");
1495 # if @REPLACE_USLEEP@
1496 # if !(defined __cplusplus && defined GNULIB_NAMESPACE)
1498 # define usleep rpl_usleep
1509 #elif defined GNULIB_POSIXCHECK
1511 # if HAVE_RAW_DECL_USLEEP
1513 "use gnulib module usleep for portability");
1522 # if @REPLACE_WRITE@
1523 # if !(defined __cplusplus && defined GNULIB_NAMESPACE)
1525 # define write rpl_write
1539 _GL_INLINE_HEADER_END
#define _GL_ARG_NONNULL(params)
A C macro for declaring that specific arguments must not be NULL.
#define _GL_EXTERN_C
C++ compatible function declaration macros.
#define _GL_CXXALIAS_RPL(func, rettype, parameters)
_GL_CXXALIAS_RPL (func, rettype, parameters); declares a C++ alias called GNULIB_NAMESPACE::func that...
#define _GL_FUNCDECL_RPL(func, rettype, parameters_and_attributes)
_GL_FUNCDECL_RPL (func, rettype, parameters_and_attributes); declares a replacement function,...
#define _GL_CXXALIAS_SYS_CAST(func, rettype, parameters)
_GL_CXXALIAS_SYS_CAST (func, rettype, parameters); is like _GL_CXXALIAS_SYS (func,...
#define _GL_CXXALIASWARN(func)
_GL_CXXALIASWARN (func); causes a warning to be emitted when ::func is used but not when GNULIB_NAMES...
#define _GL_CXXALIAS_SYS(func, rettype, parameters)
_GL_CXXALIAS_SYS (func, rettype, parameters); declares a C++ alias called GNULIB_NAMESPACE::func that...
#define _GL_FUNCDECL_SYS(func, rettype, parameters_and_attributes)
_GL_FUNCDECL_SYS (func, rettype, parameters_and_attributes); declares the system function,...
#define _GL_WARN_ON_USE(function, message)
A C macro for emitting warnings if a function is used.
#define _GL_UNISTD_INLINE
Native Windows platforms declare chdir, getcwd, rmdir in <io.h> and/or <direct.h>,...