summaryrefslogtreecommitdiff
path: root/src/unistd
diff options
context:
space:
mode:
Diffstat (limited to 'src/unistd')
-rw-r--r--src/unistd/_exit.c5
-rw-r--r--src/unistd/access.c5
-rw-r--r--src/unistd/alarm.c5
-rw-r--r--src/unistd/brk.c5
-rw-r--r--src/unistd/chdir.c5
-rw-r--r--src/unistd/chown.c5
-rw-r--r--src/unistd/chroot.c5
-rw-r--r--src/unistd/close.c5
-rw-r--r--src/unistd/confstr.c5
-rw-r--r--src/unistd/crypt.c5
-rw-r--r--src/unistd/ctermid.c5
-rw-r--r--src/unistd/cuserid.c5
-rw-r--r--src/unistd/dup.c5
-rw-r--r--src/unistd/dup2.c5
-rw-r--r--src/unistd/encrypt.c5
-rw-r--r--src/unistd/execl.c5
-rw-r--r--src/unistd/execle.c5
-rw-r--r--src/unistd/execlp.c5
-rw-r--r--src/unistd/execv.c5
-rw-r--r--src/unistd/execve.c5
-rw-r--r--src/unistd/execvp.c5
-rw-r--r--src/unistd/fchdir.c5
-rw-r--r--src/unistd/fchown.c5
-rw-r--r--src/unistd/fdatasync.c5
-rw-r--r--src/unistd/fork.c5
-rw-r--r--src/unistd/fpathconf.c5
-rw-r--r--src/unistd/fsync.c5
-rw-r--r--src/unistd/ftruncate.c5
-rw-r--r--src/unistd/getcwd.c5
-rw-r--r--src/unistd/getdtablesize.c5
-rw-r--r--src/unistd/getegid.c5
-rw-r--r--src/unistd/geteuid.c5
-rw-r--r--src/unistd/getgid.c5
-rw-r--r--src/unistd/getgroups.c5
-rw-r--r--src/unistd/gethostid.c5
-rw-r--r--src/unistd/getlogin.c5
-rw-r--r--src/unistd/getopt.c5
-rw-r--r--src/unistd/getpagesize.c5
-rw-r--r--src/unistd/getpass.c5
-rw-r--r--src/unistd/getpgid.c5
-rw-r--r--src/unistd/getpgrp.c5
-rw-r--r--src/unistd/getpid.c5
-rw-r--r--src/unistd/getppid.c5
-rw-r--r--src/unistd/getsid.c5
-rw-r--r--src/unistd/getuid.c5
-rw-r--r--src/unistd/getwd.c5
-rw-r--r--src/unistd/isatty.c5
-rw-r--r--src/unistd/lchown.c5
-rw-r--r--src/unistd/link.c5
-rw-r--r--src/unistd/lockf.c5
-rw-r--r--src/unistd/lseek.c5
-rw-r--r--src/unistd/nice.c5
-rw-r--r--src/unistd/optarg.c5
-rw-r--r--src/unistd/opterr.c5
-rw-r--r--src/unistd/optind.c5
-rw-r--r--src/unistd/optopt.c5
-rw-r--r--src/unistd/pathconf.c5
-rw-r--r--src/unistd/pause.c5
-rw-r--r--src/unistd/pipe.c5
-rw-r--r--src/unistd/read.c5
-rw-r--r--src/unistd/readlink.c5
-rw-r--r--src/unistd/rmdir.c5
-rw-r--r--src/unistd/sbrk.c5
-rw-r--r--src/unistd/setgid.c5
-rw-r--r--src/unistd/setpgid.c5
-rw-r--r--src/unistd/setpgrp.c5
-rw-r--r--src/unistd/setregid.c5
-rw-r--r--src/unistd/setreuid.c5
-rw-r--r--src/unistd/setsid.c5
-rw-r--r--src/unistd/setuid.c5
-rw-r--r--src/unistd/sleep.c5
-rw-r--r--src/unistd/swab.c5
-rw-r--r--src/unistd/symlink.c5
-rw-r--r--src/unistd/sync.c5
-rw-r--r--src/unistd/sysconf.c5
-rw-r--r--src/unistd/tcgetpgrp.c5
-rw-r--r--src/unistd/tcsetpgrp.c5
-rw-r--r--src/unistd/truncate.c5
-rw-r--r--src/unistd/ttyname.c5
-rw-r--r--src/unistd/ualarm.c5
-rw-r--r--src/unistd/unlink.c5
-rw-r--r--src/unistd/usleep.c5
-rw-r--r--src/unistd/vfork.c5
-rw-r--r--src/unistd/write.c5
84 files changed, 420 insertions, 0 deletions
diff --git a/src/unistd/_exit.c b/src/unistd/_exit.c
index 07a0e53f..c71f4fd9 100644
--- a/src/unistd/_exit.c
+++ b/src/unistd/_exit.c
@@ -1,3 +1,5 @@
+#if 0
+
#include <stddef.h>
#include <sys/types.h>
#include <unistd.h>
@@ -13,3 +15,6 @@ void _exit(int status)
/*
POSIX(1)
*/
+
+
+#endif
diff --git a/src/unistd/access.c b/src/unistd/access.c
index 5f80359d..0cbf81d4 100644
--- a/src/unistd/access.c
+++ b/src/unistd/access.c
@@ -1,3 +1,5 @@
+#if 0
+
#include <stddef.h>
#include <sys/types.h>
#include <unistd.h>
@@ -41,3 +43,6 @@ int access(const char *path, int amode)
/*
POSIX(1)
*/
+
+
+#endif
diff --git a/src/unistd/alarm.c b/src/unistd/alarm.c
index 4137902a..2d2d897a 100644
--- a/src/unistd/alarm.c
+++ b/src/unistd/alarm.c
@@ -1,3 +1,5 @@
+#if 0
+
#include <stddef.h>
#include <sys/types.h>
#include <unistd.h>
@@ -10,3 +12,6 @@ unsigned alarm(unsigned seconds)
/*
POSIX(1)
*/
+
+
+#endif
diff --git a/src/unistd/brk.c b/src/unistd/brk.c
index a836772a..d7652e62 100644
--- a/src/unistd/brk.c
+++ b/src/unistd/brk.c
@@ -1,3 +1,5 @@
+#if 0
+
#include <unistd.h>
int brk(void *addr)
@@ -8,3 +10,6 @@ int brk(void *addr)
/*
XOPEN(400,600)
*/
+
+
+#endif
diff --git a/src/unistd/chdir.c b/src/unistd/chdir.c
index 91ef4a52..df906ae4 100644
--- a/src/unistd/chdir.c
+++ b/src/unistd/chdir.c
@@ -1,3 +1,5 @@
+#if 0
+
#include <stddef.h>
#include <sys/types.h>
#include <unistd.h>
@@ -10,3 +12,6 @@ int chdir(const char *path)
/*
POSIX(1)
*/
+
+
+#endif
diff --git a/src/unistd/chown.c b/src/unistd/chown.c
index 38bd3d32..d39f7663 100644
--- a/src/unistd/chown.c
+++ b/src/unistd/chown.c
@@ -1,3 +1,5 @@
+#if 0
+
#include <sys/types.h>
#include <unistd.h>
#include "_syscall.h"
@@ -9,3 +11,6 @@ int chown(const char *path, uid_t owner, gid_t group)
/*
POSIX(1)
*/
+
+
+#endif
diff --git a/src/unistd/chroot.c b/src/unistd/chroot.c
index 84abaeaa..b9a001af 100644
--- a/src/unistd/chroot.c
+++ b/src/unistd/chroot.c
@@ -1,3 +1,5 @@
+#if 0
+
#include <unistd.h>
int chroot(const char *path)
@@ -8,3 +10,6 @@ int chroot(const char *path)
/*
XOPEN(400,600)
*/
+
+
+#endif
diff --git a/src/unistd/close.c b/src/unistd/close.c
index eb3893f7..d5a9f702 100644
--- a/src/unistd/close.c
+++ b/src/unistd/close.c
@@ -1,3 +1,5 @@
+#if 0
+
#include <sys/types.h>
#include <unistd.h>
#include "_syscall.h"
@@ -9,3 +11,6 @@ int close(int fildes)
/*
POSIX(1)
*/
+
+
+#endif
diff --git a/src/unistd/confstr.c b/src/unistd/confstr.c
index e1f9e17f..99320b6b 100644
--- a/src/unistd/confstr.c
+++ b/src/unistd/confstr.c
@@ -1,3 +1,5 @@
+#if 0
+
#include <sys/types.h>
#include <unistd.h>
#include <errno.h>
@@ -34,3 +36,6 @@ size_t confstr(int name, char *buf, size_t len)
/*
POSIX(2)
*/
+
+
+#endif
diff --git a/src/unistd/crypt.c b/src/unistd/crypt.c
index e1235818..91b01da3 100644
--- a/src/unistd/crypt.c
+++ b/src/unistd/crypt.c
@@ -1,3 +1,5 @@
+#if 0
+
#include <unistd.h>
char * crypt( const char *key, const char *salt)
@@ -8,3 +10,6 @@ char * crypt( const char *key, const char *salt)
/*
XOPEN(4)
*/
+
+
+#endif
diff --git a/src/unistd/ctermid.c b/src/unistd/ctermid.c
index fd87684e..0fb4a510 100644
--- a/src/unistd/ctermid.c
+++ b/src/unistd/ctermid.c
@@ -1,3 +1,5 @@
+#if 0
+
#include <stddef.h>
#include <sys/types.h>
#include <unistd.h>
@@ -20,3 +22,6 @@ char * ctermid(char * s)
/*
POSIX(1)
*/
+
+
+#endif
diff --git a/src/unistd/cuserid.c b/src/unistd/cuserid.c
index a49b56a2..f075c5bf 100644
--- a/src/unistd/cuserid.c
+++ b/src/unistd/cuserid.c
@@ -1,3 +1,5 @@
+#if 0
+
#include <stddef.h>
#include <sys/types.h>
#include <unistd.h>
@@ -28,3 +30,6 @@ char *cuserid(char *s)
TODO: verify
POSIX(1, 199506)
*/
+
+
+#endif
diff --git a/src/unistd/dup.c b/src/unistd/dup.c
index deff2ebf..3de2b1d0 100644
--- a/src/unistd/dup.c
+++ b/src/unistd/dup.c
@@ -1,3 +1,5 @@
+#if 0
+
#include <stddef.h>
#include <sys/types.h>
#include <unistd.h>
@@ -10,3 +12,6 @@ int dup(int fildes)
/*
POSIX(1)
*/
+
+
+#endif
diff --git a/src/unistd/dup2.c b/src/unistd/dup2.c
index 89d0cb8d..e18ff8b1 100644
--- a/src/unistd/dup2.c
+++ b/src/unistd/dup2.c
@@ -1,3 +1,5 @@
+#if 0
+
#include <stddef.h>
#include <sys/types.h>
#include <unistd.h>
@@ -14,3 +16,6 @@ int dup2(int fildes, int fildes2)
/*
POSIX(1)
*/
+
+
+#endif
diff --git a/src/unistd/encrypt.c b/src/unistd/encrypt.c
index 7fa4e7f7..29419657 100644
--- a/src/unistd/encrypt.c
+++ b/src/unistd/encrypt.c
@@ -1,3 +1,5 @@
+#if 0
+
#include <unistd.h>
void encrypt(char block[64], int edflag)
@@ -7,3 +9,6 @@ void encrypt(char block[64], int edflag)
/*
XOPEN(4)
*/
+
+
+#endif
diff --git a/src/unistd/execl.c b/src/unistd/execl.c
index f2b459da..ed50b0c9 100644
--- a/src/unistd/execl.c
+++ b/src/unistd/execl.c
@@ -1,3 +1,5 @@
+#if 0
+
#include <stddef.h>
#include <sys/types.h>
#include <unistd.h>
@@ -22,3 +24,6 @@ int execl(const char *path, const char *arg0, ... /*, (char *)0 */)
/*
POSIX(1)
*/
+
+
+#endif
diff --git a/src/unistd/execle.c b/src/unistd/execle.c
index d9a8dfeb..09881aec 100644
--- a/src/unistd/execle.c
+++ b/src/unistd/execle.c
@@ -1,3 +1,5 @@
+#if 0
+
#include <stddef.h>
#include <sys/types.h>
#include <unistd.h>
@@ -24,3 +26,6 @@ int execle(const char *path, const char *arg0, ... /*, (char *)0, char *const en
/*
POSIX(1)
*/
+
+
+#endif
diff --git a/src/unistd/execlp.c b/src/unistd/execlp.c
index 14a5f868..b8a5b4d4 100644
--- a/src/unistd/execlp.c
+++ b/src/unistd/execlp.c
@@ -1,3 +1,5 @@
+#if 0
+
#include <stddef.h>
#include <sys/types.h>
#include <unistd.h>
@@ -22,3 +24,6 @@ int execlp(const char *file, const char *arg0, ... /*, (char *0) */)
/*
POSIX(1)
*/
+
+
+#endif
diff --git a/src/unistd/execv.c b/src/unistd/execv.c
index 5d380b97..3ff81846 100644
--- a/src/unistd/execv.c
+++ b/src/unistd/execv.c
@@ -1,3 +1,5 @@
+#if 0
+
#include <sys/types.h>
#include <unistd.h>
@@ -9,3 +11,6 @@ int execv(const char *path, char *const argv[])
/*
POSIX(1)
*/
+
+
+#endif
diff --git a/src/unistd/execve.c b/src/unistd/execve.c
index de54fa56..97cdea40 100644
--- a/src/unistd/execve.c
+++ b/src/unistd/execve.c
@@ -1,3 +1,5 @@
+#if 0
+
#include <errno.h>
#include <sys/types.h>
#include <unistd.h>
@@ -12,3 +14,6 @@ int execve(const char *path, char *const argv[], char *const envp[])
/*
POSIX(1)
*/
+
+
+#endif
diff --git a/src/unistd/execvp.c b/src/unistd/execvp.c
index 6269f4cd..a7561184 100644
--- a/src/unistd/execvp.c
+++ b/src/unistd/execvp.c
@@ -1,3 +1,5 @@
+#if 0
+
#include <sys/types.h>
#include <unistd.h>
#include <errno.h>
@@ -17,3 +19,6 @@ int execvp(const char *file, char *const argv[])
/*
POSIX(1)
*/
+
+
+#endif
diff --git a/src/unistd/fchdir.c b/src/unistd/fchdir.c
index 433b9a7c..3369aafb 100644
--- a/src/unistd/fchdir.c
+++ b/src/unistd/fchdir.c
@@ -1,3 +1,5 @@
+#if 0
+
#include <unistd.h>
int fchdir(int fildes)
@@ -9,3 +11,6 @@ int fchdir(int fildes)
XOPEN(400)
POSIX(200809)
*/
+
+
+#endif
diff --git a/src/unistd/fchown.c b/src/unistd/fchown.c
index 417def94..00e13458 100644
--- a/src/unistd/fchown.c
+++ b/src/unistd/fchown.c
@@ -1,3 +1,5 @@
+#if 0
+
#include <unistd.h>
int fchown(int fildes, uid_t owner, gid_t group)
@@ -9,3 +11,6 @@ int fchown(int fildes, uid_t owner, gid_t group)
XOPEN(400)
POSIX(200112)
*/
+
+
+#endif
diff --git a/src/unistd/fdatasync.c b/src/unistd/fdatasync.c
index 904c12fe..3791f8f9 100644
--- a/src/unistd/fdatasync.c
+++ b/src/unistd/fdatasync.c
@@ -1,3 +1,5 @@
+#if 0
+
#include <unistd.h>
int fdatasync(int fildes)
@@ -8,3 +10,6 @@ int fdatasync(int fildes)
/*
POSIX(199309)
*/
+
+
+#endif
diff --git a/src/unistd/fork.c b/src/unistd/fork.c
index 53ae4569..99d04c2c 100644
--- a/src/unistd/fork.c
+++ b/src/unistd/fork.c
@@ -1,3 +1,5 @@
+#if 0
+
#include <sys/types.h>
#include "_syscall.h"
@@ -8,3 +10,6 @@ pid_t fork(void)
/*
POSIX(1)
*/
+
+
+#endif
diff --git a/src/unistd/fpathconf.c b/src/unistd/fpathconf.c
index 79106666..bcd84116 100644
--- a/src/unistd/fpathconf.c
+++ b/src/unistd/fpathconf.c
@@ -1,3 +1,5 @@
+#if 0
+
#include <sys/types.h>
#include <unistd.h>
@@ -9,3 +11,6 @@ long fpathconf(int fildes, int name)
/*
POSIX(1)
*/
+
+
+#endif
diff --git a/src/unistd/fsync.c b/src/unistd/fsync.c
index b0dd3820..47c5f1d8 100644
--- a/src/unistd/fsync.c
+++ b/src/unistd/fsync.c
@@ -1,3 +1,5 @@
+#if 0
+
#include <unistd.h>
int fsync(int fildes)
@@ -14,3 +16,6 @@ int fsync(int fildes)
XOPEN(4)
POSIX(199309)
*/
+
+
+#endif
diff --git a/src/unistd/ftruncate.c b/src/unistd/ftruncate.c
index 6723321f..1df42536 100644
--- a/src/unistd/ftruncate.c
+++ b/src/unistd/ftruncate.c
@@ -1,3 +1,5 @@
+#if 0
+
#include <unistd.h>
int ftruncate(int fildes, off_t length)
@@ -14,3 +16,6 @@ int ftruncate(int fildes, off_t length)
XOPEN(400)
POSIX(199309)
*/
+
+
+#endif
diff --git a/src/unistd/getcwd.c b/src/unistd/getcwd.c
index d6e65228..f3fb8757 100644
--- a/src/unistd/getcwd.c
+++ b/src/unistd/getcwd.c
@@ -1,3 +1,5 @@
+#if 0
+
#include <sys/types.h>
#include <unistd.h>
#include "_assert.h"
@@ -11,3 +13,6 @@ char * getcwd(char *buf, size_t size)
/*
POSIX(1)
*/
+
+
+#endif
diff --git a/src/unistd/getdtablesize.c b/src/unistd/getdtablesize.c
index c1fb323d..8fee9d40 100644
--- a/src/unistd/getdtablesize.c
+++ b/src/unistd/getdtablesize.c
@@ -1,3 +1,5 @@
+#if 0
+
#include <unistd.h>
int getdtablesize(void)
@@ -8,3 +10,6 @@ int getdtablesize(void)
/*
XOPEN(400,600)
*/
+
+
+#endif
diff --git a/src/unistd/getegid.c b/src/unistd/getegid.c
index e1e24f0a..86912d12 100644
--- a/src/unistd/getegid.c
+++ b/src/unistd/getegid.c
@@ -1,3 +1,5 @@
+#if 0
+
#include <sys/types.h>
#include "_syscall.h"
@@ -8,3 +10,6 @@ gid_t getegid(void)
/*
POSIX(1)
*/
+
+
+#endif
diff --git a/src/unistd/geteuid.c b/src/unistd/geteuid.c
index d7f3a610..0c9b7be8 100644
--- a/src/unistd/geteuid.c
+++ b/src/unistd/geteuid.c
@@ -1,3 +1,5 @@
+#if 0
+
#include <sys/types.h>
#include "_syscall.h"
@@ -8,3 +10,6 @@ uid_t geteuid(void)
/*
POSIX(1)
*/
+
+
+#endif
diff --git a/src/unistd/getgid.c b/src/unistd/getgid.c
index 217775ac..06043e3c 100644
--- a/src/unistd/getgid.c
+++ b/src/unistd/getgid.c
@@ -1,3 +1,5 @@
+#if 0
+
#include <sys/types.h>
#include "_syscall.h"
@@ -8,3 +10,6 @@ gid_t getgid(void)
/*
POSIX(1)
*/
+
+
+#endif
diff --git a/src/unistd/getgroups.c b/src/unistd/getgroups.c
index f92139f3..30ae81b6 100644
--- a/src/unistd/getgroups.c
+++ b/src/unistd/getgroups.c
@@ -1,3 +1,5 @@
+#if 0
+
#include <sys/types.h>
#include "_syscall.h"
#include "_assert.h"
@@ -12,3 +14,6 @@ int getgroups(int gidsetsize, gid_t grouplist[])
/*
POSIX(1)
*/
+
+
+#endif
diff --git a/src/unistd/gethostid.c b/src/unistd/gethostid.c
index 6a085885..90f81c27 100644
--- a/src/unistd/gethostid.c
+++ b/src/unistd/gethostid.c
@@ -1,3 +1,5 @@
+#if 0
+
#include <unistd.h>
long gethostid(void)
@@ -8,3 +10,6 @@ long gethostid(void)
/*
XOPEN(400)
*/
+
+
+#endif
diff --git a/src/unistd/getlogin.c b/src/unistd/getlogin.c
index 1bed5ee8..e534f829 100644
--- a/src/unistd/getlogin.c
+++ b/src/unistd/getlogin.c
@@ -1,3 +1,5 @@
+#if 0
+
#include <stdlib.h>
char * getlogin(void)
@@ -10,3 +12,6 @@ char * getlogin(void)
/*
POSIX(1)
*/
+
+
+#endif
diff --git a/src/unistd/getopt.c b/src/unistd/getopt.c
index 2f68f647..04348c7b 100644
--- a/src/unistd/getopt.c
+++ b/src/unistd/getopt.c
@@ -1,3 +1,5 @@
+#if 0
+
#include <sys/types.h>
#include <string.h>
#include <stdio.h>
@@ -81,3 +83,6 @@ int getopt(int argc, char * const argv[], const char *optstring)
/*
POSIX(2)
*/
+
+
+#endif
diff --git a/src/unistd/getpagesize.c b/src/unistd/getpagesize.c
index 05d4649c..7ee50077 100644
--- a/src/unistd/getpagesize.c
+++ b/src/unistd/getpagesize.c
@@ -1,3 +1,5 @@
+#if 0
+
#include <unistd.h>
int getpagesize(void)
@@ -8,3 +10,6 @@ int getpagesize(void)
/*
XOPEN(400,600)
*/
+
+
+#endif
diff --git a/src/unistd/getpass.c b/src/unistd/getpass.c
index 5c48e6c8..242c2643 100644
--- a/src/unistd/getpass.c
+++ b/src/unistd/getpass.c
@@ -1,3 +1,5 @@
+#if 0
+
#include <unistd.h>
char *getpass(const char *prompt)
@@ -8,3 +10,6 @@ char *getpass(const char *prompt)
/*
XOPEN(4,600)
*/
+
+
+#endif
diff --git a/src/unistd/getpgid.c b/src/unistd/getpgid.c
index a12421af..b88adfe6 100644
--- a/src/unistd/getpgid.c
+++ b/src/unistd/getpgid.c
@@ -1,3 +1,5 @@
+#if 0
+
#include <unistd.h>
pid_t getpgid(pid_t pid)
@@ -9,3 +11,6 @@ pid_t getpgid(pid_t pid)
XOPEN(400)
POSIX(200809)
*/
+
+
+#endif
diff --git a/src/unistd/getpgrp.c b/src/unistd/getpgrp.c
index 5a325790..f0a047f8 100644
--- a/src/unistd/getpgrp.c
+++ b/src/unistd/getpgrp.c
@@ -1,3 +1,5 @@
+#if 0
+
#include <sys/types.h>
#include "_syscall.h"
@@ -8,3 +10,6 @@ pid_t getpgrp(void)
/*
POSIX(1)
*/
+
+
+#endif
diff --git a/src/unistd/getpid.c b/src/unistd/getpid.c
index a20ef458..4bc681c7 100644
--- a/src/unistd/getpid.c
+++ b/src/unistd/getpid.c
@@ -1,3 +1,5 @@
+#if 0
+
#include <sys/types.h>
#include "_syscall.h"
@@ -8,3 +10,6 @@ pid_t getpid(void)
/*
POSIX(1)
*/
+
+
+#endif
diff --git a/src/unistd/getppid.c b/src/unistd/getppid.c
index 99504aa5..bb109b7e 100644
--- a/src/unistd/getppid.c
+++ b/src/unistd/getppid.c
@@ -1,3 +1,5 @@
+#if 0
+
#include <sys/types.h>
#include "_syscall.h"
@@ -8,3 +10,6 @@ pid_t getppid(void)
/*
POSIX(1)
*/
+
+
+#endif
diff --git a/src/unistd/getsid.c b/src/unistd/getsid.c
index 671b19ec..2cc44328 100644
--- a/src/unistd/getsid.c
+++ b/src/unistd/getsid.c
@@ -1,3 +1,5 @@
+#if 0
+
#include <unistd.h>
pid_t getsid(pid_t pid)
@@ -9,3 +11,6 @@ pid_t getsid(pid_t pid)
XOPEN(400)
POSIX(200809)
*/
+
+
+#endif
diff --git a/src/unistd/getuid.c b/src/unistd/getuid.c
index bf646dd6..9ca2150c 100644
--- a/src/unistd/getuid.c
+++ b/src/unistd/getuid.c
@@ -1,3 +1,5 @@
+#if 0
+
#include <sys/types.h>
#include "_syscall.h"
@@ -8,3 +10,6 @@ uid_t getuid(void)
/*
POSIX(1)
*/
+
+
+#endif
diff --git a/src/unistd/getwd.c b/src/unistd/getwd.c
index 2d8b68a7..819f87f7 100644
--- a/src/unistd/getwd.c
+++ b/src/unistd/getwd.c
@@ -1,3 +1,5 @@
+#if 0
+
#include <unistd.h>
char *getwd(char *path_name)
@@ -8,3 +10,6 @@ char *getwd(char *path_name)
/*
XOPEN(400,700)
*/
+
+
+#endif
diff --git a/src/unistd/isatty.c b/src/unistd/isatty.c
index f544d8d6..8b8b21c0 100644
--- a/src/unistd/isatty.c
+++ b/src/unistd/isatty.c
@@ -1,3 +1,5 @@
+#if 0
+
#include <sys/types.h>
#include <unistd.h>
#include <termios.h>
@@ -28,3 +30,6 @@ RETURN(ZERO, ARGUMENT(fildes) is not a terminal)
RETURN(ONE, ARGUMENT(fildes) is a terminal device)
POSIX(1)
*/
+
+
+#endif
diff --git a/src/unistd/lchown.c b/src/unistd/lchown.c
index e59adc9a..8ab8876f 100644
--- a/src/unistd/lchown.c
+++ b/src/unistd/lchown.c
@@ -1,3 +1,5 @@
+#if 0
+
#include <unistd.h>
int lchown(const char *path, uid_t owner, gid_t group)
@@ -9,3 +11,6 @@ int lchown(const char *path, uid_t owner, gid_t group)
XOPEN(400)
POSIX(200809)
*/
+
+
+#endif
diff --git a/src/unistd/link.c b/src/unistd/link.c
index dd94f497..16a18006 100644
--- a/src/unistd/link.c
+++ b/src/unistd/link.c
@@ -1,3 +1,5 @@
+#if 0
+
#include <sys/types.h>
#include <unistd.h>
#include "_syscall.h"
@@ -9,3 +11,6 @@ int link(const char *path1, const char *path2)
/*
POSIX(1)
*/
+
+
+#endif
diff --git a/src/unistd/lockf.c b/src/unistd/lockf.c
index 8da34e18..f2a8b968 100644
--- a/src/unistd/lockf.c
+++ b/src/unistd/lockf.c
@@ -1,3 +1,5 @@
+#if 0
+
#include <unistd.h>
int lockf(int fildes, int function, off_t size)
@@ -8,3 +10,6 @@ int lockf(int fildes, int function, off_t size)
/*
XOPEN(400)
*/
+
+
+#endif
diff --git a/src/unistd/lseek.c b/src/unistd/lseek.c
index a5d30931..8f0ee4cd 100644
--- a/src/unistd/lseek.c
+++ b/src/unistd/lseek.c
@@ -1,3 +1,5 @@
+#if 0
+
#include <sys/types.h>
#include <unistd.h>
#include "_syscall.h"
@@ -9,3 +11,6 @@ off_t lseek(int fildes, off_t offset, int whence)
/*
POSIX(1)
*/
+
+
+#endif
diff --git a/src/unistd/nice.c b/src/unistd/nice.c
index b406860c..4b5b8899 100644
--- a/src/unistd/nice.c
+++ b/src/unistd/nice.c
@@ -1,3 +1,5 @@
+#if 0
+
#include <unistd.h>
int nice(int incr)
@@ -8,3 +10,6 @@ int nice(int incr)
/*
XOPEN(4)
*/
+
+
+#endif
diff --git a/src/unistd/optarg.c b/src/unistd/optarg.c
index 07b6c465..45c2ede0 100644
--- a/src/unistd/optarg.c
+++ b/src/unistd/optarg.c
@@ -1,5 +1,10 @@
+#if 0
+
char * optarg;
/*
POSIX(2)
*/
+
+
+#endif
diff --git a/src/unistd/opterr.c b/src/unistd/opterr.c
index 57cc476d..74379f64 100644
--- a/src/unistd/opterr.c
+++ b/src/unistd/opterr.c
@@ -1,5 +1,10 @@
+#if 0
+
int opterr;
/*
POSIX(2)
*/
+
+
+#endif
diff --git a/src/unistd/optind.c b/src/unistd/optind.c
index a3438432..293d6d5f 100644
--- a/src/unistd/optind.c
+++ b/src/unistd/optind.c
@@ -1,5 +1,10 @@
+#if 0
+
int optind;
/*
POSIX(2)
*/
+
+
+#endif
diff --git a/src/unistd/optopt.c b/src/unistd/optopt.c
index cff25ef2..e922508e 100644
--- a/src/unistd/optopt.c
+++ b/src/unistd/optopt.c
@@ -1,5 +1,10 @@
+#if 0
+
int optopt;
/*
POSIX(2)
*/
+
+
+#endif
diff --git a/src/unistd/pathconf.c b/src/unistd/pathconf.c
index c36b6f79..c6bdb2b2 100644
--- a/src/unistd/pathconf.c
+++ b/src/unistd/pathconf.c
@@ -1,3 +1,5 @@
+#if 0
+
#include <sys/types.h>
#include <unistd.h>
@@ -9,3 +11,6 @@ long pathconf(const char *path, int name)
/*
POSIX(1)
*/
+
+
+#endif
diff --git a/src/unistd/pause.c b/src/unistd/pause.c
index b1ece40e..b7dc359b 100644
--- a/src/unistd/pause.c
+++ b/src/unistd/pause.c
@@ -1,3 +1,5 @@
+#if 0
+
#include "_syscall.h"
int pause(void)
@@ -7,3 +9,6 @@ int pause(void)
/*
POSIX(1)
*/
+
+
+#endif
diff --git a/src/unistd/pipe.c b/src/unistd/pipe.c
index df72e548..8c8c5295 100644
--- a/src/unistd/pipe.c
+++ b/src/unistd/pipe.c
@@ -1,3 +1,5 @@
+#if 0
+
#include <sys/types.h>
#include <unistd.h>
#include "_assert.h"
@@ -11,3 +13,6 @@ int pipe(int fildes[2])
/*
POSIX(1)
*/
+
+
+#endif
diff --git a/src/unistd/read.c b/src/unistd/read.c
index bb48e4f3..660bc274 100644
--- a/src/unistd/read.c
+++ b/src/unistd/read.c
@@ -1,3 +1,5 @@
+#if 0
+
#include <sys/types.h>
#include "_syscall.h"
@@ -8,3 +10,6 @@ ssize_t read(int fildes, void *buf, size_t nbyte)
/*
POSIX(1)
*/
+
+
+#endif
diff --git a/src/unistd/readlink.c b/src/unistd/readlink.c
index 42d5e082..b1e4d090 100644
--- a/src/unistd/readlink.c
+++ b/src/unistd/readlink.c
@@ -1,3 +1,5 @@
+#if 0
+
#include <unistd.h>
ssize_t readlink(const char * restrict path, char * restrict buf, size_t bufsize)
@@ -9,3 +11,6 @@ ssize_t readlink(const char * restrict path, char * restrict buf, size_t bufsize
XOPEN(400)
POSIX(200112)
*/
+
+
+#endif
diff --git a/src/unistd/rmdir.c b/src/unistd/rmdir.c
index c2137acd..e9bfb849 100644
--- a/src/unistd/rmdir.c
+++ b/src/unistd/rmdir.c
@@ -1,3 +1,5 @@
+#if 0
+
#include "_syscall.h"
int rmdir(const char *path)
@@ -7,3 +9,6 @@ int rmdir(const char *path)
/*
POSIX(1)
*/
+
+
+#endif
diff --git a/src/unistd/sbrk.c b/src/unistd/sbrk.c
index 69f88cf2..e11a8867 100644
--- a/src/unistd/sbrk.c
+++ b/src/unistd/sbrk.c
@@ -1,3 +1,5 @@
+#if 0
+
#include <unistd.h>
void *sbrk(int incr)
@@ -8,3 +10,6 @@ void *sbrk(int incr)
/*
XOPEN(400,600)
*/
+
+
+#endif
diff --git a/src/unistd/setgid.c b/src/unistd/setgid.c
index 0cc74a2e..8ce2192f 100644
--- a/src/unistd/setgid.c
+++ b/src/unistd/setgid.c
@@ -1,3 +1,5 @@
+#if 0
+
#include <sys/types.h>
#include "_syscall.h"
@@ -8,3 +10,6 @@ int setgid(gid_t gid)
/*
POSIX(1)
*/
+
+
+#endif
diff --git a/src/unistd/setpgid.c b/src/unistd/setpgid.c
index 681af1bb..622f03f8 100644
--- a/src/unistd/setpgid.c
+++ b/src/unistd/setpgid.c
@@ -1,3 +1,5 @@
+#if 0
+
#include <sys/types.h>
#include "_syscall.h"
@@ -8,3 +10,6 @@ int setpgid(pid_t pid, pid_t pgid)
/*
POSIX(1)
*/
+
+
+#endif
diff --git a/src/unistd/setpgrp.c b/src/unistd/setpgrp.c
index c36d78b4..06f0e452 100644
--- a/src/unistd/setpgrp.c
+++ b/src/unistd/setpgrp.c
@@ -1,3 +1,5 @@
+#if 0
+
#include <unistd.h>
pid_t setpgrp(void)
@@ -8,3 +10,6 @@ pid_t setpgrp(void)
/*
XOPEN(400)
*/
+
+
+#endif
diff --git a/src/unistd/setregid.c b/src/unistd/setregid.c
index bdd92f92..cabcc24c 100644
--- a/src/unistd/setregid.c
+++ b/src/unistd/setregid.c
@@ -1,3 +1,5 @@
+#if 0
+
#include <unistd.h>
int setregid(gid_t rgid, gid_t egid)
@@ -8,3 +10,6 @@ int setregid(gid_t rgid, gid_t egid)
/*
XOPEN(400)
*/
+
+
+#endif
diff --git a/src/unistd/setreuid.c b/src/unistd/setreuid.c
index 97550ec7..b76b8bcc 100644
--- a/src/unistd/setreuid.c
+++ b/src/unistd/setreuid.c
@@ -1,3 +1,5 @@
+#if 0
+
#include <unistd.h>
int setreuid(uid_t ruid, uid_t euid)
@@ -8,3 +10,6 @@ int setreuid(uid_t ruid, uid_t euid)
/*
XOPEN(400)
*/
+
+
+#endif
diff --git a/src/unistd/setsid.c b/src/unistd/setsid.c
index 83edc78e..b061a23a 100644
--- a/src/unistd/setsid.c
+++ b/src/unistd/setsid.c
@@ -1,3 +1,5 @@
+#if 0
+
#include <sys/types.h>
#include "_syscall.h"
@@ -8,3 +10,6 @@ pid_t setsid(void)
/*
POSIX(1)
*/
+
+
+#endif
diff --git a/src/unistd/setuid.c b/src/unistd/setuid.c
index ef104a3e..940a8eab 100644
--- a/src/unistd/setuid.c
+++ b/src/unistd/setuid.c
@@ -1,3 +1,5 @@
+#if 0
+
#include <sys/types.h>
#include "_syscall.h"
@@ -8,3 +10,6 @@ int setuid(uid_t uid)
/*
POSIX(1)
*/
+
+
+#endif
diff --git a/src/unistd/sleep.c b/src/unistd/sleep.c
index e1b38a0b..3cd2996f 100644
--- a/src/unistd/sleep.c
+++ b/src/unistd/sleep.c
@@ -1,3 +1,5 @@
+#if 0
+
#if ((!defined _POSIX_C_SOURCE) || (_POSIX_C_SOURCE < 199309L))
#undef _POSIX_C_SOURCE
#define _POSIX_C_SOURCE 199309L /* force struct timespec */
@@ -22,3 +24,6 @@ unsigned sleep(unsigned seconds)
/*
POSIX(1)
*/
+
+
+#endif
diff --git a/src/unistd/swab.c b/src/unistd/swab.c
index 7b735b1a..2f96e8c6 100644
--- a/src/unistd/swab.c
+++ b/src/unistd/swab.c
@@ -1,3 +1,5 @@
+#if 0
+
#include <unistd.h>
void swab(const void * restrict src, void * restrict dest, ssize_t nbytes)
@@ -7,3 +9,6 @@ void swab(const void * restrict src, void * restrict dest, ssize_t nbytes)
/*
XOPEN(4)
*/
+
+
+#endif
diff --git a/src/unistd/symlink.c b/src/unistd/symlink.c
index d78fb16a..8a7c1584 100644
--- a/src/unistd/symlink.c
+++ b/src/unistd/symlink.c
@@ -1,3 +1,5 @@
+#if 0
+
#include <unistd.h>
int symlink(const char*path1, const char *path2)
@@ -9,3 +11,6 @@ int symlink(const char*path1, const char *path2)
XOPEN(400)
POSIX(200112)
*/
+
+
+#endif
diff --git a/src/unistd/sync.c b/src/unistd/sync.c
index 3f8650e4..dbe23fe9 100644
--- a/src/unistd/sync.c
+++ b/src/unistd/sync.c
@@ -1,3 +1,5 @@
+#if 0
+
#include <unistd.h>
void sync(void)
@@ -7,3 +9,6 @@ void sync(void)
/*
XOPEN(400)
*/
+
+
+#endif
diff --git a/src/unistd/sysconf.c b/src/unistd/sysconf.c
index ae8aa5a3..85141407 100644
--- a/src/unistd/sysconf.c
+++ b/src/unistd/sysconf.c
@@ -1,3 +1,5 @@
+#if 0
+
#include <sys/types.h>
#include <unistd.h>
@@ -8,3 +10,6 @@ long sysconf(int name)
/*
POSIX(1)
*/
+
+
+#endif
diff --git a/src/unistd/tcgetpgrp.c b/src/unistd/tcgetpgrp.c
index f2924d5f..3808bd7f 100644
--- a/src/unistd/tcgetpgrp.c
+++ b/src/unistd/tcgetpgrp.c
@@ -1,3 +1,5 @@
+#if 0
+
#include <sys/types.h>
#include <unistd.h>
#include "termios/_termios.h"
@@ -14,3 +16,6 @@ pid_t tcgetpgrp(int fildes)
/*
POSIX(1)
*/
+
+
+#endif
diff --git a/src/unistd/tcsetpgrp.c b/src/unistd/tcsetpgrp.c
index 6e85e652..dab8b52e 100644
--- a/src/unistd/tcsetpgrp.c
+++ b/src/unistd/tcsetpgrp.c
@@ -1,3 +1,5 @@
+#if 0
+
#include <sys/types.h>
#include <unistd.h>
#include <termios/_termios.h>
@@ -10,3 +12,6 @@ int tcsetpgrp(int fildes, pid_t pgid_id)
/*
POSIX(1)
*/
+
+
+#endif
diff --git a/src/unistd/truncate.c b/src/unistd/truncate.c
index 578a4faf..1ede206b 100644
--- a/src/unistd/truncate.c
+++ b/src/unistd/truncate.c
@@ -1,3 +1,5 @@
+#if 0
+
#include <unistd.h>
int truncate(const char *path, off_t length)
@@ -9,3 +11,6 @@ int truncate(const char *path, off_t length)
XOPEN(400)
POSIX(200809)
*/
+
+
+#endif
diff --git a/src/unistd/ttyname.c b/src/unistd/ttyname.c
index dfb560bc..be66ccc0 100644
--- a/src/unistd/ttyname.c
+++ b/src/unistd/ttyname.c
@@ -1,3 +1,5 @@
+#if 0
+
#include <sys/types.h>
#include <unistd.h>
#include <limits.h>
@@ -28,3 +30,6 @@ char *ttyname(int fildes)
/*
POSIX(1)
*/
+
+
+#endif
diff --git a/src/unistd/ualarm.c b/src/unistd/ualarm.c
index 5db13af6..dacb0eb1 100644
--- a/src/unistd/ualarm.c
+++ b/src/unistd/ualarm.c
@@ -1,3 +1,5 @@
+#if 0
+
#include <unistd.h>
useconds_t ualarm(useconds_t useconds, useconds_t interval)
@@ -7,3 +9,6 @@ useconds_t ualarm(useconds_t useconds, useconds_t interval)
/*
XOPEN(400,700)
*/
+
+
+#endif
diff --git a/src/unistd/unlink.c b/src/unistd/unlink.c
index 11153c5e..64f234bb 100644
--- a/src/unistd/unlink.c
+++ b/src/unistd/unlink.c
@@ -1,3 +1,5 @@
+#if 0
+
#include <sys/types.h>
#include <unistd.h>
#include "_assert.h"
@@ -11,3 +13,6 @@ int unlink(const char *path)
/*
POSIX(1)
*/
+
+
+#endif
diff --git a/src/unistd/usleep.c b/src/unistd/usleep.c
index 947a446f..7f24e043 100644
--- a/src/unistd/usleep.c
+++ b/src/unistd/usleep.c
@@ -1,3 +1,5 @@
+#if 0
+
#include <unistd.h>
int usleep(useconds_t useconds)
@@ -7,3 +9,6 @@ int usleep(useconds_t useconds)
/*
XOPEN(400,700)
*/
+
+
+#endif
diff --git a/src/unistd/vfork.c b/src/unistd/vfork.c
index f0acd5d5..523bb178 100644
--- a/src/unistd/vfork.c
+++ b/src/unistd/vfork.c
@@ -1,3 +1,5 @@
+#if 0
+
#include <unistd.h>
pid_t vfork(void)
@@ -8,3 +10,6 @@ pid_t vfork(void)
/*
XOPEN(400,700)
*/
+
+
+#endif
diff --git a/src/unistd/write.c b/src/unistd/write.c
index d893c288..27a17aca 100644
--- a/src/unistd/write.c
+++ b/src/unistd/write.c
@@ -1,3 +1,5 @@
+#if 0
+
#include <sys/types.h>
#include <unistd.h>
#include "_assert.h"
@@ -13,3 +15,6 @@ ssize_t write(int fildes, const void *buf, size_t nbyte)
/*
POSIX(1)
*/
+
+
+#endif