Linux System Call Quick Reference Page 2

ADVERTISEMENT

enable or disable process accounting
kernel/acct.c
unmap pages of memory
mm/mmap.c
51
acct
91
munmap
unmount a file system
fs/super.c
set a file to a specified length
fs/open.c
52
umount2
92
truncate
control device
fs/ioctl.c
set a file to a specified length
fs/open.c
54
ioctl
93
ftruncate
file control
fs/fcntl.c
change access permission mode of file
fs/open.c
55
fcntl
94
fchmod
(unimplemented)
change owner and group of a file
fs/open.c
56
mpx
95
fchown
set process group ID
kernel/sys.c
get program scheduling priority
kernel/sys.c
57
setpgid
96
getpriority
(unimplemented)
set program scheduling priority
kernel/sys.c
58
ulimit
97
setpriority
obsolete uname system call
arch/i386/kernel/sys_i386.c
execut ion time profile
59
olduname
98
profil
set file creation mask
kernel/sys.c
get file system statistics
fs/open.c
60
umask
99
statfs
change root directory
fs/open.c
get file system statistics
fs/open.c
61
chroot
100
fstatfs
get file system statistics
fs/super.c
set port input/output permissions
arch/i386/kernel/ioport.c
62
ustat
101
ioperm
63
dup2
duplicate a file descriptor
fs/fcntl.c
102
socketcall
socket system calls
net/so cket.c
get parent process ID
kernel/sched.c
read and/or clear kernel message ring buffer
kernel/printk.c
64
getppid
103
syslog
get the process group ID
kernel/sys.c
set value of interval timer
kernel/itimer.c
65
getpgrp
104
setitimer
creates a session and sets the process group ID
kernel/sys.c
get value of interval timer
kernel/itimer.c
66
setsid
105
getitimer
POSIX signal handling functions
arch/i386/kernel/signal.c
get file status
fs/stat.c
67
sigaction
106
sys_newstat
ANSI C signal handling
kernel/signal.c
get file status
fs/stat.c
68
sgetmask
107
sys_newlstat
ANSI C signal handling
kernel/signal.c
get file status
fs/stat.c
69
ssetmask
108
sys_newfstat
set real and effective user IDs
kernel/sys.c
get name and information about current kernel
arch/i386/kernel/sys_i386.c
70
setreuid
109
olduname
set real and effective group IDs
kernel/sys.c
change I/O privilege level
arch/i386/kernel/ioport.c
71
setregid
110
iopl
install a signal mask and suspend caller until
arch/i386/kernel/signal.c
virtually hangup the current tty
fs/open.c
111
vhangup
72
sigsuspend
signal
make process 0 idle
arch/i386/kernel/process.c
112
idle
examine signals that are blocked and pending
kernel/signal.c
73
sigpending
enter virtual 8086 mode
arch/i386/kernel/vm86.c
113
vm86old
set hostname
kernel/sys.c
74
sethostname
wait for process termination, BSD style
kernel/exit.c
114
wait4
set maximum system resource con sumption
kernel/sys.c
75
setrlimit
stop swapping to file/device
mm/swapfile.c
115
swapoff
get maximum system resource con sumption
kernel/sys.c
76
getrlimit
116
sysinfo
returns information on overall system statistics
kernel/info.c
get maximum system resource con sumption
kernel/sys.c
77
getrusage
System V IPC system calls
arch/i386/kernel/sys_i386.c
117
ipc
get the date and time
kernel/time.c
78
gettimeofday
synchronize a file's complete in-core state with that
fs/buffer.c
118
fsync
set the date and time
kernel/time.c
on disk
79
settimeofday
get list of supplementary group IDs
kernel/sys.c
return from signal handler and cleanup stack
arch/i386/kernel/signal.c
80
getgroups
119
sigreturn
frame
set list of supplementary group IDs
kernel/sys.c
81
setgroups
create a child process
arch/i386/kernel/process.c
120
clone
sync. I/O multiplexing
arch/i386/kernel/sys_i386.c
82
old_select
set domain name
kernel/sys.c
121
setdomainname
make a symbolic link to a file
fs/namei.c
83
symlink
get name and information about current kernel
kernel/sys.c
122
uname
84
lstat
get file status
fs/stat.c
get or set ldt
arch/i386/kernel/ldt.c
123
modify_ldt
read the contents of a symbolic link
fs/stat.c
85
readlink
tune kernel clock
kernel/time.c
124
adjtimex
select shared library
fs/exec.c
86
uselib
set protection of memory mapping
mm/mprotect.c
125
mprotect
start swapping to file/device
mm/swapfile.c
87
swapon
POSIX signal handling functions
kernel/signal.c
126
sigprocmask
reboot or enable/disable Ctrl-Alt -Del
kernel/sys.c
88
reboot
create a loadable module entry
kernel/module.c
127
create_module
read directory entry
fs/readdir.c
89
old_readdir
initialize a loadable module entry
kernel/module.c
128
init_module
map pages of memory
arch/i386/kernel/sys_i386.c
90
old_mmap
delete a loadable module entry
kernel/module.c
129
delete_module

ADVERTISEMENT

00 votes

Related Articles

Related forms

Related Categories

Parent category: Education
Go
Page of 3