19 @PRAGMA_SYSTEM_HEADER@
23 #if defined __need_FILE || defined __need___FILE || defined _GL_ALREADY_INCLUDING_STDIO_H 32 #@INCLUDE_NEXT@ @NEXT_STDIO_H@ 37 #ifndef _@GUARD_PREFIX@_STDIO_H 39 #define _GL_ALREADY_INCLUDING_STDIO_H 42 #@INCLUDE_NEXT@ @NEXT_STDIO_H@ 44 #undef _GL_ALREADY_INCLUDING_STDIO_H 46 #ifndef _@GUARD_PREFIX@_STDIO_H 47 #define _@GUARD_PREFIX@_STDIO_H 65 #if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 7) 66 # define _GL_ATTRIBUTE_FORMAT(spec) __attribute__ ((__format__ spec)) 68 # define _GL_ATTRIBUTE_FORMAT(spec) 75 #if __GNUC__ > 4 || (__GNUC__ == 4 && __GNUC_MINOR__ >= 4) 76 # define _GL_ATTRIBUTE_FORMAT_PRINTF(formatstring_parameter, first_argument) \ 77 _GL_ATTRIBUTE_FORMAT ((__gnu_printf__, formatstring_parameter, first_argument)) 79 # define _GL_ATTRIBUTE_FORMAT_PRINTF(formatstring_parameter, first_argument) \ 80 _GL_ATTRIBUTE_FORMAT ((__printf__, formatstring_parameter, first_argument)) 87 #if GNULIB_PRINTF_ATTRIBUTE_FLAVOR_GNU 88 # define _GL_ATTRIBUTE_FORMAT_PRINTF_SYSTEM(formatstring_parameter, first_argument) \ 89 _GL_ATTRIBUTE_FORMAT_PRINTF (formatstring_parameter, first_argument) 91 # define _GL_ATTRIBUTE_FORMAT_PRINTF_SYSTEM(formatstring_parameter, first_argument) \ 92 _GL_ATTRIBUTE_FORMAT ((__printf__, formatstring_parameter, first_argument)) 99 #if __GNUC__ > 4 || (__GNUC__ == 4 && __GNUC_MINOR__ >= 4) 100 # define _GL_ATTRIBUTE_FORMAT_SCANF(formatstring_parameter, first_argument) \ 101 _GL_ATTRIBUTE_FORMAT ((__gnu_scanf__, formatstring_parameter, first_argument)) 103 # define _GL_ATTRIBUTE_FORMAT_SCANF(formatstring_parameter, first_argument) \ 104 _GL_ATTRIBUTE_FORMAT ((__scanf__, formatstring_parameter, first_argument)) 111 #define _GL_ATTRIBUTE_FORMAT_SCANF_SYSTEM(formatstring_parameter, first_argument) \ 112 _GL_ATTRIBUTE_FORMAT ((__scanf__, formatstring_parameter, first_argument)) 116 #if (@GNULIB_RENAMEAT@ || defined GNULIB_POSIXCHECK) && (defined __sun || defined __NetBSD__) \ 117 && ! defined __GLIBC__ 124 #if (@GNULIB_PERROR@ || defined GNULIB_POSIXCHECK) \ 125 && ((defined _WIN32 || defined __WIN32__) && ! defined __CYGWIN__) \ 126 && ! defined __GLIBC__ 135 #if (@GNULIB_REMOVE@ || @GNULIB_RENAME@ || defined GNULIB_POSIXCHECK) \ 136 && ((defined _WIN32 || defined __WIN32__) && ! defined __CYGWIN__) \ 137 && ! defined __GLIBC__ 149 #define _GL_STDIO_STRINGIZE(token) #token 150 #define _GL_STDIO_MACROEXPAND_AND_STRINGIZE(token) _GL_STDIO_STRINGIZE(token) 157 #if (defined _GL_EXTERN_INLINE_IN_USE && defined __APPLE__ \ 158 && defined __GNUC__ && defined __STDC__) 159 # undef putc_unlocked 163 # if @REPLACE_DPRINTF@ 164 # if !(defined __cplusplus && defined GNULIB_NAMESPACE) 165 # define dprintf rpl_dprintf 180 #elif defined GNULIB_POSIXCHECK 182 # if HAVE_RAW_DECL_DPRINTF 184 "use gnulib module dprintf for portability");
190 # if @REPLACE_FCLOSE@ 191 # if !(defined __cplusplus && defined GNULIB_NAMESPACE) 192 # define fclose rpl_fclose 200 #elif defined GNULIB_POSIXCHECK 204 "use gnulib module fclose for portable POSIX compliance");
208 # if @REPLACE_FDOPEN@ 209 # if !(defined __cplusplus && defined GNULIB_NAMESPACE) 211 # define fdopen rpl_fdopen 220 #elif defined GNULIB_POSIXCHECK 223 _GL_WARN_ON_USE (fdopen,
"fdopen on native Windows platforms is not POSIX compliant - " 224 "use gnulib module fdopen for portability");
234 # if @REPLACE_FFLUSH@ 235 # if !(defined __cplusplus && defined GNULIB_NAMESPACE) 236 # define fflush rpl_fflush 244 #elif defined GNULIB_POSIXCHECK 248 "use gnulib module fflush for portable POSIX compliance");
252 # if @REPLACE_STDIO_READ_FUNCS@ && @GNULIB_STDIO_H_NONBLOCKING@ 253 # if !(defined __cplusplus && defined GNULIB_NAMESPACE) 255 # define fgetc rpl_fgetc 266 # if @REPLACE_STDIO_READ_FUNCS@ && @GNULIB_STDIO_H_NONBLOCKING@ 267 # if !(defined __cplusplus && defined GNULIB_NAMESPACE) 269 # define fgets rpl_fgets 282 # if !(defined __cplusplus && defined GNULIB_NAMESPACE) 284 # define fopen rpl_fopen 293 #elif defined GNULIB_POSIXCHECK 296 _GL_WARN_ON_USE (fopen,
"fopen on native Windows platforms is not POSIX compliant - " 297 "use gnulib module fopen for portability");
300 #if @GNULIB_FPRINTF_POSIX@ || @GNULIB_FPRINTF@ 301 # if (@GNULIB_FPRINTF_POSIX@ && @REPLACE_FPRINTF@) \ 302 || (@GNULIB_FPRINTF@ && @REPLACE_STDIO_WRITE_FUNCS@ && (@GNULIB_STDIO_H_NONBLOCKING@ || @GNULIB_STDIO_H_SIGPIPE@)) 303 # if !(defined __cplusplus && defined GNULIB_NAMESPACE) 304 # define fprintf rpl_fprintf 306 # define GNULIB_overrides_fprintf 1 307 # if @GNULIB_FPRINTF_POSIX@ || @GNULIB_VFPRINTF_POSIX@ 322 #if !@GNULIB_FPRINTF_POSIX@ && defined GNULIB_POSIXCHECK 323 # if !GNULIB_overrides_fprintf 328 "use gnulib module fprintf-posix for portable " 339 # if @REPLACE_FPURGE@ 340 # if !(defined __cplusplus && defined GNULIB_NAMESPACE) 341 # define fpurge rpl_fpurge 346 # if !@HAVE_DECL_FPURGE@ 352 #elif defined GNULIB_POSIXCHECK 354 # if HAVE_RAW_DECL_FPURGE 356 "use gnulib module fpurge for portability");
361 # if @REPLACE_STDIO_WRITE_FUNCS@ && (@GNULIB_STDIO_H_NONBLOCKING@ || @GNULIB_STDIO_H_SIGPIPE@) 362 # if !(defined __cplusplus && defined GNULIB_NAMESPACE) 364 # define fputc rpl_fputc 375 # if @REPLACE_STDIO_WRITE_FUNCS@ && (@GNULIB_STDIO_H_NONBLOCKING@ || @GNULIB_STDIO_H_SIGPIPE@) 376 # if !(defined __cplusplus && defined GNULIB_NAMESPACE) 378 # define fputs rpl_fputs 390 # if @REPLACE_STDIO_READ_FUNCS@ && @GNULIB_STDIO_H_NONBLOCKING@ 391 # if !(defined __cplusplus && defined GNULIB_NAMESPACE) 393 # define fread rpl_fread 395 _GL_FUNCDECL_RPL (fread,
size_t, (
void *ptr,
size_t s,
size_t n, FILE *stream)
397 _GL_CXXALIAS_RPL (fread,
size_t, (
void *ptr,
size_t s,
size_t n, FILE *stream));
399 _GL_CXXALIAS_SYS (fread,
size_t, (
void *ptr,
size_t s,
size_t n, FILE *stream));
405 # if @REPLACE_FREOPEN@ 406 # if !(defined __cplusplus && defined GNULIB_NAMESPACE) 408 # define freopen rpl_freopen 411 (
const char *filename,
const char *mode, FILE *stream)
414 (
const char *filename,
const char *mode, FILE *stream));
417 (
const char *filename,
const char *mode, FILE *stream));
420 #elif defined GNULIB_POSIXCHECK 424 "freopen on native Windows platforms is not POSIX compliant - " 425 "use gnulib module freopen for portability");
429 # if @REPLACE_STDIO_READ_FUNCS@ && @GNULIB_STDIO_H_NONBLOCKING@ 430 # if !(defined __cplusplus && defined GNULIB_NAMESPACE) 432 # define fscanf rpl_fscanf 477 # if defined GNULIB_POSIXCHECK && !defined _GL_NO_LARGE_FILES 478 # define _GL_FSEEK_WARN 482 # if !(defined __cplusplus && defined GNULIB_NAMESPACE) 484 # define fseek rpl_fseek 496 # if !@GNULIB_FSEEK@ && !defined _GL_NO_LARGE_FILES 497 # define _GL_FSEEK_WARN 500 # if @REPLACE_FSEEKO@ 503 # if !(defined __cplusplus && defined GNULIB_NAMESPACE) 505 # define fseeko rpl_fseeko 511 # if ! @HAVE_DECL_FSEEKO@ 518 #elif defined GNULIB_POSIXCHECK 519 # define _GL_FSEEK_WARN 522 # if HAVE_RAW_DECL_FSEEKO 524 "use gnulib module fseeko for portability");
528 #ifdef _GL_FSEEK_WARN 529 # undef _GL_FSEEK_WARN 533 "on 32-bit platforms - " 534 "use fseeko function for handling of large files");
541 # if defined GNULIB_POSIXCHECK && !defined _GL_NO_LARGE_FILES 542 # define _GL_FTELL_WARN 546 # if !(defined __cplusplus && defined GNULIB_NAMESPACE) 548 # define ftell rpl_ftell 559 # if !@GNULIB_FTELL@ && !defined _GL_NO_LARGE_FILES 560 # define _GL_FTELL_WARN 563 # if @REPLACE_FTELLO@ 564 # if !(defined __cplusplus && defined GNULIB_NAMESPACE) 566 # define ftello rpl_ftello 571 # if ! @HAVE_DECL_FTELLO@ 577 #elif defined GNULIB_POSIXCHECK 578 # define _GL_FTELL_WARN 581 # if HAVE_RAW_DECL_FTELLO 583 "use gnulib module ftello for portability");
587 #ifdef _GL_FTELL_WARN 588 # undef _GL_FTELL_WARN 592 "on 32-bit platforms - " 593 "use ftello function for handling of large files");
598 # if @REPLACE_STDIO_WRITE_FUNCS@ && (@GNULIB_STDIO_H_NONBLOCKING@ || @GNULIB_STDIO_H_SIGPIPE@) 599 # if !(defined __cplusplus && defined GNULIB_NAMESPACE) 601 # define fwrite rpl_fwrite 604 (
const void *ptr,
size_t s,
size_t n, FILE *stream)
607 (
const void *ptr,
size_t s,
size_t n, FILE *stream));
610 (
const void *ptr,
size_t s,
size_t n, FILE *stream));
617 # if (0 < __USE_FORTIFY_LEVEL \ 618 && __GLIBC__ == 2 && 4 <= __GLIBC_MINOR__ && __GLIBC_MINOR__ <= 15 \ 619 && 3 < __GNUC__ + (4 <= __GNUC_MINOR__) \ 620 && !defined __cplusplus) 622 # undef fwrite_unlocked 623 extern size_t __REDIRECT (rpl_fwrite,
624 (
const void *__restrict,
size_t,
size_t,
627 extern size_t __REDIRECT (rpl_fwrite_unlocked,
628 (
const void *__restrict,
size_t,
size_t,
631 # define fwrite rpl_fwrite 632 # define fwrite_unlocked rpl_fwrite_unlocked 639 # if @REPLACE_STDIO_READ_FUNCS@ && @GNULIB_STDIO_H_NONBLOCKING@ 640 # if !(defined __cplusplus && defined GNULIB_NAMESPACE) 642 # define getc rpl_fgetc 653 # if @REPLACE_STDIO_READ_FUNCS@ && @GNULIB_STDIO_H_NONBLOCKING@ 654 # if !(defined __cplusplus && defined GNULIB_NAMESPACE) 656 # define getchar rpl_getchar 666 #if @GNULIB_GETDELIM@ 673 # if @REPLACE_GETDELIM@ 674 # if !(defined __cplusplus && defined GNULIB_NAMESPACE) 676 # define getdelim rpl_getdelim 679 (
char **lineptr,
size_t *linesize,
int delimiter,
683 (
char **lineptr,
size_t *linesize,
int delimiter,
686 # if !@HAVE_DECL_GETDELIM@ 688 (
char **lineptr,
size_t *linesize,
int delimiter,
693 (
char **lineptr,
size_t *linesize,
int delimiter,
697 #elif defined GNULIB_POSIXCHECK 699 # if HAVE_RAW_DECL_GETDELIM 701 "use gnulib module getdelim for portability");
712 # if @REPLACE_GETLINE@ 713 # if !(defined __cplusplus && defined GNULIB_NAMESPACE) 715 # define getline rpl_getline 718 (
char **lineptr,
size_t *linesize, FILE *stream)
721 (
char **lineptr,
size_t *linesize, FILE *stream));
723 # if !@HAVE_DECL_GETLINE@ 725 (
char **lineptr,
size_t *linesize, FILE *stream)
729 (
char **lineptr,
size_t *linesize, FILE *stream));
731 # if @HAVE_DECL_GETLINE@ 734 #elif defined GNULIB_POSIXCHECK 736 # if HAVE_RAW_DECL_GETLINE 738 "use gnulib module getline for portability");
746 #if HAVE_RAW_DECL_GETS && !defined __cplusplus 750 #if @GNULIB_OBSTACK_PRINTF@ || @GNULIB_OBSTACK_PRINTF_POSIX@ 757 # if @REPLACE_OBSTACK_PRINTF@ 758 # if !(defined __cplusplus && defined GNULIB_NAMESPACE) 759 # define obstack_printf rpl_obstack_printf 762 (
struct obstack *obs,
const char *format, ...)
766 (
struct obstack *obs,
const char *format, ...));
768 # if !@HAVE_DECL_OBSTACK_PRINTF@ 770 (
struct obstack *obs,
const char *format, ...)
775 (
struct obstack *obs,
const char *format, ...));
778 # if @REPLACE_OBSTACK_PRINTF@ 779 # if !(defined __cplusplus && defined GNULIB_NAMESPACE) 780 # define obstack_vprintf rpl_obstack_vprintf 783 (
struct obstack *obs,
const char *format, va_list args)
787 (
struct obstack *obs,
const char *format, va_list args));
789 # if !@HAVE_DECL_OBSTACK_PRINTF@ 791 (
struct obstack *obs,
const char *format, va_list args)
796 (
struct obstack *obs,
const char *format, va_list args));
807 #elif defined GNULIB_POSIXCHECK 809 # if HAVE_RAW_DECL_PCLOSE 811 "use gnulib module pclose for more portability");
819 # if @REPLACE_PERROR@ 820 # if !(defined __cplusplus && defined GNULIB_NAMESPACE) 821 # define perror rpl_perror 829 #elif defined GNULIB_POSIXCHECK 833 "use gnulib module perror for portability");
838 # if !(defined __cplusplus && defined GNULIB_NAMESPACE) 840 # define popen rpl_popen 853 #elif defined GNULIB_POSIXCHECK 855 # if HAVE_RAW_DECL_POPEN 857 "use gnulib module popen or pipe for more portability");
861 #if @GNULIB_PRINTF_POSIX@ || @GNULIB_PRINTF@ 862 # if (@GNULIB_PRINTF_POSIX@ && @REPLACE_PRINTF@) \ 863 || (@GNULIB_PRINTF@ && @REPLACE_STDIO_WRITE_FUNCS@ && (@GNULIB_STDIO_H_NONBLOCKING@ || @GNULIB_STDIO_H_SIGPIPE@)) 864 # if defined __GNUC__ 865 # if !(defined __cplusplus && defined GNULIB_NAMESPACE) 867 # define printf __printf__ 869 # if @GNULIB_PRINTF_POSIX@ || @GNULIB_VFPRINTF_POSIX@ 871 (
const char *format, ...)
872 __asm__ (@ASM_SYMBOL_PREFIX@
878 (
const char *format, ...)
879 __asm__ (@ASM_SYMBOL_PREFIX@
886 # if !(defined __cplusplus && defined GNULIB_NAMESPACE) 887 # define printf rpl_printf 890 (
const char *format, ...)
895 # define GNULIB_overrides_printf 1 901 #if !@GNULIB_PRINTF_POSIX@ && defined GNULIB_POSIXCHECK 902 # if !GNULIB_overrides_printf 907 "use gnulib module printf-posix for portable " 912 # if @REPLACE_STDIO_WRITE_FUNCS@ && (@GNULIB_STDIO_H_NONBLOCKING@ || @GNULIB_STDIO_H_SIGPIPE@) 913 # if !(defined __cplusplus && defined GNULIB_NAMESPACE) 915 # define putc rpl_fputc 926 # if @REPLACE_STDIO_WRITE_FUNCS@ && (@GNULIB_STDIO_H_NONBLOCKING@ || @GNULIB_STDIO_H_SIGPIPE@) 927 # if !(defined __cplusplus && defined GNULIB_NAMESPACE) 929 # define putchar rpl_putchar 940 # if @REPLACE_STDIO_WRITE_FUNCS@ && (@GNULIB_STDIO_H_NONBLOCKING@ || @GNULIB_STDIO_H_SIGPIPE@) 941 # if !(defined __cplusplus && defined GNULIB_NAMESPACE) 943 # define puts rpl_puts 954 # if @REPLACE_REMOVE@ 955 # if !(defined __cplusplus && defined GNULIB_NAMESPACE) 957 # define remove rpl_remove 965 #elif defined GNULIB_POSIXCHECK 968 _GL_WARN_ON_USE (
remove,
"remove cannot handle directories on some platforms - " 969 "use gnulib module remove for more portability");
973 # if @REPLACE_RENAME@ 974 # if !(defined __cplusplus && defined GNULIB_NAMESPACE) 976 # define rename rpl_rename 979 (
const char *old_filename,
const char *new_filename)
982 (
const char *old_filename,
const char *new_filename));
985 (
const char *old_filename,
const char *new_filename));
988 #elif defined GNULIB_POSIXCHECK 992 "use gnulib module rename for more portability");
995 #if @GNULIB_RENAMEAT@ 996 # if @REPLACE_RENAMEAT@ 997 # if !(defined __cplusplus && defined GNULIB_NAMESPACE) 999 # define renameat rpl_renameat 1002 (
int fd1,
char const *file1,
int fd2,
char const *file2)
1005 (
int fd1,
char const *file1,
int fd2,
char const *file2));
1007 # if !@HAVE_RENAMEAT@ 1009 (
int fd1,
char const *file1,
int fd2,
char const *file2)
1013 (
int fd1,
char const *file1,
int fd2,
char const *file2));
1016 #elif defined GNULIB_POSIXCHECK 1018 # if HAVE_RAW_DECL_RENAMEAT 1020 "use gnulib module renameat for portability");
1025 # if @REPLACE_STDIO_READ_FUNCS@ && @GNULIB_STDIO_H_NONBLOCKING@ 1026 # if defined __GNUC__ 1027 # if !(defined __cplusplus && defined GNULIB_NAMESPACE) 1030 # define scanf __scanf__ 1033 (
const char *format, ...)
1034 __asm__ (@ASM_SYMBOL_PREFIX@
1040 # if !(defined __cplusplus && defined GNULIB_NAMESPACE) 1042 # define scanf rpl_scanf 1055 #if @GNULIB_SNPRINTF@ 1056 # if @REPLACE_SNPRINTF@ 1057 # if !(defined __cplusplus && defined GNULIB_NAMESPACE) 1058 # define snprintf rpl_snprintf 1061 (
char *str,
size_t size,
const char *format, ...)
1065 (
char *str,
size_t size,
const char *format, ...));
1067 # if !@HAVE_DECL_SNPRINTF@ 1069 (
char *str,
size_t size,
const char *format, ...)
1074 (
char *str,
size_t size,
const char *format, ...));
1077 #elif defined GNULIB_POSIXCHECK 1079 # if HAVE_RAW_DECL_SNPRINTF 1081 "use gnulib module snprintf for portability");
1094 #if @GNULIB_SPRINTF_POSIX@ 1095 # if @REPLACE_SPRINTF@ 1096 # if !(defined __cplusplus && defined GNULIB_NAMESPACE) 1097 # define sprintf rpl_sprintf 1107 #elif defined GNULIB_POSIXCHECK 1111 "use gnulib module sprintf-posix for portable " 1112 "POSIX compliance");
1115 #if @GNULIB_TMPFILE@ 1116 # if @REPLACE_TMPFILE@ 1117 # if !(defined __cplusplus && defined GNULIB_NAMESPACE) 1118 # define tmpfile rpl_tmpfile 1126 #elif defined GNULIB_POSIXCHECK 1128 # if HAVE_RAW_DECL_TMPFILE 1130 "use gnulib module tmpfile for portability");
1134 #if @GNULIB_VASPRINTF@ 1139 # if @REPLACE_VASPRINTF@ 1140 # if !(defined __cplusplus && defined GNULIB_NAMESPACE) 1141 # define asprintf rpl_asprintf 1144 (
char **result,
const char *format, ...)
1148 (
char **result,
const char *format, ...));
1150 # if !@HAVE_VASPRINTF@ 1152 (
char **result,
const char *format, ...)
1157 (
char **result,
const char *format, ...));
1160 # if @REPLACE_VASPRINTF@ 1161 # if !(defined __cplusplus && defined GNULIB_NAMESPACE) 1162 # define vasprintf rpl_vasprintf 1165 (
char **result,
const char *format, va_list args)
1169 (
char **result,
const char *format, va_list args));
1171 # if !@HAVE_VASPRINTF@ 1173 (
char **result,
const char *format, va_list args)
1178 (
char **result,
const char *format, va_list args));
1183 #if @GNULIB_VDPRINTF@ 1184 # if @REPLACE_VDPRINTF@ 1185 # if !(defined __cplusplus && defined GNULIB_NAMESPACE) 1186 # define vdprintf rpl_vdprintf 1188 _GL_FUNCDECL_RPL (vdprintf,
int, (
int fd,
const char *format, va_list args)
1191 _GL_CXXALIAS_RPL (vdprintf,
int, (
int fd,
const char *format, va_list args));
1193 # if !@HAVE_VDPRINTF@ 1194 _GL_FUNCDECL_SYS (vdprintf,
int, (
int fd,
const char *format, va_list args)
1201 (
int fd,
const char *format, va_list args));
1204 #elif defined GNULIB_POSIXCHECK 1206 # if HAVE_RAW_DECL_VDPRINTF 1208 "use gnulib module vdprintf for portability");
1212 #if @GNULIB_VFPRINTF_POSIX@ || @GNULIB_VFPRINTF@ 1213 # if (@GNULIB_VFPRINTF_POSIX@ && @REPLACE_VFPRINTF@) \ 1214 || (@GNULIB_VFPRINTF@ && @REPLACE_STDIO_WRITE_FUNCS@ && (@GNULIB_STDIO_H_NONBLOCKING@ || @GNULIB_STDIO_H_SIGPIPE@)) 1215 # if !(defined __cplusplus && defined GNULIB_NAMESPACE) 1216 # define vfprintf rpl_vfprintf 1218 # define GNULIB_overrides_vfprintf 1 1219 # if @GNULIB_VFPRINTF_POSIX@ 1220 _GL_FUNCDECL_RPL (vfprintf,
int, (FILE *fp,
const char *format, va_list args)
1224 _GL_FUNCDECL_RPL (vfprintf,
int, (FILE *fp,
const char *format, va_list args)
1228 _GL_CXXALIAS_RPL (vfprintf,
int, (FILE *fp,
const char *format, va_list args));
1234 (FILE *fp,
const char *format, va_list args));
1238 #if !@GNULIB_VFPRINTF_POSIX@ && defined GNULIB_POSIXCHECK 1239 # if !GNULIB_overrides_vfprintf 1243 _GL_WARN_ON_USE (vfprintf,
"vfprintf is not always POSIX compliant - " 1244 "use gnulib module vfprintf-posix for portable " 1245 "POSIX compliance");
1248 #if @GNULIB_VFSCANF@ 1249 # if @REPLACE_STDIO_READ_FUNCS@ && @GNULIB_STDIO_H_NONBLOCKING@ 1250 # if !(defined __cplusplus && defined GNULIB_NAMESPACE) 1252 # define vfscanf rpl_vfscanf 1255 (FILE *stream,
const char *format, va_list args)
1259 (FILE *stream,
const char *format, va_list args));
1262 (FILE *stream,
const char *format, va_list args));
1267 #if @GNULIB_VPRINTF_POSIX@ || @GNULIB_VPRINTF@ 1268 # if (@GNULIB_VPRINTF_POSIX@ && @REPLACE_VPRINTF@) \ 1269 || (@GNULIB_VPRINTF@ && @REPLACE_STDIO_WRITE_FUNCS@ && (@GNULIB_STDIO_H_NONBLOCKING@ || @GNULIB_STDIO_H_SIGPIPE@)) 1270 # if !(defined __cplusplus && defined GNULIB_NAMESPACE) 1271 # define vprintf rpl_vprintf 1273 # define GNULIB_overrides_vprintf 1 1274 # if @GNULIB_VPRINTF_POSIX@ || @GNULIB_VFPRINTF_POSIX@ 1292 #if !@GNULIB_VPRINTF_POSIX@ && defined GNULIB_POSIXCHECK 1293 # if !GNULIB_overrides_vprintf 1298 "use gnulib module vprintf-posix for portable " 1299 "POSIX compliance");
1303 # if @REPLACE_STDIO_READ_FUNCS@ && @GNULIB_STDIO_H_NONBLOCKING@ 1304 # if !(defined __cplusplus && defined GNULIB_NAMESPACE) 1306 # define vscanf rpl_vscanf 1318 #if @GNULIB_VSNPRINTF@ 1319 # if @REPLACE_VSNPRINTF@ 1320 # if !(defined __cplusplus && defined GNULIB_NAMESPACE) 1321 # define vsnprintf rpl_vsnprintf 1324 (
char *str,
size_t size,
const char *format, va_list args)
1328 (
char *str,
size_t size,
const char *format, va_list args));
1330 # if !@HAVE_DECL_VSNPRINTF@ 1332 (
char *str,
size_t size,
const char *format, va_list args)
1337 (
char *str,
size_t size,
const char *format, va_list args));
1340 #elif defined GNULIB_POSIXCHECK 1342 # if HAVE_RAW_DECL_VSNPRINTF 1344 "use gnulib module vsnprintf for portability");
1348 #if @GNULIB_VSPRINTF_POSIX@ 1349 # if @REPLACE_VSPRINTF@ 1350 # if !(defined __cplusplus && defined GNULIB_NAMESPACE) 1351 # define vsprintf rpl_vsprintf 1354 (
char *str,
const char *format, va_list args)
1358 (
char *str,
const char *format, va_list args));
1364 (
char *str,
const char *format, va_list args));
1367 #elif defined GNULIB_POSIXCHECK 1370 _GL_WARN_ON_USE (vsprintf,
"vsprintf is not always POSIX compliant - " 1371 "use gnulib module vsprintf-posix for portable " 1372 "POSIX compliance");
#define _GL_CXXALIAS_SYS_CAST(func, rettype, parameters)
Definition: inet.h:278
int fseeko(FILE *fp, off_t offset, int whence)
Definition: fseeko.c:28
#define _GL_FUNCDECL_SYS(func, rettype, parameters_and_attributes)
Definition: inet.h:168
#define _GL_ATTRIBUTE_FORMAT_SCANF_SYSTEM(formatstring_parameter, first_argument)
Definition: stdio.in.h:111
int fseek(FILE *fp, long offset, int whence)
Definition: fseek.c:26
#define _GL_CXXALIAS_RPL(func, rettype, parameters)
Definition: inet.h:180
#define _GL_ATTRIBUTE_FORMAT_PRINTF_SYSTEM(formatstring_parameter, first_argument)
Definition: stdio.in.h:91
#define _GL_CXXALIASWARN(func)
Definition: inet.h:337
#define _GL_STDIO_MACROEXPAND_AND_STRINGIZE(token)
Definition: stdio.in.h:150
#define fclose
Definition: stdio.h:644
#define fflush
Definition: stdio.h:688
#define _GL_FUNCDECL_RPL_1(rpl_func, rettype, parameters_and_attributes)
Definition: inet.h:158
long ftell(FILE *fp)
Definition: ftell.c:26
off_t ftello(FILE *fp)
Definition: ftello.c:28
#define _GL_CXXALIAS_SYS(func, rettype, parameters)
Definition: inet.h:253
int fpurge(FILE *fp)
Definition: fpurge.c:30
#define _GL_FUNCDECL_RPL(func, rettype, parameters_and_attributes)
Definition: inet.h:156
#define _GL_ATTRIBUTE_FORMAT_PRINTF(formatstring_parameter, first_argument)
Definition: stdio.in.h:79
#define _GL_WARN_ON_USE(function, message)
Definition: inet.h:474
#define _GL_CXXALIAS_RPL_1(func, rpl_func, rettype, parameters)
Definition: inet.h:198