summaryrefslogtreecommitdiff
path: root/src/unistd/lseek.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/unistd/lseek.c')
-rw-r--r--src/unistd/lseek.c12
1 files changed, 12 insertions, 0 deletions
diff --git a/src/unistd/lseek.c b/src/unistd/lseek.c
new file mode 100644
index 00000000..86436a9e
--- /dev/null
+++ b/src/unistd/lseek.c
@@ -0,0 +1,12 @@
+#include "stddef.h"
+#include "sys/types.h"
+#include <unistd.h>
+#include "nonstd/syscall.h"
+
+off_t lseek(int fildes, off_t offset, int whence)
+{
+ SC(off_t, fildes, offset, whence);
+}
+/*
+POSIX(1)
+*/