Manual Pages - Names and Descriptions

Section 2: System Calls

Helios (Sat Nov 21 07:28:15 CST 2009)
Manual pages referenced in /usr/share/man/whatis /usr/local/share/man/whatis

A B C D E F G I K L M N O P Q R S T U V W _


Return to Main Contents

Other sections: 1. User Commands 3. Library Functions 4. Special Files 5. File Formats 6. Games 7. Miscellany 8. Administration and Privileged Commands


A

accept(2)
- accept a connection on a socket
access(2)
- check real user's permissions for a file
acct(2)
- switch process accounting on or off
adjtimex(2)
- tune kernel clock
afs_syscall([unimplemented])
- unimplemented system calls
alarm(2)
- set an alarm clock for delivery of a signal
alloc_hugepages(2)
- allocate or free huge pages
arch_prctl(2)
- set architecture-specific thread state

B

bdflush(2)
- start, flush, or tune buffer-dirty-flush daemon
bind(2)
- bind a name to a socket
break([unimplemented])
- unimplemented system calls
brk(2)
- change data segment size

C

cacheflush(2)
- flush contents of instruction and/or data cache
capget(2)
- set/get capabilities of thread(s)
capset([capget])
- set/get capabilities of thread(s)
chdir(2)
- change working directory
chmod(2)
- change permissions of a file
chown(2)
- change ownership of a file
chroot(2)
- change root directory
clock_getres(2)
- clock and time functions
clock_gettime([clock_getres])
- clock and time functions
clock_nanosleep(2)
- high-resolution sleep with specifiable clock
clock_settime([clock_getres])
- clock and time functions
clone(2)
- create a child process
close(2)
- close a file descriptor
connect(2)
- initiate a connection on a socket
creat([open])
- open and possibly create a file or device
create_module(2)
- create a loadable module entry

D

delete_module(2)
- delete a loadable module entry
dup(2)
- duplicate a file descriptor
dup2([dup])
- duplicate a file descriptor
dup3([dup])
- duplicate a file descriptor

E

epoll_create(2)
- open an epoll file descriptor
epoll_create1([epoll_create])
- open an epoll file descriptor
epoll_ctl(2)
- control interface for an epoll descriptor
epoll_pwait([epoll_wait])
- wait for an I/O event on an epoll file descriptor
epoll_wait(2)
- wait for an I/O event on an epoll file descriptor
eventfd(2)
- create a file descriptor for event notification
execve(2)
- execute program
exit_group(2)
- exit all threads in a process

F

faccessat(2)
- check user's permissions of a file relative to a directory file descriptor
fallocate(2)
- manipulate file space
fchdir([chdir])
- change working directory
fchmod([chmod])
- change permissions of a file
fchmodat(2)
- change permissions of a file relative to a directory file descriptor
fchown([chown])
- change ownership of a file
fchownat(2)
- change ownership of a file relative to a directory file descriptor
fcntl(2)
- manipulate file descriptor
fdatasync([fsync])
- synchronize a file's in-core state with storage device
FD_CLR([select])
- synchronous I/O multiplexing
- synchronous I/O multiplexing
FD_ISSET([select])
- synchronous I/O multiplexing
- synchronous I/O multiplexing
FD_SET([select])
- synchronous I/O multiplexing
- synchronous I/O multiplexing
FD_ZERO([select])
- synchronous I/O multiplexing
- synchronous I/O multiplexing
fgetxattr([getxattr])
- retrieve an extended attribute value
flistxattr([listxattr])
- list extended attribute names
flock(2)
- apply or remove an advisory lock on an open file
fork(2)
- create a child process
free_hugepages([alloc_hugepages])
- allocate or free huge pages
fremovexattr([removexattr])
- remove an extended attribute
fsetxattr([setxattr])
- set an extended attribute value
fstat([stat])
- get file status
fstatat(2)
- get file status relative to a directory file descriptor
fstatfs([statfs])
- get file system statistics
fstatvfs([statvfs])
- get file system statistics
fsync(2)
- synchronize a file's in-core state with storage device
ftime([unimplemented])
- unimplemented system calls
ftruncate([truncate])
- truncate a file to a specified length
futex(2)
- Fast Userspace Locking system call
futimens([utimensat])
- change file timestamps with nanosecond precision
futimesat(2)
- change timestamps of a file relative to a directory file descriptor

