Searched refs:whence (Results 1 - 11 of 11) sorted by relevance

/seL4-camkes-master/projects/musllibc/src/stdio/
H A D__stdio_seek.c3 off_t __stdio_seek(FILE *f, off_t off, int whence) argument
7 if (syscall(SYS__llseek, f->fd, off>>32, off, &ret, whence)<0)
10 ret = syscall(SYS_lseek, f->fd, off, whence);
H A Dfseek.c3 int __fseeko_unlocked(FILE *f, off_t off, int whence) argument
6 if (whence == SEEK_CUR) off -= f->rend - f->rpos;
18 if (f->seek(f, off, whence) < 0) return -1;
27 int __fseeko(FILE *f, off_t off, int whence) argument
31 result = __fseeko_unlocked(f, off, whence);
36 int fseek(FILE *f, long off, int whence) argument
38 return __fseeko(f, off, whence);
H A Dopen_memstream.c15 static off_t ms_seek(FILE *f, off_t off, int whence) argument
19 if (whence>2U) {
24 base = (size_t [3]){0, c->pos, c->len}[whence];
H A Dopen_wmemstream.c17 static off_t wms_seek(FILE *f, off_t off, int whence) argument
21 if (whence>2U) {
26 base = (size_t [3]){0, c->pos, c->len}[whence];
H A Dfmemopen.c12 static off_t mseek(FILE *f, off_t off, int whence) argument
16 if (whence>2U) {
21 base = (size_t [3]){0, c->pos, c->len}[whence];
/seL4-camkes-master/projects/musllibc/src/unistd/
H A Dlseek.c5 off_t lseek(int fd, off_t offset, int whence) argument
9 return syscall(SYS__llseek, fd, offset>>32, offset, &result, whence) ? -1 : result;
11 return syscall(SYS_lseek, fd, offset, whence);
/seL4-camkes-master/projects/global-components/components/FileServer/libFileServer-client/
H A Dfsclient.h20 int64_t (*ext_seek)(int fd, int64_t offset, int whence);
H A Dfsclient.c25 static int64_t (*ext_seek)(int fd, int64_t offset, int whence);
93 int whence = va_arg(ap, int); local
95 return ext_seek(fd, offset, whence);
103 int whence = va_arg(ap, int); local
105 *result = ext_seek(fd, (((uint64_t)offset_high) << 32) | offset_low, whence);
/seL4-camkes-master/projects/global-components/components/FileServer/src/
H A Dserver.c82 int64_t fs_ctrl_seek(int fd, int64_t offset, int whence) { argument
87 return lseek(fd, offset, whence);
/seL4-camkes-master/projects/seL4_libs/libsel4muslcsys/src/
H A Dsys_io.c443 int whence = va_arg(ap, int); local
464 switch (whence) {
505 int whence = va_arg(ap, int); local
513 long ret = syscall(SYS_lseek, fd, (uint32_t)offset_low, (uint32_t)offset_high, whence);
/seL4-camkes-master/tools/riscv-pk/machine/
H A Dmentry.S63 # Go back whence we came.

Completed in 59 milliseconds