diff options
| author | Jakob Kaivo <jkk@ung.org> | 2019-02-10 14:05:57 -0500 |
|---|---|---|
| committer | Jakob Kaivo <jkk@ung.org> | 2019-02-10 14:05:57 -0500 |
| commit | 803354bd8611ca7ff3fa34752aaba4981a4d3ef9 (patch) | |
| tree | 11d841ff3787b4ad4795ff81310635d71622f9e7 /src | |
| parent | e3dabd20f1853ff7c0a597270b943c77c869d44b (diff) | |
add missing symbols
Diffstat (limited to 'src')
| -rw-r--r-- | src/unistd/NULL.ref | 4 | ||||
| -rw-r--r-- | src/unistd/SEEK_CUR.ref | 3 | ||||
| -rw-r--r-- | src/unistd/SEEK_END.ref | 3 | ||||
| -rw-r--r-- | src/unistd/SEEK_SET.ref | 3 | ||||
| -rw-r--r-- | src/unistd/_POSIX2_C_BIND.c | 20 | ||||
| -rw-r--r-- | src/unistd/_SC_2_C_BIND.c | 6 | ||||
| -rw-r--r-- | src/unistd/_SC_2_C_VERSION.c | 6 | ||||
| -rw-r--r-- | src/unistd/gid_t.ref | 3 | ||||
| -rw-r--r-- | src/unistd/off_t.ref | 3 | ||||
| -rw-r--r-- | src/unistd/pid_t.ref | 3 | ||||
| -rw-r--r-- | src/unistd/size_t.ref | 3 | ||||
| -rw-r--r-- | src/unistd/ssize_t.ref | 3 | ||||
| -rw-r--r-- | src/unistd/uid_t.ref | 3 | ||||
| -rw-r--r-- | src/unistd/useconds_t.ref | 3 |
14 files changed, 66 insertions, 0 deletions
diff --git a/src/unistd/NULL.ref b/src/unistd/NULL.ref new file mode 100644 index 00000000..cbab562a --- /dev/null +++ b/src/unistd/NULL.ref @@ -0,0 +1,4 @@ +#include <unistd.h> +REFERENCE(stddef/NULL.c) +POSIX(1) +? diff --git a/src/unistd/SEEK_CUR.ref b/src/unistd/SEEK_CUR.ref new file mode 100644 index 00000000..ff8efcbe --- /dev/null +++ b/src/unistd/SEEK_CUR.ref @@ -0,0 +1,3 @@ +#include <unistd.h> +REFERENCE(stdio/SEEK_CUR.c) +POSIX(1) diff --git a/src/unistd/SEEK_END.ref b/src/unistd/SEEK_END.ref new file mode 100644 index 00000000..b5bbcd5d --- /dev/null +++ b/src/unistd/SEEK_END.ref @@ -0,0 +1,3 @@ +#include <unistd.h> +REFERENCE(stdio/SEEK_END.c) +POSIX(1) diff --git a/src/unistd/SEEK_SET.ref b/src/unistd/SEEK_SET.ref new file mode 100644 index 00000000..97cefe61 --- /dev/null +++ b/src/unistd/SEEK_SET.ref @@ -0,0 +1,3 @@ +#include <unistd.h> +REFERENCE(stdio/SEEK_SET.c) +POSIX(1) diff --git a/src/unistd/_POSIX2_C_BIND.c b/src/unistd/_POSIX2_C_BIND.c new file mode 100644 index 00000000..44c9a0ba --- /dev/null +++ b/src/unistd/_POSIX2_C_BIND.c @@ -0,0 +1,20 @@ +#include <unistd.h> + +#if (defined _POSIX_C_SOURCE) +#if _POSIX_C_SOURCE >= 200809L +#define _POSIX2_C_VERSION (200809L) +#elif _POSIX_C_SOURCE >= 200112L +#define _POSIX2_C_VERSION (200112L) +#elif _POSIX_C_SOURCE >= 199506L +#define _POSIX2_C_VERSION (199506L) +#elif _POSIX_C_SOURCE >= 2 +#define _POSIX2_C_VERSION (199209L) +#else +#undef _POSIX2_C_VERSION +#endif +#endif + +/* +POSIX(2) +*/ + diff --git a/src/unistd/_SC_2_C_BIND.c b/src/unistd/_SC_2_C_BIND.c new file mode 100644 index 00000000..e263ad76 --- /dev/null +++ b/src/unistd/_SC_2_C_BIND.c @@ -0,0 +1,6 @@ +#include <unistd.h> +#define _SC_2_C_BIND 1 +/* +POSIX(2) +*/ + diff --git a/src/unistd/_SC_2_C_VERSION.c b/src/unistd/_SC_2_C_VERSION.c new file mode 100644 index 00000000..3e62cf45 --- /dev/null +++ b/src/unistd/_SC_2_C_VERSION.c @@ -0,0 +1,6 @@ +#include <unistd.h> +#define _SC_2_C_VERSION 1 +/* +POSIX(2) +*/ + diff --git a/src/unistd/gid_t.ref b/src/unistd/gid_t.ref new file mode 100644 index 00000000..b430b83e --- /dev/null +++ b/src/unistd/gid_t.ref @@ -0,0 +1,3 @@ +#include <unistd.h> +REFERENCE(sys/types/gid_t.c) +XOPEN(4) diff --git a/src/unistd/off_t.ref b/src/unistd/off_t.ref new file mode 100644 index 00000000..06379b93 --- /dev/null +++ b/src/unistd/off_t.ref @@ -0,0 +1,3 @@ +#include <unistd.h> +REFERENCE(sys/types/off_t.c) +XOPEN(4) diff --git a/src/unistd/pid_t.ref b/src/unistd/pid_t.ref new file mode 100644 index 00000000..2a90060d --- /dev/null +++ b/src/unistd/pid_t.ref @@ -0,0 +1,3 @@ +#include <unistd.h> +REFERENCE(sys/types/pid_t.c) +XOPEN(4) diff --git a/src/unistd/size_t.ref b/src/unistd/size_t.ref new file mode 100644 index 00000000..6dc5f646 --- /dev/null +++ b/src/unistd/size_t.ref @@ -0,0 +1,3 @@ +#include <unistd.h> +REFERENCE(stddef/size_t.c) +STDC(1) diff --git a/src/unistd/ssize_t.ref b/src/unistd/ssize_t.ref new file mode 100644 index 00000000..556f3642 --- /dev/null +++ b/src/unistd/ssize_t.ref @@ -0,0 +1,3 @@ +#include <unistd.h> +REFERENCE(sys/types/ssize_t.c) +STDC(1) diff --git a/src/unistd/uid_t.ref b/src/unistd/uid_t.ref new file mode 100644 index 00000000..64be3a19 --- /dev/null +++ b/src/unistd/uid_t.ref @@ -0,0 +1,3 @@ +#include <unistd.h> +REFERENCE(sys/types/uid_t.c) +XOPEN(4) diff --git a/src/unistd/useconds_t.ref b/src/unistd/useconds_t.ref new file mode 100644 index 00000000..c3b9940f --- /dev/null +++ b/src/unistd/useconds_t.ref @@ -0,0 +1,3 @@ +#include <unistd.h> +REFERENCE(sys/types/useconds_t.c) +XOPEN(400) |
