diff options
Diffstat (limited to 'src/stdio')
| -rw-r--r-- | src/stdio/P_tmpdir.c | 5 | ||||
| -rw-r--r-- | src/stdio/getw.c | 12 | ||||
| -rw-r--r-- | src/stdio/putw.c | 11 | ||||
| -rw-r--r-- | src/stdio/tempnam.c | 10 |
4 files changed, 38 insertions, 0 deletions
diff --git a/src/stdio/P_tmpdir.c b/src/stdio/P_tmpdir.c new file mode 100644 index 00000000..9ff77865 --- /dev/null +++ b/src/stdio/P_tmpdir.c @@ -0,0 +1,5 @@ +#include <stdio.h> +#define P_tmpdir "/tmp" +/* +XOPEN(4) +*/ diff --git a/src/stdio/getw.c b/src/stdio/getw.c new file mode 100644 index 00000000..ec6f97df --- /dev/null +++ b/src/stdio/getw.c @@ -0,0 +1,12 @@ +#include <stdio.h> + +# define _XOPEN_LEGACY 500 + +int getw(FILE *stream) +{ + return 0; +} + +/* +XOPEN(4,600) +*/ diff --git a/src/stdio/putw.c b/src/stdio/putw.c new file mode 100644 index 00000000..8aac6d23 --- /dev/null +++ b/src/stdio/putw.c @@ -0,0 +1,11 @@ +#include <stdio.h> + +# define _XOPEN_LEGACY 500 + +int putw(int w, FILE *stream) +{ +} + +/* +XOPEN(4,600) +*/ diff --git a/src/stdio/tempnam.c b/src/stdio/tempnam.c new file mode 100644 index 00000000..d35dde0d --- /dev/null +++ b/src/stdio/tempnam.c @@ -0,0 +1,10 @@ +#include <stdio.h> + +char * tempnam(const char * dir, const char * pfx) +{ + return NULL; +} + +/* +XOPEN(4) +*/ |
