System Calls(2) Index Page

System Calls(2) Index Page


User Commands Section Home Page Subroutines Section
accept accept - accept a connection on a socket
access access - check user's permissions for a file
acct acct - switch process accounting on or off
adjtimex adjtimex - display or set the kernel time variables
afs_syscall afs_syscall, break, gtty, lock, mpx, prof, stty, ulimit -
unimplemented system calls
alarm alarm - set an alarm clock for delivery of a signal
bdflush bdflush - kernel daemon to flush dirty buffers back to
disk.
bind bind - bind a name to a socket
break afs_syscall, break, gtty, lock, mpx, prof, stty, ulimit -
unimplemented system calls
brk brk, sbrk - change data segment size
cacheflush cacheflush - flush contents of instruction and/or data
cache
chdir chdir, fchdir - change working directory
chmod chmod - change the access permissions of files
chown chown - change the user and group ownership of files
chroot chroot - run command or interactive shell with special
root directory
clone clone - create a child process
close close - close a file descriptor
connect connect - initiate a connection on a socket
creat open, creat - open and possibly create a file or device
create_module create_module - create a loadable module entry
delete_module delete_module - delete a loadable module entry
dup dup, dup2 - duplicate a file descriptor
dup2 dup, dup2 - duplicate a file descriptor
execve execve - execute program
exit _exit - terminate the current process
fchdir chdir, fchdir - change working directory
fchmod chmod, fchmod - change permissions of a file
fchown chown, fchown, lchown - change ownership of a file
fcntl fcntl - manipulate file descriptor
fdatasync fdatasync - synchronize a file's in-core data with that on
disk
flock flock - apply or remove an advisory lock on an open file
fork fork, vfork - create a child process
fstat stat, fstat, lstat - get file status
fstatfs statfs, fstatfs - get file system statistics
fsync fsync - synchronize a file's complete in-core state with
that on disk
ftruncate truncate, ftruncate - truncate a file to a specified
length
getdents getdents - get directory entries
getdomainname getdomainname, setdomainname - get/set domain name
getdtablesize getdtablesize - get descriptor table size
getegid getgid, getegid - get group identity
geteuid getuid, geteuid - get user identity
getgid getgid, getegid - get group identity
getgroups getgroups, setgroups - get/set list of supplementary group
IDs
gethostid gethostid, sethostid - get or set the unique identifier of
the current host
gethostname gethostname, sethostname - get/set host name
getitimer getitimer, setitimer - get or set value of an interval
timer
getpagesize getpagesize - get system page size
getpeername getpeername - get name of connected peer
getpgid setpgid, getpgid, setpgrp, getpgrp - set/get process group
getpgrp setpgid, getpgid, setpgrp, getpgrp - set/get process group
getpid getpid, getppid - get process identification
getppid getpid, getppid - get process identification
getpriority getpriority, setpriority - get/set program scheduling pri-
ority
getresgid getresuid, getresgid - get real, effective and saved user
or group ID
getresuid getresuid, getresgid - get real, effective and saved user
or group ID
getrlimit getrlimit, getrusage, setrlimit - get/set resource limits
and usage
getrusage getrlimit, getrusage, setrlimit - get/set resource limits
and usage
getsid getsid - get session ID
getsockname getsockname - get socket name
getsockopt getsockopt, setsockopt - get and set options on sockets
gettimeofday gettimeofday, settimeofday - get / set time
getuid getuid, geteuid - get user identity
get_kernel_syms get_kernel_syms - retrieve exported kernel and module sym-
bols
gtty afs_syscall, break, gtty, lock, mpx, prof, stty, ulimit -
unimplemented system calls
idle idle - make process 0 idle
init_module init_module - initialize a loadable module entry
intro intro - Introduction to user commands
ioctl ioctl - control device
ioctl_list
ioperm ioperm - set port input/output permissions
iopl iopl - change I/O privilege level
ipc ipc - System V IPC system calls
kill kill - terminate a process
killpg killpg - send signal to a process group
link link - make a new name for a file
listen listen - listen for connections on a socket
llseek _llseek - reposition read/write file offset
lock afs_syscall, break, gtty, lock, mpx, prof, stty, ulimit -
unimplemented system calls
lseek lseek - reposition read/write file offset
lstat stat, fstat, lstat - get file status
mkdir mkdir - make directories
mknod mknod - make special files
mlock mlock - disable paging for some parts of memory
mlockall mlockall - disable paging for calling process
mmap mmap, munmap - map or unmap files or devices into memory
modify_ldt modify_ldt - get or set ldt
mount mount - mount a file system
mprotect mprotect - control allowable accesses to a region of mem-
ory
mpx afs_syscall, break, gtty, lock, mpx, prof, stty, ulimit -
unimplemented system calls
mremap mremap - re-map a virtual memory address
msgctl msgctl - message control operations
msgget msgget - get a message queue identifier
msgop msgop - message operations
msgrcv msgop - message operations
msgsnd msgop - message operations
msync msync - synchronize a file with a memory map
munlock munlock - reenable paging for some parts of memory
munlockall munlockall - reenable paging for calling process
munmap mmap, munmap - map or unmap files or devices into memory
nanosleep nanosleep - pause execution for a specified time
nfsservctl nfsservctl - syscall interface to kernel nfs daemon
nice nice - run a program with modified scheduling priority
obsolete oldfstat, oldlstat, oldstat, oldolduname, olduname - obso-
lete system calls
oldfstat oldfstat, oldlstat, oldstat, oldolduname, olduname - obso-
lete system calls
oldlstat oldfstat, oldlstat, oldstat, oldolduname, olduname - obso-
lete system calls
oldolduname oldfstat, oldlstat, oldstat, oldolduname, olduname - obso-
lete system calls
oldstat oldfstat, oldlstat, oldstat, oldolduname, olduname - obso-
lete system calls
olduname oldfstat, oldlstat, oldstat, oldolduname, olduname - obso-
lete system calls
open open - start a program on a new virtual terminal (VT).
outb outb, outw, outl, outsb, outsw, outsl - port output
inb, inw, inl, insb, insw, insl - port input
outb_p, outw_p, outl_p, inb_p, inw_p, inl_p - paused I/O
pause pause - wait for signal
personality personality - set the process execution domain
phys phys - allow a process to access physical addresses [NOT
IMPLEMENTED]
pipe pipe - create pipe
poll poll - wait for some event on a file descriptor
prctl prctl - operations on a process
prof afs_syscall, break, gtty, lock, mpx, prof, stty, ulimit -
unimplemented system calls
profil profil - execution time profile
ptrace ptrace - process trace
query_module query_module - query the kernel for various bits pertain-
ing to modules.
quotactl quotactl - manipulate disk quotas
read read - read from a file descriptor
readdir readdir - read directory entry
readlink readlink - read value of a symbolic link
readv readv, writev - read or write a vector
reboot halt, reboot, poweroff - stop the system.
recv recv, recvfrom, recvmsg - receive a message from a socket
recvfrom recv, recvfrom, recvmsg - receive a message from a socket
recvmsg recv, recvfrom, recvmsg - receive a message from a socket
rename rename - change the name or location of a file
rmdir rmdir - remove empty directories
sbrk brk, sbrk - change data segment size
sched_getparam sched_setparam, sched_getparam - set and get scheduling
parameters
sched_getscheduler sched_setscheduler, sched_getscheduler - set and get
scheduling algorithm/parameters
sched_get_priority_max sched_get_priority_max, sched_get_priority_min - get
static priority range
sched_get_priority_min sched_get_priority_max, sched_get_priority_min - get
static priority range
sched_rr_get_interval sched_rr_get_interval - get the SCHED_RR interval for the
named process
sched_setparam sched_setparam, sched_getparam - set and get scheduling
parameters
sched_setscheduler sched_setscheduler, sched_getscheduler - set and get
scheduling algorithm/parameters
sched_yield sched_yield - yield the processor
select select, FD_CLR, FD_ISSET, FD_SET, FD_ZERO - synchronous
I/O multiplexing
semctl semctl - semaphore control operations
semget semget - get a semaphore set identifier
semop semop - semaphore operations
send send - send a message
sendmsg send, sendto, sendmsg - send a message from a socket
sendto send, sendto, sendmsg - send a message from a socket
setdomainname getdomainname, setdomainname - get/set domain name
setegid setregid, setegid - set real and / or effective group ID
seteuid setreuid, seteuid - set real and / or effective user ID
setfsgid setfsgid - set group identity used for file system checks
setfsuid setfsuid - set user identity used for file system checks
setgid setgid - set group identity
setgroups getgroups, setgroups - get/set list of supplementary group
IDs
sethostid gethostid, sethostid - get or set the unique identifier of
the current host
sethostname gethostname, sethostname - get/set host name
setitimer getitimer, setitimer - get or set value of an interval
timer
setpgid setpgid, getpgid, setpgrp, getpgrp - set/get process group
setpgrp setpgid, getpgid, setpgrp, getpgrp - set/get process group
setpriority getpriority, setpriority - get/set program scheduling pri-
ority
setregid setregid, setegid - set real and / or effective group ID
setresgid setresuid, setresgid - set real, effective and saved user
or group ID
setresuid setresuid, setresgid - set real, effective and saved user
or group ID
setreuid setreuid, seteuid - set real and / or effective user ID
setrlimit getrlimit, getrusage, setrlimit - get/set resource limits
and usage
setsid setsid - run a program in a new session
setsockopt getsockopt, setsockopt - get and set options on sockets
settimeofday gettimeofday, settimeofday - get / set time
setuid setuid - set user identity
setup setup - setup devices and file systems, mount root file
system
sgetmask signal - ANSI C signal handling
shmat shmop - shared memory operations
shmctl shmctl - shared memory control
shmdt shmop - shared memory operations
shmget shmget - allocates a shared memory segment
shmop shmop - shared memory operations
shutdown shutdown - bring the system down
sigaction sigaction, sigprocmask, sigpending, sigsuspend - POSIX
signal handling functions.
sigblock sigblock, siggetmask, sigsetmask, sigmask - manipulate the
signal mask
siggetmask sigblock, siggetmask, sigsetmask, sigmask - manipulate the
signal mask
sigmask sigblock, siggetmask, sigsetmask, sigmask - manipulate the
signal mask
signal signal - ANSI C signal handling
sigpause sigpause - atomically release blocked signals and wait for
interrupt
sigpending sigaction, sigprocmask, sigpending, sigsuspend - POSIX
signal handling functions.
sigprocmask sigaction, sigprocmask, sigpending, sigsuspend - POSIX
signal handling functions.
sigreturn sigreturn - return from signal handler and cleanup stack
frame
sigsetmask sigblock, siggetmask, sigsetmask, sigmask - manipulate the
signal mask
sigsuspend sigaction, sigprocmask, sigpending, sigsuspend - POSIX
signal handling functions.
sigvec sigvec - BSD software signal facilities
socket socket - create an endpoint for communication
socketcall socketcall - socket system calls
socketpair socketpair - create a pair of connected sockets
ssetmask signal - ANSI C signal handling
stat stat - print inode contents
statfs statfs, fstatfs - get file system statistics
stime stime - set time
stty stty - change and print terminal line settings
swapoff swapon, swapoff - enable/disable devices and files for
paging and swapping
swapon swapon, swapoff - enable/disable devices and files for
paging and swapping
symlink symlink - make a new name for a file
sync sync - commit buffer cache to disk.
sysctl sysctl - read/write system parameters
sysfs sysfs - get file system type information
sysinfo sysinfo - returns information on overall system statistics
syslog syslog - read and/or clear kernel message ring buffer; set
console_loglevel
time time - get time in seconds
times times - get process times
truncate truncate, ftruncate - truncate a file to a specified
length
ulimit afs_syscall, break, gtty, lock, mpx, prof, stty, ulimit -
unimplemented system calls
umask umask - set file creation mask
umount umount - unmount file systems
uname uname - print system information
undocumented none - undocumented system calls
unimplemented afs_syscall, break, gtty, lock, mpx, prof, stty, ulimit -
unimplemented system calls
unlink unlink - delete a name and possibly the file it refers to
uselib uselib - select shared library
ustat ustat - get file system statistics
utime utime, utimes - change access and/or modification times of
an inode
utimes utime, utimes - change access and/or modification times of
an inode
vfork fork, vfork - create a child process
vhangup vhangup - virtually hangup the current tty
vm86 vm86old, vm86 - enter virtual 8086 mode
wait wait, waitpid - wait for process termination
wait3 wait3, wait4 - wait for process termination, BSD style
wait4 wait3, wait4 - wait for process termination, BSD style
waitpid wait, waitpid - wait for process termination
write write - send a message to another user
writev readv, writev - read or write a vector
_exit _exit - terminate the current process
User Commands Section Home Page Subroutines Section