G

getcontext(2)
- get or set the user context
getcpu(2)
- determine CPU and NUMA node on which the calling thread is running
getdents(2)
- get directory entries
getdomainname(2)
- get/set domain name
getdtablesize(2)
- get descriptor table size
getegid([getgid])
- get group identity
geteuid([getuid])
- get user identity
getgid(2)
- get group identity
getgroups(2)
- get/set list of supplementary group IDs
gethostname(2)
- get/set hostname
getitimer(2)
- get or set value of an interval timer
getpagesize(2)
- get memory page size
getpeername(2)
- get name of connected peer socket
getpgid([setpgid])
- set/get process group
getpgrp([setpgid])
- set/get process group
getpid(2)
- get process identification
getpmsg([unimplemented])
- unimplemented system calls
getppid([getpid])
- get process identification
getpriority(2)
- get/set program scheduling priority
getresgid([getresuid])
- get real, effective and saved user/group IDs
getresuid(2)
- get real, effective and saved user/group IDs
getrlimit(2)
- get/set resource limits
getrusage(2)
- get resource usage
getsid(2)
- get session ID
getsockname(2)
- get socket name
getsockopt(2)
- get and set options on sockets
gettid(2)
- get thread identification
gettimeofday(2)
- get / set time
getuid(2)
- get user identity
getxattr(2)
- retrieve an extended attribute value
get_kernel_syms(2)
- retrieve exported kernel and module symbols
get_mempolicy(2)
- Retrieve NUMA memory policy for a process
get_thread_area(2)
- Get a Thread Local Storage (TLS) area
gtty([unimplemented])
- unimplemented system calls

I

idle(2)
- make process 0 idle
inb([outb])
- port I/O
inb_p([outb])
- port I/O
init_module(2)
- initialize a loadable module entry
inl([outb])
- port I/O
inl_p([outb])
- port I/O
inotify_add_watch(2)
- add a watch to an initialized inotify instance
inotify_init(2)
- initialize an inotify instance
inotify_init1([inotify_init])
- initialize an inotify instance
inotify_rm_watch(2)
- remove an existing watch from an inotify instance
insb([outb])
- port I/O
insl([outb])
- port I/O
insw([outb])
- port I/O
intro(2)
- Introduction to system calls
inw([outb])
- port I/O
inw_p([outb])
- port I/O
ioctl(2)
- control device
ioctl_list(2)
- list of ioctl calls in Linux/i386 kernel
ioperm(2)
- set port input/output permissions
iopl(2)
- change I/O privilege level
ioprio_get([ioprio_set])
- get/set I/O scheduling class and priority
ioprio_set(2)
- get/set I/O scheduling class and priority
io_cancel(2)
- cancel an outstanding asynchronous I/O operation
io_destroy(2)
- destroy an asynchronous I/O context
io_getevents(2)
- read asynchronous I/O events from the completion queue
io_setup(2)
- create an asynchronous I/O context
io_submit(2)
- submit asynchronous I/O blocks for processing
ipc(2)
- System V IPC system calls

K

kill(2)
- send signal to a process
killpg(2)
- send signal to a process group
klogctl([syslog])
- read and/or clear kernel message ring buffer; set console_loglevel

L

