Modules§
- file
- path
- ptr
- signal
- socket
- Wrapper for [
sockaddr
]. Using trait to convert betweenSocketAddr
and [sockaddr
] types. - time
Structs§
Enums§
Functions§
- check_
mounted - check if a path is mounted
- do_exit
- mount_
fat_ fs - Mount a fatfs device
- sys_
arch_ prctl - sys_brk
- sys_
chdir - sys_
clock_ gettime - sys_
clone - sys_
close - sys_dup
- sys_
dup2 - sys_
execve - sys_
exit - sys_
exit_ group - sys_
fcntl - sys_
fork - sys_
fstat - Get file metadata by
fd
and write intostatbuf
. - sys_
fstatat - sys_
futex - sys_
getcwd - sys_
getdents64 - sys_
getegid - sys_
geteuid - sys_
getgid - sys_
getpid - sys_
getppid - sys_
gettid - sys_
gettimeofday - sys_
getuid - sys_
ioctl - The ioctl() system call manipulates the underlying device parameters of special files.
- sys_
kill - sys_
link - sys_
linkat - create a link from new_path to old_path old_path: old file path new_path: new file path flags: link flags return value: return 0 when success, else return -1.
- sys_
lseek - sys_
lstat - Get the metadata of the symbolic link and write into
buf
. - sys_
mkdirat - sys_
mmap - sys_
mount - sys_
mprotect - sys_
munmap - sys_
nanosleep - Sleep some nanoseconds
- sys_
open - Open a file by
filename
and insert it into the file descriptor table. - sys_
openat - Open or create a file. fd: file descriptor filename: file path to be opened or created flags: open flags mode: see man 7 inode return new file descriptor if succeed, or return -1.
- sys_
pipe2 - sys_
read - Read data from the file indicated by
fd
. - sys_
readv - sys_
rt_ sigaction - sys_
rt_ sigpending - sys_
rt_ sigprocmask - sys_
rt_ sigqueueinfo - sys_
rt_ sigreturn - sys_
rt_ sigsuspend - sys_
rt_ sigtimedwait - sys_
rt_ tgsigqueueinfo - sys_
sched_ yield - sys_
set_ tid_ address - To set the clear_child_tid field in the task extended data.
- sys_
sigaltstack - sys_
stat - Get the file metadata by
path
and write intostatbuf
. - sys_
statx - sys_
tgkill - sys_
times - sys_
tkill - sys_
umount2 - sys_
uname - sys_
unlink - sys_
unlinkat - remove link of specific file (can be used to delete file) dir_fd: the directory of link to be removed path: the name of link to be removed flags: can be 0 or AT_REMOVEDIR return 0 when success, else return -1
- sys_
waitpid - sys_
write - Write data to the file indicated by
fd
. - sys_
writev - umount_
fat_ fs - unmount a fatfs device