Expand description
The entry of syscall, which will distribute the syscall to the corresponding function
Structs
- A struct to represent a file path, which will be canonicalized
- The process control block
Statics
- Map from process id to arc pointer of process
Functions
- Creates a new, empty directory at the provided path.
- 创建一个链接
- 在完成一次系统调用之后,恢复全局目录
- 若使用多次new file打开同名文件,那么不同new file之间读写指针不共享,但是修改的内容是共享的
- To print a string
- To read a file with the given path
- 释放所有非内核进程
- 在当前进程找对应的子进程,并等待子进程结束 若找到了则返回对应的pid 否则返回一个状态
- Write a slice as the entire contents of a file.
- 以进程作为中转调用task的yield
Type Aliases
- Flags for opening a file
- The error of a syscall, which is a
LinuxError
- The result of a syscall