Searched refs:whence (Results 1 – 6 of 6) sorted by relevance
/DragonOS-0.1.2/user/libs/libc/src/ |
D | unistd.c | 54 off_t lseek(int fd, off_t offset, int whence) in lseek() argument 56 return (off_t)syscall_invoke(SYS_LSEEK, fd, offset, whence, 0, 0, 0, 0, 0); in lseek()
|
D | unistd.h | 41 off_t lseek(int fd, off_t offset, int whence);
|
/DragonOS-0.1.2/docs/userland/libc/apis/api-list/ |
D | unistd.md | 23 ``off_t lseek(int fd,off_t offset,int whence)`` : 调整文件访问位置
|
/DragonOS-0.1.2/kernel/src/syscall/ |
D | syscall.c | 234 int whence = (int)regs->r10; in sys_lseek() local 249 retval = file_ptr->file_ops->lseek(file_ptr, offset, whence); in sys_lseek()
|
/DragonOS-0.1.2/kernel/src/filesystem/procfs/ |
D | procfs.c | 230 static long procfs_lseek(struct vfs_file_t *file_ptr, long offset, long whence) in procfs_lseek() argument 235 switch (whence) in procfs_lseek()
|
/DragonOS-0.1.2/kernel/src/filesystem/fat32/ |
D | fat32.c | 793 long fat32_lseek(struct vfs_file_t *file_ptr, long offset, long whence) in fat32_lseek() argument 798 switch (whence) in fat32_lseek()
|