lseek.c
来自「newos is new operation system」· C语言 代码 · 共 21 行
C
21 行
/*** Copyright 2001, Manuel J. Petit. All rights reserved.** Distributed under the terms of the NewOS License.*/#include <unistd.h>#include <errno.h>#include <sys/syscalls.h>off_tlseek(int fd, off_t pos, int whence){ off_t retval; retval = _kern_seek(fd, pos, whence); if(retval < 0) errno = retval; return retval;}
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?