lchown([chown])
- change ownership of a file
lgetxattr([getxattr])
- retrieve an extended attribute value
link(2)
- make a new name for a file
linkat(2)
- create a file link relative to directory file descriptors
listen(2)
- listen for connections on a socket
listxattr(2)
- list extended attribute names
llistxattr([listxattr])
- list extended attribute names
lock([unimplemented])
- unimplemented system calls
lookup_dcookie(2)
- return a directory entry's path
lremovexattr([removexattr])
- remove an extended attribute
lseek(2)
- reposition read/write file offset
lsetxattr([setxattr])
- set an extended attribute value
lstat([stat])
- get file status

M

madvise(2)
- give advice about use of memory
madvise1([unimplemented])
- unimplemented system calls
mbind(2)
- Set memory policy for a memory range
mincore(2)
- determine whether pages are resident in memory
mkdir(2)
- create a directory
mkdirat(2)
- create a directory relative to a directory file descriptor
mknod(2)
- create a special or ordinary file
mknodat(2)
- create a special or ordinary file relative to a directory file descriptor
mlock(2)
- lock and unlock memory
mlockall([mlock])
- lock and unlock memory
mmap(2)
- map or unmap files or devices into memory
mmap2(2)
- map files or devices into memory
modify_ldt(2)
- get or set ldt
mount(2)
- mount file system
move_pages(2)
- move individual pages of a process to another node
mprotect(2)
- set protection on a region of memory
mpx([unimplemented])
- unimplemented system calls
mq_getsetattr(2)
- get/set message queue attributes
mremap(2)
- re-map a virtual memory address
msgctl(2)
- message control operations
msgget(2)
- get a message queue identifier
msgrcv([msgop])
- message operations
msgsnd([msgop])
- message operations
msync(2)
- synchronize a file with a memory map
munlock([mlock])
- lock and unlock memory
munlockall([mlock])
- lock and unlock memory
munmap([mmap])
- map or unmap files or devices into memory

N

nanosleep(2)
- high-resolution sleep
nfsservctl(2)
- syscall interface to kernel nfs daemon
nice(2)
- change process priority

O

open(2)
- open and possibly create a file or device
openat(2)
- open a file relative to a directory file descriptor
outb(2)
- port I/O
outb_p([outb])
- port I/O
outl([outb])
- port I/O
outl_p([outb])
- port I/O
outsb([outb])
- port I/O
outsl([outb])
- port I/O
outsw([outb])
- port I/O
outw([outb])
- port I/O
outw_p([outb])
- port I/O

P

pause(2)
- wait for signal
pciconfig_iobase([pciconfig_read])
- pci device information handling
pciconfig_read(2)
- pci device information handling
pciconfig_write([pciconfig_read])
- pci device information handling
personality(2)
- set the process execution domain
pipe(2)
- create pipe
pipe2([pipe])
- create pipe
pivot_root(2)
- change the root file system
poll(2)
- wait for some event on a file descriptor
posix_fadvise(2)
- predeclare an access pattern for file data
ppoll([poll])
- wait for some event on a file descriptor
prctl(2)
- operations on a process
pread(2)
- read from or write to a file descriptor at a given offset
prof([unimplemented])
- unimplemented system calls
profil([unimplemented])
- unimplemented system calls
pselect([select])
- synchronous I/O multiplexing
- synchronous I/O multiplexing
ptrace(2)
- process trace
putpmsg([unimplemented])
- unimplemented system calls
pwrite([pread])
- read from or write to a file descriptor at a given offset

Q

query_module(2)
- query the kernel for various bits pertaining to modules
quotactl(2)
- manipulate disk quota

R

read(2)
- read from a file descriptor
readahead(2)
- perform file readahead into page cache
readdir(2)
- read directory entry
readlink(2)
- read value of a symbolic link
readlinkat(2)
- read value of a symbolic link relative to a directory file descriptor
readv(2)
- read or write data into multiple buffers
reboot(2)
- reboot or enable/disable Ctrl-Alt-Del
recv(2)
- receive a message from a socket
recvfrom([recv])
- receive a message from a socket
recvmsg([recv])
- receive a message from a socket
remap_file_pages(2)
- create a non-linear file mapping
removexattr(2)
- remove an extended attribute
rename(2)
- change the name or location of a file
renameat(2)
- rename a file relative to directory file descriptors
rmdir(2)
- delete a directory
rt_sigqueueinfo([sigqueue])
- queue a signal and data to a process

