Expand description
Function definitions
Functions§
- clock_
gettime - Get the current system time
- close
- Close a file
- dup
- Copy and transform a file descriptor
- dup2
- Copy and transform a file descriptor
- exit
- Exit the current process
- fchmod
- Change file permissions
- fchown
- Change file ownership
- fcntl
- Change file descriptor flags
- fmap⚠
- Map a file into memory, but with the ability to set the address to map into, either as a hint or as a requirement of the map.
- fpath
- Retrieve the canonical path of a file
- frename
- Rename a file
- fstat
- Get metadata about a file
- fstatvfs
- Get metadata about a filesystem
- fsync
- Sync a file descriptor to its underlying medium
- ftruncate
- Truncate or extend a file to a specified length
- funmap⚠
- Unmap whole (or partial) continous memory-mapped files
- futex⚠
- Fast userspace mutex
- futimens
- getegid
- Get the effective group ID
- getens
- Get the effective namespace
- geteuid
- Get the effective user ID
- getgid
- Get the current group ID
- getns
- Get the current namespace
- getpgid
- Get the process group ID
- getpid
- Get the current process ID
- getppid
- Get the parent process ID
- getuid
- Get the current user ID
- iopl⚠
- Set the I/O privilege level
- kill
- Send a signal
sig
to the process identified bypid
- link⚠
- Create a link to a file
- lseek
- Seek to
offset
bytes in a file descriptor - mkns
- Make a new scheme namespace
- mprotect⚠
- Change mapping flags
- nanosleep
- Sleep for the time specified in
req
- open
- Open a file
- read
- Read from a file descriptor into a buffer
- rmdir
- Remove a directory
- sched_
yield - Yield the process’s time slice to the kernel
- sendfd
- Send a file descriptor
fd
, handled by the scheme providingreceiver_socket
.flags
is currently unused (must be zero), andarg
is included in the scheme call. - setpgid
- Set the process group ID
- setregid
- Set the current process group IDs
- setrens
- Make a new scheme namespace
- setreuid
- Set the current process user IDs
- unlink
- Remove a file
- virttophys⚠
- Convert a virtual address to a physical one
- waitpid
- Check if a child process has exited or received a signal
- write
- Write a buffer to a file descriptor