diff options
| author | Jakob Kaivo <jkk@ung.org> | 2024-01-31 16:44:28 -0500 |
|---|---|---|
| committer | Jakob Kaivo <jkk@ung.org> | 2024-01-31 16:44:28 -0500 |
| commit | 2bc46bd54cc8cdcd7647461f2d76384266f2a0e4 (patch) | |
| tree | 52b77d68abbe5f971f63d2c82df8e933b831b521 /src/unistd/write.c | |
| parent | a05e8f1436eecb990d68bc1de8ba28721f1f387d (diff) | |
remove unistd
Diffstat (limited to 'src/unistd/write.c')
| -rw-r--r-- | src/unistd/write.c | 20 |
1 files changed, 0 insertions, 20 deletions
diff --git a/src/unistd/write.c b/src/unistd/write.c deleted file mode 100644 index 21eef9ef..00000000 --- a/src/unistd/write.c +++ /dev/null @@ -1,20 +0,0 @@ -#if 0 - -#include <sys/types.h> -#include <unistd.h> -#include "_safety.h" -#include "_syscall.h" - -ssize_t write(int fildes, const void *buf, size_t nbyte) -{ - if (nbyte != 0) { - ASSERT_NONNULL(buf); - } - SYSCALL(write, ssize_t, -1, fildes, buf, nbyte, 0, 0, 0); -} -/* -POSIX(1) -*/ - - -#endif |
