source:
trunk/libs/newlib/src/libgloss/riscv/sys_lseek.c
@
671
Last change on this file since 671 was 444, checked in by , 7 years ago | |
---|---|
File size: 222 bytes |
Line | |
---|---|
1 | #include <machine/syscall.h> |
2 | #include <sys/types.h> |
3 | #include "internal_syscall.h" |
4 | |
5 | /* Set position in a file. */ |
6 | off_t |
7 | _lseek(int file, off_t ptr, int dir) |
8 | { |
9 | return syscall_errno (SYS_lseek, file, ptr, dir, 0, 0, 0); |
10 | } |
Note: See TracBrowser
for help on using the repository browser.