1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259
|
.\" Copyright (C) 1998 Andries Brouwer (aeb@cwi.nl)
.\"
.\" Permission is granted to make and distribute verbatim copies of this
.\" manual provided the copyright notice and this permission notice are
.\" preserved on all copies.
.\"
.\" Permission is granted to copy and distribute modified versions of this
.\" manual under the conditions for verbatim copying, provided that the
.\" entire resulting derived work is distributed under the terms of a
.\" permission notice identical to this one
.\"
.\" Since the Linux kernel and libraries are constantly changing, this
.\" manual page may be incorrect or out-of-date. The author(s) assume no
.\" responsibility for errors or omissions, or for damages resulting from
.\" the use of the information contained herein. The author(s) may not
.\" have taken the same level of care in the production of this manual,
.\" which is licensed free of charge, as they might when working
.\" professionally.
.\"
.\" Formatted or processed versions of this manual, if unaccompanied by
.\" the source, must acknowledge the copyright and authors of this work.
.\"
.\" Japanese Version Copyright (c) 1998 HANATAKA Shinya
.\" all rights reserved.
.\" Translated Tue Jun 22 22:36:59 JST 1998
.\" by HANATAKA Shinya <hanataka@abyss.rim.or.jp>
.\"
.TH SYSCALLS 2 "12 April 1996" "Linux 2.0" "Linux Programmer's Manual"
.SH ̾
none \- ƥࡦΥꥹ
.SH
Linux 2.0 ƥࡦ
.SH
Linux 2.0.34 ˤưʲ 164 Υƥࡦ뤬
.IR /usr/include/asm/unistd.h
˥ꥹȤƤ롣
Υޥ˥奢롦ڡϤꥹȤˤƤ롣
(⤷֥饦ǸƤˤϤؤΥϥѡ
롣)
_llseek(2),
_newselect(2),
_sysctl(2),
access(2),
acct(2),
adjtimex(2),
afs_syscall,
alarm(2),
bdflush(2),
break,
brk(2),
chdir(2),
chmod(2),
chown(2),
chroot(2),
clone(2),
close(2),
creat(2),
create_module(2),
delete_module(2),
dup(2),
dup2(2),
execve(2),
exit(2),
fchdir(2),
fchmod(2),
fchown(2),
fcntl(2),
fdatasync(2),
flock(2),
fork(2),
fstat(2),
fstatfs(2),
fsync(2),
ftime,
ftruncate(2),
get\%_kernel_syms(2),
get\%dents(2),
get\%egid(2),
get\%euid(2),
get\%gid(2),
get\%groups(2),
get\%itimer(2),
get\%pgid(2),
get\%pgrp(2),
get\%pid(2),
get\%ppid(2),
get\%priority(2),
get\%rlimit(2),
get\%rusage(2),
get\%sid(2),
get\%timeofday(2),
get\%uid(2),
gtty,
idle(2),
init_module(2),
ioctl(2),
io\%perm(2),
iopl(2),
ipc(2),
kill(2),
link(2),
lock,
lseek(2),
lstat(2),
mkdir(2),
mknod(2),
mlock(2),
mlockall(2),
mmap(2),
modify_ldt(2),
mount(2),
mprotect(2),
mpx,
mremap(2),
msync(2),
munlock(2),
munlockall(2),
munmap(2),
nanosleep(2),
nice(2),
oldfstat, oldlstat, oldolduname, oldstat, olduname,
open(2),
pause(2),
personality(2),
phys,
pipe(2),
prof, profil,
ptrace(2),
quotactl(2),
read(2),
readdir(2),
readlink(2),
readv(2),
reboot(2),
rename(2),
rmdir(2),
sched_\%get_\%priority_max(2),
sched_\%get_\%priority_min(2),
sched_\%get\%param(2),
sched_\%get\%scheduler(2),
sched_\%rr_get_interval(2),
sched_\%set\%param(2),
sched_\%set\%scheduler(2),
sched_\%yield(2),
select(2),
set\%domainname(2),
set\%fsgid(2),
set\%fsuid(2),
set\%gid(2),
set\%groups(2),
set\%hostname(2),
set\%itimer(2),
set\%pgid(2),
set\%priority(2),
set\%regid(2),
set\%reuid(2),
set\%rlimit(2),
set\%sid(2),
set\%timeofday(2),
set\%uid(2),
setup(2),
sgetmask(2),
sigaction(2),
signal(2),
sigpending(2),
sigprocmask(2),
sigreturn(2),
sigsuspend(2),
socketcall(2),
ssetmask(2),
stat(2),
statfs(2),
stime(2),
stty,
swapoff(2),
swapon(2),
symlink(2),
sync(2),
sysfs(2),
sysinfo(2),
syslog(2),
time(2),
times(2),
truncate(2),
ulimit,
umask(2),
umount(2),
uname(2),
unlink(2),
uselib(2),
ustat(2),
utime(2),
vhangup(2),
vm86(2),
wait4(2),
waitpid(2),
write(2),
writev(2).
嵭Τ
oldfstat, oldlstat, oldolduname, oldstat, olduname
5Ĥѻ(obsolete)Ƥ(obsolete(2) ⻲)
afs_syscall, break, ftime, gtty, lock, mpx, phys, prof, profil,
stty, ulimit
11 ĤϼºݤˤϼƤʤ(unimplemented(2) ⻲)
ftime(3), profil(3), ulimit(3) ϥ饤֥ꡦ롼Ȥ
¸ߤƤ롣
phys Τξ 2.1.116 ʹߤ umount2 Τ˻ѤƤ;
ˤƤ phys ϼʤ
.I /usr/include/asm/unistd.h
Ƥ__NR_xxx Ȥ̾ĥƥࡦ
°륳ɤϡƤϥͥ롦
.IR sys_xxx()
Ȥ롼ȤƸĤ뤳ȤǤ롣
( i386 ˤ¹ԥơ֥
.IR /usr/src/linux/arch/i386/kernel/entry.S
˸Ĥ뤳Ǥ롣)
ˤ¿㳰¸ߤ롣ŤƥࡦϿΤ
֤ĤĤꡢϤۤɷŪˤϰƤʤǤ롣
ʲ Linux 2.0.34 ˤܺ٤Ǥ롣
__NR_oldstat __NR_stat ȤϤϤ줾
sys_stat() sys_newstat() Ȥ롼ȤƤꡢƱͤ
.I fstat
.IR lstat
ȤƤ롣
Ʊͤ __NR_oldolduname, __NR_olduname, __NR_uname Ȥ
sys_olduname(), sys_uname(), sys_newuname() Ȥ롼ȤƤ롣
Τ褦 __NR_stat __NR_uname ϾˤΥƥࡦ
ǿСȤƤꡢ̸ߴΤ˸ŤС
Τ⤢롣
.I select
.IR mmap ǤϰۤäƤ롣
ϸޤİʾΥѥѤi386 ǻѤ
ѥμϤ꤬롣ǡ¾Υƥ㡼Ǥ
sys_select() sys_mmap() б __NR_select __NR_mmap
äƤ뤬i386 Ǥ old_select() old_mmap() Ȥ
̾ǸĤ뤳ȤǤ(Υ롼ϥѥ֥å
ؤΥݥѤ롣) ߤǤϸޤĤΥѥϤȤ
ϤǤϤʤ(libc 6 ǻѤ) __NR__newselect Ǥ
ľ sys_select() бƤ롣
¾ĤΥƥࡦ__NR__llseek __NR__sysctl
sys_llseek() sys_sysctl() ˤ¸ߤʤ
ɲäΥäƤ롣
old_readdir() б __NR_readdir ¸ߤ롣
ϰˤĤĤΥǥ쥯ȥꤷɤ߹ʤ
sys_getdents() ˤä֤줿
Ǹˡsys_vm86() Ȥȥ 166֤Υƥࡦ
ܥå̾ʤΥС __NR_vm86 Ȥ̾
sys_vm86old() ֤롣
|