(2) - System calls

Intro
introduction to system calls, error numbers, privileges, large file support, threads, and lightweight processes
access
determine accessibility of a file
acct
enable or disable process accounting
acl
set a file's Access Control List (ACL)
aclipc
get or set an IPC object's ACL, return the number of ACL entries
adjtime
correct the time to allow synchronization of the system clock
alarm
set process alarm clock
auditbuf
get or set the audit buffer attributes
auditctl
get or set the status of auditing
auditdmp
write audit record to audit buffer
auditevt
get or set auditable events
auditlog
get or set audit log file attributes
brk
change data segment space allocation
cg_bind
set a target CPU-Group for a process or its children
cg_current
obtain identifier for the current CPU-Group
cg_ids
return the CPU-Groups in the system
cg_info
get information about a CPU-Group
cg_memloc
determine physical location of memory pages
cg_processors
return the processors within a CPU-Group
chdir
change working directory
chmod
change mode of file
chown
change owner and group of a file
chroot
change root directory
close
close a file descriptor
creat
create a new file or rewrite an existing one
creat64
create a new ordinary file or rewrite an existing one (supports large files)
dup
duplicate an open file descriptor
errno
variable set by system calls on error
errno.h
system error numbers and names
exec
execute a file
execl
execute a file
execle
execute a file
execlp
execute a file
execv
execute a file
execve
execute a file
execvp
execute a file
_exit
terminate process
exit
terminate process
fchdir
change working directory
fchmod
change mode of file
fchown
change owner and group of a file
fcntl
file control
filepriv
set, retrieve, or count the privileges associated with a file
fork
create a new process
fork1
create a new process to exec imediately
forkall
create a new process duplicating all threads and LWPs
fpathconf
get configurable pathname variables
fstat
get status of an open file
fstat64
get status of an open file (supports large files)
fstatvfs
get file system information
fstatvfs64
get file system information (supports large files)
fsync
synchronize a file's in-memory state with that on the physical medium
ftruncate
set an open file to a specified length
ftruncate64
set an open file to a specified length (supports large files)
getcontext
get current user context
getdents
read directory entries and put in a file system independent format
getegid
get real user, effective user, real group, and effective group IDs
geteuid
get real user, effective user, real group, and effective group IDs
getgid
get real user, effective user, real group, and effective group IDs
getgroups
get or set supplementary group access list IDs
getksym
get information for a global kernel symbol
getmsg
get next message off a stream
getpgid
get process, process group, and parent process IDs
getpgrp
get process, process group, and parent process IDs
getpid
get process, process group, and parent process IDs
getpmsg
get next message off a stream
getppid
get process, process group, and parent process IDs
getrlimit
control maximum system resource consumption
getrlimit64
get maximum system resource consumption (supports large files)
getsid
get session ID
gettimeofday
date and time functions
getuid
get real user, effective user, real group, and effective group IDs
ioctl
control device
keyctl
sets and retrieves user and processor limits
kill
send a signal to a process or a group of processes
lchown
change owner and group of a file
link
link to a file
lseek
move read/write file pointer
lseek64
move read/write file pointer (supports large files)
lstat
get file or symbolic link status
lstat64
get file or symbolic link status (supports large files)
lstat64 fstat
get file status
_lwp_cond_broadcast
broadcast a wake up to all LWPs waiting on a condition variable
_lwp_cond_signal
wake up a single LWP waiting on a condition variable
_lwp_cond_timedwait
wait on a condition variable for a limited time
_lwp_cond_wait
wait on a condition variable
_lwp_continue
continue LWP execution
_lwp_create
create a new LWP associated with the current process
_lwp_exit
terminate the calling LWP
_lwp_getprivate
get LWP-specific reference
_lwp_info
get time-accounting information of a single LWP
_lwp_kill
send a signal to a sibling lightweight process
_lwp_makecontext
make an LWP context
_lwp_mutex_lock
lock a mutex
_lwp_mutex_trylock
conditionally lock a mutex
_lwp_mutex_unlock
unlock a mutex
_lwp_self
get current LWP's identifier
_lwp_sema_init
initialize a semaphore
_lwp_sema_post
release a semaphore
_lwp_sema_trywait
conditionally acquire the semaphore
_lwp_sema_wait
acquire a semaphore
_lwp_setprivate
set LWP-specific reference
_lwp_suspend
suspend LWP execution
_lwp_wait
wait for termination of a sibling LWP
memcntl
memory management control
mincore
determine residency of memory pages
mkdir
make a directory
mknod
make a directory, or a special or ordinary file
mmap
map pages of memory
mmap64
map pages of memory (supports large files)
modload
load a loadable kernel module on demand
modpath
change loadable kernel modules search path
modstat
get information for loadable kernel modules
moduload
unload a loadable kernel module on demand
mount
mount a file system
mprotect
set protection of memory mapping
msgctl
message control operations
msgget
get message queue
msgop
message operations
msgrcv
message operations
msgsnd
message operations
munmap
unmap pages of memory
nice
change priority of a time-sharing process
open
open for reading or writing
open64
open for reading or writing (supports large files)
pathconf
get configurable pathname variables
pause
suspend process until signal
pipe
create an interprocess channel
plock
lock into memory or unlock process, text, or data
poll
input/output multiplexing
p_online
take a processor online or offline
pread
atomic position and read
pread64
atomic position and read (supports large files)
priocntl
process scheduler control
priocntllist
generalized process scheduler control for a set of LWPs
priocntlset
generalized process scheduler control
processor_bind
bind or unbind to a processor
processor_exbind
exclusively bind or unbind a processor
processor_info
get information about a processor
procpriv
add, retrieve, remove, count, or put privileges associated with the calling process
profil
execution time profile
ptrace
process trace
putmsg
send a message on a stream
putpmsg
send a message on a stream
pwrite
atomic position and write
pwrite64
atomic position and write (supports large files)
read
read from file
readlink
read the value of a symbolic link
readv
read from file
rename
change the name of a file
rmdir
remove a directory
sbrk
change data segment space allocation
secadvise
get kernel advisory access information
semctl
semaphore control operations
semget
get set of semaphores
semop
semaphore operations
sendv
vectored write to a stream
sendv64
64-bit vectored write to a stream
setcontext
set current user context
setgid
set user and group IDs
setgroups
get or set supplementary group access list IDs
setpgid
set process group ID
setpgrp
set process group ID
setrlimit
set maximum system resource consumption
setrlimit64
set maximum system resource consumption (supports large files)
setsid
set session ID
settimeofday
set date and time
setuid
set user and group IDs
shmat
attach shared memory segment
shmctl
shared memory control operations
shmdt
detach shared memory segment
shmget
get shared memory segment identifier
shmop
shared memory operations
sigaction
detailed signal management
sigaltstack
set or get signal alternate stack context
sighold
add signal to signal mass
sigignore
set signal disposition to SIG_IGN
signal
simplified signal management
sigpause
suspend process until signal is received
sigpending
examine signals that are blocked and pending
sigprocmask
change or examine signal mask
sigrelse
remove signal from signal mass
sigsend
send a signal to a process or a group of processes
sigsendset
send a signal to a process or a group of processes
sigset
modify signal dispositions
sigsuspend
install a signal mask and suspend process until signal
sigwait
wait for a signal to be posted
stat
get file status
stat64
get file status (supports large files)
statvfs
get file system information
statvfs64
get information about mounted filesystems (supports large files)
stime
set time
swapctl
manage swap space
symlink
make a symbolic link to a file
sync
update super block
sysfs
get file system type information
sysi86
machine-specific functions
sysinfo
get and set system information strings
time
get time
times
get process and child process times
truncate
set a file to a specified length
truncate64
set a file to a specified length (supports large files)
uadmin
administrative control
ulimit
get and set user limits
umask
set and get file creation mask
umount
unmount a file system
uname
get name of current UNIX system
unlink
remove directory entry
ustat
get file system statistics
utime
set file access and modification times
vfork
spawn new process in a virtual memory efficient way
wait
wait for child process to stop or terminate
waitid
wait for child process to change state
waitpid
wait for child process to change state
write
write on a file
writev
set of writes on a file