S

sbrk([brk])
- change data segment size
sched_getaffinity([sched_setaffinity])
- set and get a process's CPU affinity mask
sched_getparam([sched_setparam])
- set and get scheduling parameters
sched_getscheduler([sched_setscheduler])
- set and get scheduling policy/parameters
sched_get_priority_max(2)
- get static priority range
sched_get_priority_min([sched_get_priority_max])
- get static priority range
sched_rr_get_interval(2)
- get the SCHED_RR interval for the named process
sched_setaffinity(2)
- set and get a process's CPU affinity mask
sched_setparam(2)
- set and get scheduling parameters
sched_setscheduler(2)
- set and get scheduling policy/parameters
sched_yield(2)
- yield the processor
security([unimplemented])
- unimplemented system calls
select(2)
- synchronous I/O multiplexing
select([select_tut])
- synchronous I/O multiplexing
semctl(2)
- semaphore control operations
semget(2)
- get a semaphore set identifier
semop(2)
- semaphore operations
semtimedop([semop])
- semaphore operations
send(2)
- send a message on a socket
sendfile(2)
- transfer data between file descriptors
sendmsg([send])
- send a message on a socket
sendto([send])
- send a message on a socket
setcontext([getcontext])
- get or set the user context
setdomainname([getdomainname])
- get/set domain name
setegid([seteuid])
- set effective user or group ID
seteuid(2)
- set effective user or group ID
setfsgid(2)
- set group identity used for file system checks
setfsuid(2)
- set user identity used for file system checks
setgid(2)
- set group identity
setgroups([getgroups])
- get/set list of supplementary group IDs
sethostname([gethostname])
- get/set hostname
setitimer([getitimer])
- get or set value of an interval timer
setpgid(2)
- set/get process group
setpgrp([setpgid])
- set/get process group
setpriority([getpriority])
- get/set program scheduling priority
setregid([setreuid])
- set real and/or effective user or group ID
setresgid([setresuid])
- set real, effective and saved user or group ID
setresuid(2)
- set real, effective and saved user or group ID
setreuid(2)
- set real and/or effective user or group ID
setrlimit([getrlimit])
- get/set resource limits
setsid(2)
- creates a session and sets the process group ID
setsockopt([getsockopt])
- get and set options on sockets
settimeofday([gettimeofday])
- get / set time
setuid(2)
- set user identity
setup(2)
- setup devices and file systems, mount root file system
setxattr(2)
- set an extended attribute value
set_mempolicy(2)
- set default NUMA memory policy for a process and its children
set_thread_area(2)
- Set a Thread Local Storage (TLS) area
set_tid_address(2)
- set pointer to thread ID
sgetmask(2)
- manipulation of signal mask (obsolete)
shmat([shmop])
- shared memory operations
shmctl(2)
- shared memory control
shmdt([shmop])
- shared memory operations
shmget(2)
- allocates a shared memory segment
shutdown(2)
- shut down part of a full-duplex connection
sigaction(2)
- examine and change a signal action
sigaltstack(2)
- set and/or get signal stack context
signal(2)
- ANSI C signal handling
signalfd(2)
- create a file descriptor for accepting signals
sigpending(2)
- examine pending signals
sigprocmask(2)
- examine and change blocked signals
sigqueue(2)
- queue a signal and data to a process
sigreturn(2)
- return from signal handler and cleanup stack frame
sigsuspend(2)
- wait for a signal
sigtimedwait([sigwaitinfo])
- synchronously wait for queued signals
sigwaitinfo(2)
- synchronously wait for queued signals
socket(2)
- create an endpoint for communication
socketcall(2)
- socket system calls
socketpair(2)
- create a pair of connected sockets
splice(2)
- splice data to/from a pipe
spu_create(2)
- create a new spu context
spu_run(2)
- execute an SPU context
ssetmask([sgetmask])
- manipulation of signal mask (obsolete)
stat(2)
- get file status
statfs(2)
- get file system statistics
statvfs(2)
- get file system statistics
stime(2)
- set time
stty([unimplemented])
- unimplemented system calls
swapoff([swapon])
- start/stop swapping to file/device
swapon(2)
- start/stop swapping to file/device
symlink(2)
- make a new name for a file
symlinkat(2)
- create a symbolic link relative to a directory file descriptor
sync(2)
- commit buffer cache to disk
sync_file_range(2)
- sync a file segment with disk
syscall(2)
- indirect system call
syscalls(2)
- Linux system calls
sysctl(2)
- read/write system parameters
sysfs(2)
- get file system type information
sysinfo(2)
- returns information on overall system statistics
syslog(2)
- read and/or clear kernel message ring buffer; set console_loglevel

