🆕 lseek系统调用

This commit is contained in:
fslongjin
2022-05-03 15:40:23 +08:00
parent f99179014a
commit 2ed8bdcfd2
6 changed files with 120 additions and 10 deletions

7
kernel/common/stdio.h Normal file
View File

@ -0,0 +1,7 @@
#pragma once
#define SEEK_SET 0 /* Seek relative to start-of-file */
#define SEEK_CUR 1 /* Seek relative to current position */
#define SEEK_END 2 /* Seek relative to end-of-file */
#define SEEK_MAX 3