Welcome to mirror list, hosted at ThFree Co, Russian Federation.

sys_lseek.c « riscv « libgloss - cygwin.com/git/newlib-cygwin.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 8eb8b813110f6442e5cadd5d619081ea5b4dffcd (plain)
1
2
3
4
5
6
7
8
9
10
#include <machine/syscall.h>
#include <sys/types.h>
#include "internal_syscall.h"

/* Set position in a file.  */
off_t
_lseek(int file, off_t ptr, int dir)
{
  return syscall_errno (SYS_lseek, 3, file, ptr, dir, 0, 0, 0);
}