Explore tens of thousands of sets crafted by our community.
Common System Calls
25
Flashcards
0/25
select
Allows a program to monitor multiple file descriptors, waiting for one or more of the file descriptors to become 'ready'.
wait
Blocks the calling process until one of its child processes exits or receives a signal.
write
Writes data to a file descriptor from a buffer.
setuid
Sets the effective user ID of the calling process.
mount
Attaches a file system to a specified directory, making it accessible to the process.
getdents
Reads several directory entries from a directory file descriptor.
kill
Sends a signal to a specific process or process group.
chdir
Changes the current working directory of the calling process to the specified path.
read
Attempts to read bytes from a file descriptor into a buffer.
getuid
Returns the user ID of the calling process.
geteuid
Returns the effective user ID of the calling process.
sleep
Suspends the execution of the calling thread for a specified number of seconds.
dup
Duplicates a file descriptor.
ioctl
Provides a device-specific command interface to hardware devices.
exec
Replaces the current process image with a new program image.
fork
Creates a new process by duplicating the calling process.
fork
Creates a new process, which is a copy of the parent process.
umount
Detaches a file system from the directory tree, making it inaccessible to the process.
getpid
Returns the process ID of the calling process.
chmod
Changes the file permissions of a specified file or directory.
exit
Terminates the calling process and returns an exit status to the operating system.
open
Opens a file or device, returning a file descriptor that can be used to access the file.
unlink
Removes a link to a file and possibly the file itself from a file system.
close
Closes a file descriptor, so it no longer refers to any file and may be reused.
pipe
Creates a unidirectional communication channel between two processes.
© Hypatia.Tech. 2024 All rights reserved.