summaryrefslogtreecommitdiff
path: root/lib9/seek.c
diff options
context:
space:
mode:
Diffstat (limited to 'lib9/seek.c')
-rw-r--r--lib9/seek.c9
1 files changed, 9 insertions, 0 deletions
diff --git a/lib9/seek.c b/lib9/seek.c
new file mode 100644
index 00000000..0fb5282a
--- /dev/null
+++ b/lib9/seek.c
@@ -0,0 +1,9 @@
+#include "lib9.h"
+#include <sys/types.h>
+#include <fcntl.h>
+
+vlong
+seek(int fd, vlong where, int from)
+{
+ return lseek(fd, where, from);
+}