diff options
Diffstat (limited to 'lib/libc/unistd/lseek.c')
| -rw-r--r-- | lib/libc/unistd/lseek.c | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/lib/libc/unistd/lseek.c b/lib/libc/unistd/lseek.c new file mode 100644 index 00000000..d8b41f88 --- /dev/null +++ b/lib/libc/unistd/lseek.c @@ -0,0 +1,7 @@ +#include <unistd.h> +#include <syscall.h> + +off_t lseek(int fildes, off_t offset, int whence) +{ + return syscall(lseek, fildes, offset, whence); +} |
