diff options
| author | Jakob Kaivo <jkk@ung.org> | 2019-02-09 13:27:42 -0500 |
|---|---|---|
| committer | Jakob Kaivo <jkk@ung.org> | 2019-02-09 13:27:42 -0500 |
| commit | c6dc9c00d7bf7eefc50b0f7e26cfdfedd135184e (patch) | |
| tree | 964f3ad733afa368a84caa3a372d88f754ad895b /src | |
| parent | 5c9339593ba663ebf1c898e2bce9b3391bfc22a6 (diff) | |
merge XOPEN identifiers
Diffstat (limited to 'src')
| -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) +*/ |
