diff options
Diffstat (limited to 'src/stdio/fopen_s.c')
| -rw-r--r-- | src/stdio/fopen_s.c | 14 |
1 files changed, 4 insertions, 10 deletions
diff --git a/src/stdio/fopen_s.c b/src/stdio/fopen_s.c index 708a1fc2..411f6bbf 100644 --- a/src/stdio/fopen_s.c +++ b/src/stdio/fopen_s.c @@ -1,18 +1,15 @@ -#if 0 - #include <stdio.h> -#include "__stdio.h" +#include "_stdio.h" #include <string.h> #include <stdlib.h> -#include <fcntl.h> -#include <unistd.h> /** open a file stream **/ errno_t fopen_s(FILE * restrict * restrict streamptr, const char * restrict filename, - const char * restrict mode); + const char * restrict mode) { - __C_EXT(1, 201112L); + SIGNAL_SAFE(0); + (void)streamptr; (void)filename; (void)mode; return 0; } @@ -55,6 +52,3 @@ The error and end-of-file indicators are cleared. /* CEXT1(201112) */ - - -#endif |