T

tee(2)
- duplicating pipe content
tgkill([tkill])
- send a signal to a thread
time(2)
- get time in seconds
timerfd_create(2)
- timers that notify via file descriptors
timerfd_gettime([timerfd_create])
- timers that notify via file descriptors
timerfd_settime([timerfd_create])
- timers that notify via file descriptors
timer_create(2)
- create a POSIX per-process timer
timer_delete(2)
- delete a POSIX per-process timer
timer_getoverrun(2)
- get overrun count for a POSIX per-process timer
timer_gettime([timer_settime])
- arm/disarm and fetch state of POSIX per-process timer
timer_settime(2)
- arm/disarm and fetch state of POSIX per-process timer
times(2)
- get process times
tkill(2)
- send a signal to a thread
truncate(2)
- truncate a file to a specified length
tuxcall([unimplemented])
- unimplemented system calls

U

ulimit([unimplemented])
- unimplemented system calls
umask(2)
- set file mode creation mask
umount(2)
- unmount file system
umount2([umount])
- unmount file system
uname(2)
- get name and information about current kernel
unlink(2)
- delete a name and possibly the file it refers to
unlinkat(2)
- remove a directory entry relative to a directory file descriptor
unshare(2)
- disassociate parts of the process execution context
uselib(2)
- load shared library
ustat(2)
- get file system statistics
utime(2)
- change file last access and modification times
utimensat(2)
- change file timestamps with nanosecond precision
utimes([utime])
- change file last access and modification times

V

v4l-info(1)
- dump video4linux(2) device info to stdout
vfork(2)
- create a child process and block parent
vhangup(2)
- virtually hangup the current tty
vm86(2)
- enter virtual 8086 mode
vm86old([vm86])
- enter virtual 8086 mode
vmsplice(2)
- splice user pages into a pipe
vserver([unimplemented])
- unimplemented system calls

W

wait(2)
- wait for process to change state
wait3([wait4])
- wait for process to change state, BSD style
wait4(2)
- wait for process to change state, BSD style
waitid([wait])
- wait for process to change state
waitpid([wait])
- wait for process to change state
write(2)
- write to a file descriptor
writev([readv])
- read or write data into multiple buffers

_

_clone2([clone])
- create a child process
_exit(2)
- terminate the calling process
_Exit([_exit])
- terminate the calling process
_llseek([llseek])
- reposition read/write file offset
_syscall(2)
- invoking a system call without library support (OBSOLETE)


A B C D E F G I K L M N O P Q R S T U V W _


Return to Main Contents

Other sections: 1. User Commands 3. Library Functions 4. Special Files 5. File Formats 6. Games 7. Miscellany 8. Administration and Privileged Commands