diff options
author | Jakob Kaivo <jkk@ung.org> | 2023-11-14 12:12:10 -0500 |
---|---|---|
committer | Jakob Kaivo <jkk@ung.org> | 2023-11-14 12:12:10 -0500 |
commit | 920746cbb5d18d8aef284d3fe71a57cd52509117 (patch) | |
tree | 11b4436a58c077f36b1236f0c702af00c763e3f6 /src/stdio | |
parent | f23336fbc3148105c42eebfa44a22d1164828108 (diff) |
disable all functions; will strategically reenable them as tested
Diffstat (limited to 'src/stdio')
84 files changed, 420 insertions, 0 deletions
diff --git a/src/stdio/__printf.c b/src/stdio/__printf.c index 0429d5bf..c918cac5 100644 --- a/src/stdio/__printf.c +++ b/src/stdio/__printf.c @@ -1,3 +1,5 @@ +#if 0 + #include <sys/types.h> #include <stdio.h> #include <stddef.h> @@ -342,3 +344,6 @@ int (__printf)(struct io_options *opt, const char * format, va_list arg) return nout; } + + +#endif diff --git a/src/stdio/__scanf.c b/src/stdio/__scanf.c index b5700c8e..7451ad4a 100644 --- a/src/stdio/__scanf.c +++ b/src/stdio/__scanf.c @@ -1,3 +1,5 @@ +#if 0 + #include <stdarg.h> #include <stdio.h> #include "_stdio.h" @@ -9,3 +11,6 @@ int __scanf(struct io_options *opt, const char * format, va_list arg) (void)arg; return 0; } + + +#endif diff --git a/src/stdio/__stderr.c b/src/stdio/__stderr.c index 6d1c2529..681398aa 100644 --- a/src/stdio/__stderr.c +++ b/src/stdio/__stderr.c @@ -1,2 +1,7 @@ +#if 0 + #include <stdio.h> FILE *__stderr; + + +#endif diff --git a/src/stdio/__stdin.c b/src/stdio/__stdin.c index 8121ced2..08b6fd5d 100644 --- a/src/stdio/__stdin.c +++ b/src/stdio/__stdin.c @@ -1,2 +1,7 @@ +#if 0 + #include <stdio.h> FILE *__stdin; + + +#endif diff --git a/src/stdio/__stdio.c b/src/stdio/__stdio.c index 116c6ab9..26f57b61 100644 --- a/src/stdio/__stdio.c +++ b/src/stdio/__stdio.c @@ -1,3 +1,8 @@ +#if 0 + #include "_stdio.h" struct __stdio __stdio = { 0 }; + + +#endif diff --git a/src/stdio/__stdout.c b/src/stdio/__stdout.c index c1ff9f76..8cf18d91 100644 --- a/src/stdio/__stdout.c +++ b/src/stdio/__stdout.c @@ -1,2 +1,7 @@ +#if 0 + #include <stdio.h> FILE *__stdout; + + +#endif diff --git a/src/stdio/clearerr.c b/src/stdio/clearerr.c index 44510744..a3196a71 100644 --- a/src/stdio/clearerr.c +++ b/src/stdio/clearerr.c @@ -1,3 +1,5 @@ +#if 0 + #include <stdio.h> #include "_stdio.h" @@ -20,3 +22,6 @@ clears the error and end-of-file indicators of ARGUMENT(stream). /* STDC(1) */ + + +#endif diff --git a/src/stdio/fclose.c b/src/stdio/fclose.c index bf40b5f8..8649c718 100644 --- a/src/stdio/fclose.c +++ b/src/stdio/fclose.c @@ -1,3 +1,5 @@ +#if 0 + #ifndef _POSIX_SOURCE #define _POSIX_SOURCE #define POSIX_FORCED @@ -56,3 +58,6 @@ buffer was automatically allocated, it is freed. /* STDC(1) */ + + +#endif diff --git a/src/stdio/fdopen.c b/src/stdio/fdopen.c index 9f6f8d72..12bb1a10 100644 --- a/src/stdio/fdopen.c +++ b/src/stdio/fdopen.c @@ -1,3 +1,5 @@ +#if 0 + #include <stdio.h> FILE * fdopen(int fildes, const char * mode) @@ -8,3 +10,6 @@ FILE * fdopen(int fildes, const char * mode) /* POSIX(1) */ + + +#endif diff --git a/src/stdio/feof.c b/src/stdio/feof.c index 94531fcf..8e00489c 100644 --- a/src/stdio/feof.c +++ b/src/stdio/feof.c @@ -1,3 +1,5 @@ +#if 0 + #include <stdio.h> #include "_assert.h" #include "_stdio.h" @@ -29,3 +31,6 @@ tests for the end-of-file indicator of ARGUMENT(stream). /* STDC(1) */ + + +#endif diff --git a/src/stdio/ferror.c b/src/stdio/ferror.c index b5a4a085..fb6adf0d 100644 --- a/src/stdio/ferror.c +++ b/src/stdio/ferror.c @@ -1,3 +1,5 @@ +#if 0 + #include <stdio.h> #include "_assert.h" #include "_stdio.h" @@ -21,3 +23,6 @@ tests the error indicator of ARGUMENT(stream). /* STDC(1) */ + + +#endif diff --git a/src/stdio/fflush.c b/src/stdio/fflush.c index 1a237984..8adb0a10 100644 --- a/src/stdio/fflush.c +++ b/src/stdio/fflush.c @@ -1,3 +1,5 @@ +#if 0 + #ifndef _POSIX_SOURCE #define _POSIX_SOURCE #define POSIX_FORCED @@ -61,3 +63,6 @@ UNDEFINED(ARGUMENT(stream) is not an output stream) UNDEFINED(ARGUMENT(stream) is an update stream in which the most recent operation was input) STDC(1) */ + + +#endif diff --git a/src/stdio/fgetc.c b/src/stdio/fgetc.c index a49a3ce8..b3dde1bd 100644 --- a/src/stdio/fgetc.c +++ b/src/stdio/fgetc.c @@ -1,3 +1,5 @@ +#if 0 + #include <stdio.h> #include "_stdio.h" @@ -32,3 +34,6 @@ of ARGUMENT(stream) is advanced. /* STDC(1) */ + + +#endif diff --git a/src/stdio/fgetpos.c b/src/stdio/fgetpos.c index 04241e79..b0b25161 100644 --- a/src/stdio/fgetpos.c +++ b/src/stdio/fgetpos.c @@ -1,3 +1,5 @@ +#if 0 + #include <stdio.h> #include "_stdio.h" @@ -20,3 +22,6 @@ for ARGUMENT(stream) into the TYPEDEF(fpos_t) at ARGUMENT(pos). UNSPECIFIED(The information stored in TYPEDEF(fpos_t)) STDC(1) */ + + +#endif diff --git a/src/stdio/fgets.c b/src/stdio/fgets.c index 558c2fdc..8606fdea 100644 --- a/src/stdio/fgets.c +++ b/src/stdio/fgets.c @@ -1,3 +1,5 @@ +#if 0 + #include <stdio.h> #include "_stdio.h" @@ -53,3 +55,6 @@ If an error occurs, the contents of ARGUMENT(s) are indeterminite. /* STDC(1) */ + + +#endif diff --git a/src/stdio/fileno.c b/src/stdio/fileno.c index 19b89fc8..7a6cbd7c 100644 --- a/src/stdio/fileno.c +++ b/src/stdio/fileno.c @@ -1,3 +1,5 @@ +#if 0 + #include <stdio.h> #include "_stdio.h" #include "_assert.h" @@ -10,3 +12,6 @@ int fileno(FILE * stream) /* POSIX(1) */ + + +#endif diff --git a/src/stdio/flockfile.c b/src/stdio/flockfile.c index d8d5776b..8b3efee5 100644 --- a/src/stdio/flockfile.c +++ b/src/stdio/flockfile.c @@ -1,3 +1,5 @@ +#if 0 + #include <stdio.h> void flockfile(FILE * file) @@ -7,3 +9,6 @@ void flockfile(FILE * file) /* POSIX(199506) */ + + +#endif diff --git a/src/stdio/fopen.c b/src/stdio/fopen.c index 4f85f864..d20015ca 100644 --- a/src/stdio/fopen.c +++ b/src/stdio/fopen.c @@ -1,3 +1,5 @@ +#if 0 + #include <errno.h> #include <stdio.h> #include <stdlib.h> @@ -63,3 +65,6 @@ The error and end-of-file indicators are cleared. /* STDC(1) */ + + +#endif diff --git a/src/stdio/fopen_s.c b/src/stdio/fopen_s.c index 904c3584..708a1fc2 100644 --- a/src/stdio/fopen_s.c +++ b/src/stdio/fopen_s.c @@ -1,3 +1,5 @@ +#if 0 + #include <stdio.h> #include "__stdio.h" #include <string.h> @@ -53,3 +55,6 @@ The error and end-of-file indicators are cleared. /* CEXT1(201112) */ + + +#endif diff --git a/src/stdio/fprintf.c b/src/stdio/fprintf.c index 0e6509f8..668843e0 100644 --- a/src/stdio/fprintf.c +++ b/src/stdio/fprintf.c @@ -1,3 +1,5 @@ +#if 0 + #include <stdarg.h> #include <stdio.h> #include "_stdio.h" @@ -29,3 +31,6 @@ and the variadic arguments is the same as that for FUNCTION(printf). /* STDC(1) */ + + +#endif diff --git a/src/stdio/fprintf_s.c b/src/stdio/fprintf_s.c index 74995abc..1c50f26d 100644 --- a/src/stdio/fprintf_s.c +++ b/src/stdio/fprintf_s.c @@ -1,3 +1,5 @@ +#if 0 + #include <stdio.h> #include <stdarg.h> @@ -29,3 +31,6 @@ of arg(format) and the variadic arguments is the same as that for fn(printf). /* CEXT1(201112) */ + + +#endif diff --git a/src/stdio/fputc.c b/src/stdio/fputc.c index 4a634b77..b551541d 100644 --- a/src/stdio/fputc.c +++ b/src/stdio/fputc.c @@ -1,3 +1,5 @@ +#if 0 + #include <stdio.h> #include "_stdio.h" @@ -33,3 +35,6 @@ RETURN_SUCCESS(ARGUMENT(c)) RETURN_FAILURE(CONSTANT(EOF)) STDC(1) */ + + +#endif diff --git a/src/stdio/fputs.c b/src/stdio/fputs.c index 4f5cea8d..9d6a9c90 100644 --- a/src/stdio/fputs.c +++ b/src/stdio/fputs.c @@ -1,3 +1,5 @@ +#if 0 + #include <stdio.h> #include "_stdio.h" @@ -28,3 +30,6 @@ the terminating CHAR(\0) character. /* STDC(1) */ + + +#endif diff --git a/src/stdio/fread.c b/src/stdio/fread.c index bf8c5fd2..b1b077dd 100644 --- a/src/stdio/fread.c +++ b/src/stdio/fread.c @@ -1,3 +1,5 @@ +#if 0 + #include <stdio.h> #include "_stdio.h" @@ -39,3 +41,6 @@ The file position indicate is advanced by the number of bytes read. /* STDC(1) */ + + +#endif diff --git a/src/stdio/freopen.c b/src/stdio/freopen.c index bb3fe198..cee31692 100644 --- a/src/stdio/freopen.c +++ b/src/stdio/freopen.c @@ -1,3 +1,5 @@ +#if 0 + #ifndef _POSIX_SOURCE #define _POSIX_SOURCE #define POSIX_FORCED @@ -106,3 +108,6 @@ The error and end-of-file indicators are cleared. /* STDC(1) */ + + +#endif diff --git a/src/stdio/freopen_s.c b/src/stdio/freopen_s.c index d6fae14f..e49c7cf1 100644 --- a/src/stdio/freopen_s.c +++ b/src/stdio/freopen_s.c @@ -1,3 +1,5 @@ +#if 0 + #include <stdio.h> #include "__stdio.h" #include <fcntl.h> @@ -34,3 +36,6 @@ The error and end-of-file indicators are cleared. /* CEXT1(201112) */ + + +#endif diff --git a/src/stdio/fscanf.c b/src/stdio/fscanf.c index 81279d46..17d0c038 100644 --- a/src/stdio/fscanf.c +++ b/src/stdio/fscanf.c @@ -1,3 +1,5 @@ +#if 0 + #include <stdarg.h> #include <stdio.h> #include "_stdio.h" @@ -29,3 +31,6 @@ the variadic arguments is the same as that for FUNCTION(scanf). /* STDC(1) */ + + +#endif diff --git a/src/stdio/fscanf_s.c b/src/stdio/fscanf_s.c index 28f292b3..77ca35d0 100644 --- a/src/stdio/fscanf_s.c +++ b/src/stdio/fscanf_s.c @@ -1,3 +1,5 @@ +#if 0 + #include <stdio.h> #include <stdarg.h> @@ -27,3 +29,6 @@ arg(format) at the variadic arguments is the same as that for fn(scanf). /* CEXT1(201112) */ + + +#endif diff --git a/src/stdio/fseek.c b/src/stdio/fseek.c index 42fb0d9f..fb40fa70 100644 --- a/src/stdio/fseek.c +++ b/src/stdio/fseek.c @@ -1,3 +1,5 @@ +#if 0 + #include <stdio.h> /** set the file position indicator **/ @@ -32,3 +34,6 @@ UNDEFINED(Specifying CONSTANT(SEEK_END) for ARGUMENT(whence) on a binary file) UNDEFINED(Specifying a value for ARGUMENT(offset) other than 0 or a previous return value of FUNCTION(ftell) on a text file) STDC(1) */ + + +#endif diff --git a/src/stdio/fsetpos.c b/src/stdio/fsetpos.c index 33c055ea..f56aef48 100644 --- a/src/stdio/fsetpos.c +++ b/src/stdio/fsetpos.c @@ -1,3 +1,5 @@ +#if 0 + #include <stdio.h> /** set the file position indicator **/ @@ -21,3 +23,6 @@ any characters pushed back with FUNCTION(ungetc). /* STDC(1) */ + + +#endif diff --git a/src/stdio/ftell.c b/src/stdio/ftell.c index f1fab68a..521af102 100644 --- a/src/stdio/ftell.c +++ b/src/stdio/ftell.c @@ -1,3 +1,5 @@ +#if 0 + #include <stdio.h> /** get the file position indicator **/ @@ -23,3 +25,6 @@ For binary streams, the indicator is the current byte position. UNSPECIFIED(The meaning of the file position indicator for text streams) STDC(1) */ + + +#endif diff --git a/src/stdio/funlockfile.c b/src/stdio/funlockfile.c index b85f4842..76780b37 100644 --- a/src/stdio/funlockfile.c +++ b/src/stdio/funlockfile.c @@ -1,3 +1,5 @@ +#if 0 + #include <stdio.h> void funlockfile(FILE * file) @@ -7,3 +9,6 @@ void funlockfile(FILE * file) /* POSIX(199506) */ + + +#endif diff --git a/src/stdio/fwrite.c b/src/stdio/fwrite.c index f7fe07f9..724e0c29 100644 --- a/src/stdio/fwrite.c +++ b/src/stdio/fwrite.c @@ -1,3 +1,5 @@ +#if 0 + #include <stdio.h> /** write directly to a file stream **/ @@ -36,3 +38,6 @@ written. /* STDC(1) */ + + +#endif diff --git a/src/stdio/getc.c b/src/stdio/getc.c index f176ef5b..b4b8c854 100644 --- a/src/stdio/getc.c +++ b/src/stdio/getc.c @@ -1,3 +1,5 @@ +#if 0 + #include <stdio.h> /** read a character from a file stream **/ @@ -19,3 +21,6 @@ defined as a macro, it may evaluate ARGUMENT(stream) more than once. /* STDC(1) */ + + +#endif diff --git a/src/stdio/getc_unlocked.c b/src/stdio/getc_unlocked.c index 00228a65..038e2cf0 100644 --- a/src/stdio/getc_unlocked.c +++ b/src/stdio/getc_unlocked.c @@ -1,3 +1,5 @@ +#if 0 + #include <stdio.h> #include "_stdio.h" @@ -28,3 +30,6 @@ int getc_unlocked(FILE * stream) /* POSIX(199506) */ + + +#endif diff --git a/src/stdio/getchar.c b/src/stdio/getchar.c index d09bbdfc..2d229847 100644 --- a/src/stdio/getchar.c +++ b/src/stdio/getchar.c @@ -1,3 +1,5 @@ +#if 0 + #include <stdio.h> /** read a character from stdin **/ @@ -18,3 +20,6 @@ reads the next character from ARGUMENT(stdin). /* STDC(1) */ + + +#endif diff --git a/src/stdio/getchar_unlocked.c b/src/stdio/getchar_unlocked.c index adeeccbd..886d5016 100644 --- a/src/stdio/getchar_unlocked.c +++ b/src/stdio/getchar_unlocked.c @@ -1,3 +1,5 @@ +#if 0 + #include <stdio.h> int getchar_unlocked(void) @@ -8,3 +10,6 @@ int getchar_unlocked(void) /* POSIX(199506) */ + + +#endif diff --git a/src/stdio/gets.c b/src/stdio/gets.c index 09f6ad3a..261417c7 100644 --- a/src/stdio/gets.c +++ b/src/stdio/gets.c @@ -1,3 +1,5 @@ +#if 0 + #include <stdio.h> #include <limits.h> @@ -28,3 +30,6 @@ remain unchanged. /* STDC(1,201112) */ + + +#endif diff --git a/src/stdio/gets_s.c b/src/stdio/gets_s.c index 88434c40..3cbe4d86 100644 --- a/src/stdio/gets_s.c +++ b/src/stdio/gets_s.c @@ -1,3 +1,5 @@ +#if 0 + #include <stdio.h> #include <limits.h> @@ -31,3 +33,6 @@ remain unchanged. /* CEXT1(201112) */ + + +#endif diff --git a/src/stdio/getw.c b/src/stdio/getw.c index ec6f97df..6476781c 100644 --- a/src/stdio/getw.c +++ b/src/stdio/getw.c @@ -1,3 +1,5 @@ +#if 0 + #include <stdio.h> # define _XOPEN_LEGACY 500 @@ -10,3 +12,6 @@ int getw(FILE *stream) /* XOPEN(4,600) */ + + +#endif diff --git a/src/stdio/pclose.c b/src/stdio/pclose.c index a9a89517..1d7a5b19 100644 --- a/src/stdio/pclose.c +++ b/src/stdio/pclose.c @@ -1,3 +1,5 @@ +#if 0 + #include <stdio.h> #include <sys/types.h> #include <sys/wait.h> @@ -21,3 +23,6 @@ int pclose(FILE * stream) POSIX(2) */ + + +#endif diff --git a/src/stdio/perror.c b/src/stdio/perror.c index 788bb4fc..8053a5dc 100644 --- a/src/stdio/perror.c +++ b/src/stdio/perror.c @@ -1,3 +1,5 @@ +#if 0 + #include <errno.h> #include <stdio.h> #include <string.h> @@ -26,3 +28,6 @@ pointed to by ARGUMENT(s), a colon (CHAR(:)), and a space. POSIX_(L_C_MESSAGES) STDC(1) */ + + +#endif diff --git a/src/stdio/popen.c b/src/stdio/popen.c index dd338519..550c8fda 100644 --- a/src/stdio/popen.c +++ b/src/stdio/popen.c @@ -1,3 +1,5 @@ +#if 0 + #include <stdio.h> #include <string.h> #include <errno.h> @@ -70,3 +72,6 @@ FILE * popen(const char * command, const char * mode) POSIX(2) */ + + +#endif diff --git a/src/stdio/printf.c b/src/stdio/printf.c index bc90c766..f28240f4 100644 --- a/src/stdio/printf.c +++ b/src/stdio/printf.c @@ -1,3 +1,5 @@ +#if 0 + #include <stdarg.h> #include <stdio.h> #include "_stdio.h" @@ -106,3 +108,6 @@ UNDEFINED(`Precision with a conversion specifier other than CHAR(d), CHAR(i), CH UNDEFINED(TODO: Using h or l for !(diouxXn) or L for !(eEfgG)) STDC(1) */ + + +#endif diff --git a/src/stdio/printf_s.c b/src/stdio/printf_s.c index ac92ca64..408c9d72 100644 --- a/src/stdio/printf_s.c +++ b/src/stdio/printf_s.c @@ -1,3 +1,5 @@ +#if 0 + #include <stdio.h> #include <stdarg.h> @@ -28,3 +30,6 @@ FIXME: printf format goes here /* CEXT1(201112) */ + + +#endif diff --git a/src/stdio/putc.c b/src/stdio/putc.c index 48e11719..5a0836dd 100644 --- a/src/stdio/putc.c +++ b/src/stdio/putc.c @@ -1,3 +1,5 @@ +#if 0 + #include <stdio.h> /** write a character to a file stream **/ @@ -19,3 +21,6 @@ as a macro, it may evaluate ARGUMENT(stream) more than once. /* STDC(1) */ + + +#endif diff --git a/src/stdio/putc_unlocked.c b/src/stdio/putc_unlocked.c index c6fec42c..4ff4c2e2 100644 --- a/src/stdio/putc_unlocked.c +++ b/src/stdio/putc_unlocked.c @@ -1,3 +1,5 @@ +#if 0 + #include <stdio.h> #include "_stdio.h" #include "_assert.h" @@ -41,3 +43,6 @@ RETURN_SUCCESS(ARGUMENT(c)) RETURN_FAILURE(CONSTANT(EOF)) POSIX(199506) */ + + +#endif diff --git a/src/stdio/putchar.c b/src/stdio/putchar.c index 992d2f1e..d42a0836 100644 --- a/src/stdio/putchar.c +++ b/src/stdio/putchar.c @@ -1,3 +1,5 @@ +#if 0 + #include <stdio.h> /** write a character to stdout **/ @@ -19,3 +21,6 @@ IDENTIFIER(stdout). /* STDC(1) */ + + +#endif diff --git a/src/stdio/putchar_unlocked.c b/src/stdio/putchar_unlocked.c index aecfe4a1..be048b20 100644 --- a/src/stdio/putchar_unlocked.c +++ b/src/stdio/putchar_unlocked.c @@ -1,3 +1,5 @@ +#if 0 + #include <stdio.h> int putchar_unlocked(int c) @@ -8,3 +10,6 @@ int putchar_unlocked(int c) /* POSIX(199506) */ + + +#endif diff --git a/src/stdio/puts.c b/src/stdio/puts.c index 93931216..1e73158c 100644 --- a/src/stdio/puts.c +++ b/src/stdio/puts.c @@ -1,3 +1,5 @@ +#if 0 + #include <stdio.h> #include "_stdio.h" @@ -39,3 +41,6 @@ followed by a newline. The terminated CHAR(\0) is not written. /* STDC(1) */ + + +#endif diff --git a/src/stdio/putw.c b/src/stdio/putw.c index 8aac6d23..19ea92b7 100644 --- a/src/stdio/putw.c +++ b/src/stdio/putw.c @@ -1,3 +1,5 @@ +#if 0 + #include <stdio.h> # define _XOPEN_LEGACY 500 @@ -9,3 +11,6 @@ int putw(int w, FILE *stream) /* XOPEN(4,600) */ + + +#endif diff --git a/src/stdio/remove.c b/src/stdio/remove.c index 39b5a74c..56c678db 100644 --- a/src/stdio/remove.c +++ b/src/stdio/remove.c @@ -1,3 +1,5 @@ +#if 0 + #ifndef _POSIX_SOURCE #define _POSIX_SOURCE #define POSIX_FORCED @@ -36,3 +38,6 @@ open that file will fail unless creating a new file. IMPLEMENTATION(Whether the file is removed if it is open) STDC(1) */ + + +#endif diff --git a/src/stdio/rename.c b/src/stdio/rename.c index ad1be639..3a736287 100644 --- a/src/stdio/rename.c +++ b/src/stdio/rename.c @@ -1,3 +1,5 @@ +#if 0 + #include <errno.h> #include <stdio.h> #include "_syscall.h" @@ -18,3 +20,6 @@ ARGUMENT(new). IMPLEMENTATION(Behavior if ARGUMENT(new) exists prior to THIS() being called) STDC(1) */ + + +#endif diff --git a/src/stdio/rewind.c b/src/stdio/rewind.c index 94694edb..200534fe 100644 --- a/src/stdio/rewind.c +++ b/src/stdio/rewind.c @@ -1,3 +1,5 @@ +#if 0 + #include <stdio.h> /** reset file position indicator **/ @@ -16,3 +18,6 @@ beginning of the file. The error indicator will be cleared. /* STDC(1) */ + + +#endif diff --git a/src/stdio/scanf.c b/src/stdio/scanf.c index 23e82417..b75eb59e 100644 --- a/src/stdio/scanf.c +++ b/src/stdio/scanf.c @@ -1,3 +1,5 @@ +#if 0 + #include <stdarg.h> #include <stdio.h> #include "_stdio.h" @@ -30,3 +32,6 @@ FIXME: scanf format goes here /* STDC(1) */ + + +#endif diff --git a/src/stdio/scanf_s.c b/src/stdio/scanf_s.c index 29a3370b..2d31e597 100644 --- a/src/stdio/scanf_s.c +++ b/src/stdio/scanf_s.c @@ -1,3 +1,5 @@ +#if 0 + #include <stdio.h> #include <stdarg.h> @@ -28,3 +30,6 @@ FIXME: scanf format goes here /* CEXT1(201112) */ + + +#endif diff --git a/src/stdio/setbuf.c b/src/stdio/setbuf.c index 1efa8ea1..ce8ad682 100644 --- a/src/stdio/setbuf.c +++ b/src/stdio/setbuf.c @@ -1,3 +1,5 @@ +#if 0 + #include <stdio.h> /** specify file stream buffer **/ @@ -24,3 +26,6 @@ equivalent of: /* STDC(1) */ + + +#endif diff --git a/src/stdio/setvbuf.c b/src/stdio/setvbuf.c index 2edfdaea..5b143ecd 100644 --- a/src/stdio/setvbuf.c +++ b/src/stdio/setvbuf.c @@ -1,3 +1,5 @@ +#if 0 + #include <errno.h> #include <stdio.h> #include <stdlib.h> @@ -76,3 +78,6 @@ The ARGUMENT(size) argument specifies the size of the buffer. /* STDC(1) */ + + +#endif diff --git a/src/stdio/snprintf.c b/src/stdio/snprintf.c index a6896c8a..9cac9a7f 100644 --- a/src/stdio/snprintf.c +++ b/src/stdio/snprintf.c @@ -1,3 +1,5 @@ +#if 0 + #include <stdio.h> #include <stdarg.h> #include "_stdio.h" @@ -21,3 +23,6 @@ int snprintf(char * restrict s, size_t n, const char * restrict format, ...) /* STDC(199901) */ + + +#endif diff --git a/src/stdio/snprintf_s.c b/src/stdio/snprintf_s.c index 9ed36fcc..7856fd40 100644 --- a/src/stdio/snprintf_s.c +++ b/src/stdio/snprintf_s.c @@ -1,3 +1,5 @@ +#if 0 + #include <stdio.h> int snprintf_s( char * restrict s, rsize_t n, const char * restrict format, ...) @@ -8,3 +10,6 @@ int snprintf_s( char * restrict s, rsize_t n, const char * restrict format, ...) /* CEXT1(201112) */ + + +#endif diff --git a/src/stdio/sprintf.c b/src/stdio/sprintf.c index d6776fe4..cd3fe63b 100644 --- a/src/stdio/sprintf.c +++ b/src/stdio/sprintf.c @@ -1,3 +1,5 @@ +#if 0 + #include <stdarg.h> #include <stdio.h> #include "_stdio.h" @@ -30,3 +32,6 @@ FUNCTION(printf). /* STDC(1) */ + + +#endif diff --git a/src/stdio/sprintf_s.c b/src/stdio/sprintf_s.c index 06e64b1f..dd70f149 100644 --- a/src/stdio/sprintf_s.c +++ b/src/stdio/sprintf_s.c @@ -1,3 +1,5 @@ +#if 0 + #include <stdio.h> #include <stdarg.h> @@ -27,3 +29,6 @@ fn(printf). /* CEXT1(201112) */ + + +#endif diff --git a/src/stdio/sscanf.c b/src/stdio/sscanf.c index e8ccaf9e..520e0669 100644 --- a/src/stdio/sscanf.c +++ b/src/stdio/sscanf.c @@ -1,3 +1,5 @@ +#if 0 + #include <stdarg.h> #include <stdio.h> #include "_stdio.h" @@ -30,3 +32,6 @@ FUNCTION(scanf). /* STDC(1) */ + + +#endif diff --git a/src/stdio/sscanf_s.c b/src/stdio/sscanf_s.c index 5c782458..be9033aa 100644 --- a/src/stdio/sscanf_s.c +++ b/src/stdio/sscanf_s.c @@ -1,3 +1,5 @@ +#if 0 + #include <stdio.h> #include <stdarg.h> @@ -28,3 +30,6 @@ fn(scanf). /* CEXT1(201112) */ + + +#endif diff --git a/src/stdio/tempnam.c b/src/stdio/tempnam.c index d35dde0d..719f94ca 100644 --- a/src/stdio/tempnam.c +++ b/src/stdio/tempnam.c @@ -1,3 +1,5 @@ +#if 0 + #include <stdio.h> char * tempnam(const char * dir, const char * pfx) @@ -8,3 +10,6 @@ char * tempnam(const char * dir, const char * pfx) /* XOPEN(4) */ + + +#endif diff --git a/src/stdio/tmpfile.c b/src/stdio/tmpfile.c index 06662dd7..b7ae0e77 100644 --- a/src/stdio/tmpfile.c +++ b/src/stdio/tmpfile.c @@ -1,3 +1,5 @@ +#if 0 + #include <stdio.h> /** open a temporary file stream **/ @@ -30,3 +32,6 @@ or when the program exits. IMPLEMENTATION(Whether the temporary file is removed if the program terminates abnormally) STDC(1) */ + + +#endif diff --git a/src/stdio/tmpfile_s.c b/src/stdio/tmpfile_s.c index ea846493..84bff0c8 100644 --- a/src/stdio/tmpfile_s.c +++ b/src/stdio/tmpfile_s.c @@ -1,3 +1,5 @@ +#if 0 + #include <stdio.h> /* open a temporary file stream */ @@ -24,3 +26,6 @@ be automatically removed when closed by fn(fclose) or when the program exits. /* CEXT1(201112) */ + + +#endif diff --git a/src/stdio/tmpnam.c b/src/stdio/tmpnam.c index f5e79c55..b4ac6b8e 100644 --- a/src/stdio/tmpnam.c +++ b/src/stdio/tmpnam.c @@ -1,3 +1,5 @@ +#if 0 + #include <stdio.h> /** generate a temporary file name **/ @@ -40,3 +42,6 @@ this array. IMPLEMENTATION(Behavior if THIS() is called more than CONSTANT(TMP_MAX) times) STDC(1) */ + + +#endif diff --git a/src/stdio/tmpnam_s.c b/src/stdio/tmpnam_s.c index 6a20f93d..3f5462a0 100644 --- a/src/stdio/tmpnam_s.c +++ b/src/stdio/tmpnam_s.c @@ -1,3 +1,5 @@ +#if 0 + #include <stdio.h> /** generate a temporary file name **/ @@ -41,3 +43,6 @@ macro(L_tmpnam) characters. The temporary name will be copied to this array. /* CEXT1(201112) */ + + +#endif diff --git a/src/stdio/ungetc.c b/src/stdio/ungetc.c index c34f4d20..a3fc7d0a 100644 --- a/src/stdio/ungetc.c +++ b/src/stdio/ungetc.c @@ -1,3 +1,5 @@ +#if 0 + #include <stdio.h> #include "_stdio.h" @@ -37,3 +39,6 @@ is obsolete in ISO/IEC 9899:1999. /* STDC(1) */ + + +#endif diff --git a/src/stdio/vfprintf.c b/src/stdio/vfprintf.c index db60a8fd..9eea0bed 100644 --- a/src/stdio/vfprintf.c +++ b/src/stdio/vfprintf.c @@ -1,3 +1,5 @@ +#if 0 + #include <stdarg.h> #include <stdio.h> #include "_stdio.h" @@ -29,3 +31,6 @@ responsible for this. /* STDC(1) */ + + +#endif diff --git a/src/stdio/vfprintf_s.c b/src/stdio/vfprintf_s.c index 5c2b4b9d..9de51739 100644 --- a/src/stdio/vfprintf_s.c +++ b/src/stdio/vfprintf_s.c @@ -1,3 +1,5 @@ +#if 0 + #include <stdio.h> #include "__stdio.h" #include <stdarg.h> @@ -31,3 +33,6 @@ responsible for this. /* CEXT1(201112) */ + + +#endif diff --git a/src/stdio/vfscanf.c b/src/stdio/vfscanf.c index 430419a5..271ac15f 100644 --- a/src/stdio/vfscanf.c +++ b/src/stdio/vfscanf.c @@ -1,3 +1,5 @@ +#if 0 + #include <stdio.h> #include "_stdio.h" @@ -14,3 +16,6 @@ int vfscanf(FILE * restrict stream, const char * restrict format, va_list arg) /* STDC(199901) */ + + +#endif diff --git a/src/stdio/vfscanf_s.c b/src/stdio/vfscanf_s.c index 726d9508..7e8008a2 100644 --- a/src/stdio/vfscanf_s.c +++ b/src/stdio/vfscanf_s.c @@ -1,3 +1,5 @@ +#if 0 + #include <stdio.h> int vfscanf_s(FILE * restrict stream, const char * restrict format, va_list arg) @@ -8,3 +10,6 @@ int vfscanf_s(FILE * restrict stream, const char * restrict format, va_list arg) /* CEXT1(201112) */ + + +#endif diff --git a/src/stdio/vprintf.c b/src/stdio/vprintf.c index a27a8d73..9c8bea83 100644 --- a/src/stdio/vprintf.c +++ b/src/stdio/vprintf.c @@ -1,3 +1,5 @@ +#if 0 + #include <stdio.h> #include <stdarg.h> #include "_stdio.h" @@ -27,3 +29,6 @@ responsible for this. /* STDC(1) */ + + +#endif diff --git a/src/stdio/vprintf_s.c b/src/stdio/vprintf_s.c index dd65f66a..4d905bbc 100644 --- a/src/stdio/vprintf_s.c +++ b/src/stdio/vprintf_s.c @@ -1,3 +1,5 @@ +#if 0 + #include <stdio.h> /** write formatted output **/ @@ -26,3 +28,6 @@ responsible for this. /* CEXT1(201112) */ + + +#endif diff --git a/src/stdio/vscanf.c b/src/stdio/vscanf.c index 189ae04f..990a8584 100644 --- a/src/stdio/vscanf.c +++ b/src/stdio/vscanf.c @@ -1,3 +1,5 @@ +#if 0 + #include <stdio.h> int vscanf(const char * restrict format, va_list arg) @@ -8,3 +10,6 @@ int vscanf(const char * restrict format, va_list arg) /* STDC(199901) */ + + +#endif diff --git a/src/stdio/vscanf_s.c b/src/stdio/vscanf_s.c index 7f154f30..02b2941a 100644 --- a/src/stdio/vscanf_s.c +++ b/src/stdio/vscanf_s.c @@ -1,3 +1,5 @@ +#if 0 + #include <stdio.h> int vscanf_s(const char * restrict format, va_list arg) @@ -9,3 +11,6 @@ int vscanf_s(const char * restrict format, va_list arg) /* CEXT1(201112) */ + + +#endif diff --git a/src/stdio/vsnprintf.c b/src/stdio/vsnprintf.c index 92753a90..14636805 100644 --- a/src/stdio/vsnprintf.c +++ b/src/stdio/vsnprintf.c @@ -1,3 +1,5 @@ +#if 0 + #include <stdio.h> #include <stdarg.h> #include "_stdio.h" @@ -16,3 +18,6 @@ int vsnprintf(char * restrict s, size_t n, const char *format, va_list arg) /* STDC(199901) */ + + +#endif diff --git a/src/stdio/vsnprintf_s.c b/src/stdio/vsnprintf_s.c index 3a4a1cce..f1dbdbd1 100644 --- a/src/stdio/vsnprintf_s.c +++ b/src/stdio/vsnprintf_s.c @@ -1,3 +1,5 @@ +#if 0 + #include <stdio.h> #include "_stdio.h" @@ -14,3 +16,6 @@ int vsnprintf_s(char * restrict s, rsize_t n, const char * restrict format, va_l /* CEXT1(201112) */ + + +#endif diff --git a/src/stdio/vsprintf.c b/src/stdio/vsprintf.c index 8ddc4642..1954158a 100644 --- a/src/stdio/vsprintf.c +++ b/src/stdio/vsprintf.c @@ -1,3 +1,5 @@ +#if 0 + #include <stdarg.h> #include <stdio.h> #include "_stdio.h" @@ -29,3 +31,6 @@ responsible for this. /* STDC(1) */ + + +#endif diff --git a/src/stdio/vsprintf_s.c b/src/stdio/vsprintf_s.c index 5179c7e6..002e5366 100644 --- a/src/stdio/vsprintf_s.c +++ b/src/stdio/vsprintf_s.c @@ -1,3 +1,5 @@ +#if 0 + #include <stdio.h> #include <stdarg.h> #include <stdint.h> @@ -27,3 +29,6 @@ responsible for this. /* CEXT1(201112) */ + + +#endif diff --git a/src/stdio/vsscanf.c b/src/stdio/vsscanf.c index dcf40db8..ffda877b 100644 --- a/src/stdio/vsscanf.c +++ b/src/stdio/vsscanf.c @@ -1,3 +1,5 @@ +#if 0 + #include <stdio.h> #include <stdarg.h> #include "_stdio.h" @@ -15,3 +17,6 @@ int vsscanf(const char * restrict s, const char * restrict format, va_list arg) /* STDC(199901) */ + + +#endif diff --git a/src/stdio/vsscanf_s.c b/src/stdio/vsscanf_s.c index 1039a9d5..1e94ef1b 100644 --- a/src/stdio/vsscanf_s.c +++ b/src/stdio/vsscanf_s.c @@ -1,3 +1,5 @@ +#if 0 + #include <stdarg.h> int vsscanf_s(const char * restrict s, const char * restrict format, va_list arg) @@ -8,3 +10,6 @@ int vsscanf_s(const char * restrict s, const char * restrict format, va_list arg /* CEXT1(201112) */ + + +#endif |