diff options
Diffstat (limited to 'libgloss/ms1/lseek.c')
-rw-r--r-- | libgloss/ms1/lseek.c | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/libgloss/ms1/lseek.c b/libgloss/ms1/lseek.c new file mode 100644 index 000000000..783909104 --- /dev/null +++ b/libgloss/ms1/lseek.c @@ -0,0 +1,14 @@ +#include <_ansi.h> +#include <sys/types.h> +#include <sys/stat.h> +#include <sys/unistd.h> +#include "trap.h" + + +off_t +lseek (int file, + off_t ptr, + int dir) +{ + return TRAP0 (SYS_lseek, file, ptr, dir); +} |