File: syscalls.2

package info (click to toggle)
manpages-ja 0.5.0.0.20080615-1
  • links: PTS
  • area: main
  • in suites: lenny
  • size: 20,508 kB
  • ctags: 1
  • sloc: sh: 13,690; perl: 157; makefile: 114
file content (768 lines) | stat: -rw-r--r-- 22,142 bytes parent folder | download
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
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
.\" Copyright (C) 2007 Michael Kerrisk <mtk.manpages@gmail.com>
.\" with some input from Stepan Kasal <kasal@ucw.cz>
.\"
.\" Some content retained from an earlier version of this page:
.\" Copyright (C) 1998 Andries Brouwer (aeb@cwi.nl)
.\" Modifications for 2.2 and 2.4 Copyright (C) 2002 Ian Redfern
.\" <redferni@logica.com>
.\"
.\" 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 1998-07-22, HANATAKA Shinya <hanataka@abyss.rim.or.jp>
.\" Updated 2003-02-06, Kentaro Shirakata <argrath@ub32.org>
.\" Modified 2005-04-05, Akihiro MOTOKI <amotoki@dd.iij4u.or.jp>
.\" Updated 2007-09-08, Akihiro MOTOKI <amotoki@dd.iij4u.or.jp>, LDP v2.64
.\"
.TH SYSCALLS 2 2008-02-22 "Linux" "Linux Programmer's Manual"
.SH ̾
syscalls \- Linux Υƥॳ
.SH 
Linux Υƥॳ롣
.SH 
ƥॳϡץꥱ Linux ͥȤδ֤
Ūʥ󥿥եǤ롣
.SS ƥॳȥ饤֥Υåѡؿ
ƥॳϰ̤ˤľܵư줺
glibc (¾β餫Υ饤֥)  ͳǵư롣
ƥॳľܵưˤĤƤϡܺ٤
.BR intro (2)
򻲾ȤΤȡ
ĤȤǤϤʤ̤ϡåѡؿ̾Ϥδؿư
ƥॳ̾ƱǤ롣
㤨Сglibc ˤ
.BR truncate ()
Ȥؿꡢδؿ "truncate" ƥॳư롣

Ƥξ硢glibc ΥåѡؿϤʤñʤΤǡ
ƥॳư˾νԤǤ롣

ʤ顢ˤϡåѡؿƥॳư
餫ɲäνԤ礬롣
㤨Сߡ
ĤδϢ륷ƥॳ
.BR truncate (2)

.BR truncate64 (2)
ꡢglibc Υåѡؿ
.BR truncate ()
ϡͥ뤬ΥƥॳΤɤ󶡤Ƥ뤫å
ɤѤ뤫ꤹ롣
.SS ƥॳΥꥹ
ʲϡۤȤɤΥץåȥե˶̤륷ƥॳΥꥹȤǤ롣
ΥꥹȤǡ
.I Kernel
ϡLinux 2.2 ʹߤо줷ƥॳ뤬
о줷ͥС򼨤
ʲ˾ܺ٤򵭤
.IP * 3
ͥС󤬤ʤ硢Υƥॳ
ͥ 2.0 ⤷Ϥо줷
.\" kernel 1.2 was started from a branch of 1.0.6
.\"
.\" Was kernel 2.0 started from a branch of 1.2.10?
.\" At least from the timestamps of the tarballs of
.\" of 1.2.10 and 1.3.0, that's how it looks, but in
.\" fact the diff doesn't seem very clear, the
.\" 1.3.0 .tar.bz is much bigger (2.0 MB) than the
.\" 1.2.10 .tar.bz2 (1.8 MB), and AEB points out the
.\" timestamps of some files in 1.3.0 seem to be older
.\" than those in 1.2.10.  All of this suggests
.\" that there might not have been a clean branch point.
.IP *
ƥॳ "2.2" Ƚ񤫤Ƥ硢
Υƥॳ뤬餯С 2.1.x Υͥо줷
ǤΥͥǤ 2.2.0 ǽо줷Ȥ̣롣
(С 2.2 Υͥϡͥ 2.0.21 ʬ
С 2.1.x ԰ǤΥͥȤƳȯ줿)
.IP *
ƥॳ "2.4" Ƚ񤫤Ƥ硢
Υƥॳ뤬餯С 2.3.x Υͥо줷
ǤΥͥǤ 2.4.0 ǽо줷Ȥ̣롣
(С 2.4 Υͥϡͥ 2.2.8 ʬ
С 2.3.x ԰ǤΥͥȤƳȯ줿)
.IP *
ƥॳ "2.6" Ƚ񤫤Ƥ硢
Υƥॳ뤬餯С 2.5.x Υͥо줷
ǤΥͥǤ 2.6.0 ǽо줷Ȥ̣롣
(С 2.6 Υͥϡͥ 2.4.15 ʬ
С 2.5.x ԰ǤΥͥȤƳȯ줿)
.IP *
ͥ 2.6.0 鳫ȯǥѹ졢
ƥॳ뤬ġ 2.6.x Υ꡼Ǥо줹褦ˤʤä
ξ硢ꥹȤǤϡƥॳ뤬о줷
̩ʥСֹ椬ܤƤ롣
.IP *
ΰǥͥ󤫤ʬ˰ǥͥ˥ƥॳ
ɲä줿硢ΰǥͥˤΥƥॳ뤬
ܿ (backport) 뤳Ȥ롣
㤨С2.6.x о줷ƥॳΤĤϡ
2.4.15 ʹߤ 2.4.x ꡼ˤ backport 줿
ξ硢ƥॳ뤬о줷СȤơ
ξΰǷΥС󤬵ܤƤ롣
.PP
ͥ 2.6.22 ѲǽʥƥॳΥꥹȤʲ˼
(ΥͥǤѲǽʤΤ⾯ޤޤ):
.\"
.\" Looking at scripts/checksyscalls.sh in the kernel source is
.\" instructive about i386 specifics.
.\"
.TS
l l l
---
l l l.
\fBSystem call\fP	\fBKernel\fP	\fBNotes\fP

\fB_llseek\fP(2)
\fB_newselect\fP(2)
\fB_sysctl\fP(2)
\fBaccept\fP(2)
\fBaccess\fP(2)
\fBacct\fP(2)
\fBadd_key\fP(2)	2.6.11
\fBadjtimex\fP(2)
\fBafs_syscall\fP(2)
\fBalarm\fP(2)
\fBalloc_hugepages\fP(2)	2.5.36	Removed in 2.5.44
\fBbdflush\fP(2)
\fBbind\fP(2)
\fBbreak\fP(2)
\fBbrk\fP(2)
\fBcacheflush\fP(2)		Not on i386
\fBcapget\fP(2)	2.2
\fBcapset\fP(2)	2.2
\fBchdir\fP(2)
\fBchmod\fP(2)
\fBchown\fP(2)
\fBchown32\fP(2)	2.4
\fBchroot\fP(2)
\fBclock_getres\fP(2)	2.6
\fBclock_gettime\fP(2)	2.6
\fBclock_nanosleep\fP(2)	2.6
\fBclock_settime\fP(2)	2.6
\fBclone\fP(2)
\fBclose\fP(2)
\fBconnect\fP(2)
\fBcreat\fP(2)
\fBcreate_module\fP(2)
\fBdelete_module\fP(2)
\fBdup\fP(2)
\fBdup2\fP(2)
\fBepoll_create\fP(2)	2.6
\fBepoll_ctl\fP(2)	2.6
\fBepoll_pwait\fP(2)	2.6.19
\fBepoll_wait\fP(2)	2.6
\fBeventfd\fP(2)	2.6.22
\fBexecve\fP(2)
\fBexit\fP(2)
\fBexit_group\fP(2)	2.6; 2.4.20
\fBfaccessat\fP(2)	2.6.16
\fBfadvise64\fP(2)	2.6
.\" Implements \fBposix_fadvise\fP(2)
\fBfadvise64_64\fP(2)	2.6
\fBfallocate\fP(2)	2.6.23
\fBfchdir\fP(2)
\fBfchmod\fP(2)
\fBfchmodat\fP(2)	2.6.16
\fBfchown\fP(2)
\fBfchown32\fP(2)	2.4
\fBfchownat\fP(2)	2.6.16
\fBfcntl\fP(2)
\fBfcntl64\fP(2)	2.4
\fBfdatasync\fP(2)
\fBfgetxattr\fP(2)	2.6; 2.4.18
\fBflistxattr\fP(2)	2.6; 2.4.18
\fBflock\fP(2)
\fBfork\fP(2)
\fBfree_hugepages\fP(2)	2.5.36	Removed in 2.5.44
\fBfremovexattr\fP(2)	2.6; 2.4.18
\fBfsetxattr\fP(2)	2.6; 2.4.18
\fBfstat\fP(2)
\fBfstat64\fP(2)	2.4
\fBfstatat64\fP(2)	2.6.16
\fBfstatfs\fP(2)
\fBfstatfs64\fP(2)	2.6
\fBfsync\fP(2)
\fBftime\fP(2)
.\" Implemented in glibc; see \fBftime\fP(3)
\fBftruncate\fP(2)
\fBftruncate64\fP(2)	2.4
\fBfutex\fP(2)	2.6; 2.4.19
\fBfutimesat\fP(2)	2.6.16
\fBget_kernel_syms\fP(2)
\fBget_mempolicy\fP(2)	2.6.6
\fBget_robust_list\fP(2)	2.6.17
\fBget_thread_area\fP(2)	2.6; 2.4.20
\fBgetcpu\fP(2)	2.6.19
\fBgetcwd\fP(2)	2.2
\fBgetdents\fP(2)
\fBgetdents64\fP(2)	2.4
\fBgetegid\fP(2)
\fBgetegid32\fP(2)	2.4
\fBgeteuid\fP(2)
\fBgeteuid32\fP(2)	2.4
\fBgetgid\fP(2)
\fBgetgid32\fP(2)	2.4
\fBgetgroups\fP(2)
\fBgetgroups32\fP(2)	2.4
\fBgetitimer\fP(2)
\fBgetpeername\fP(2)
\fBgetpagesize\fP(2)		Not on i386
\fBgetpgid\fP(2)
\fBgetpgrp\fP(2)
\fBgetpid\fP(2)
\fBgetpmsg\fP(2)	2.2
.\" Reserved for STREAMS support
\fBgetppid\fP(2)
\fBgetpriority\fP(2)
\fBgetresgid\fP(2)	2.2
\fBgetresgid32\fP(2)	2.4
\fBgetresuid\fP(2)	2.2
\fBgetresuid32\fP(2)	2.4
\fBgetrlimit\fP(2)
\fBgetrusage\fP(2)
\fBgetsid\fP(2)
\fBgetsockname\fP(2)
\fBgetsockopt\fP(2)
\fBgettid\fP(2)	2.4.11
\fBgettimeofday\fP(2)
\fBgetuid\fP(2)
\fBgetuid32\fP(2)	2.4
\fBgetxattr\fP(2)	2.6; 2.4.18
.\" \fBgetunwind\fP(2)	???	ia64; DEPRECATED
\fBgtty\fP(2)
\fBidle\fP(2)
\fBinit_module\fP(2)
\fBinotify_add_watch\fP(2)	2.6.13
\fBinotify_init\fP(2)	2.6.13
\fBinotify_rm_watch\fP(2)	2.6.13
\fBio_cancel\fP(2)	2.6; 2.4.20
\fBio_destroy\fP(2)	2.6; 2.4.20
\fBio_getevents\fP(2)	2.6; 2.4.20
\fBio_setup\fP(2)	2.6; 2.4.20
\fBio_submit\fP(2)	2.6; 2.4.20
\fBioctl\fP(2)
\fBioperm\fP(2)
\fBiopl\fP(2)
\fBioprio_get\fP(2)	2.6.13
\fBioprio_set\fP(2)	2.6.13
\fBipc\fP(2)
.\" Implements System V IPC calls
\fBkexec_load\fP(2)	2.6.7
.\" Was named sys_kexec_load() from 2.6.7 to 2.6.16
\fBkeyctl\fP(2)	2.6.11
\fBkill\fP(2)
\fBlchown\fP(2)	2.2
\fBlchown32\fP(2)	2.4
\fBlgetxattr\fP(2)	2.6; 2.4.18
\fBlink\fP(2)
\fBlinkat\fP(2)	2.6.16
\fBlisten\fP(2)
\fBlistxattr\fP(2)	2.6; 2.4.18
\fBllistxattr\fP(2)	2.6; 2.4.18
\fBlock\fP(2)
\fBlookup_dcookie\fP(2)	2.6
\fBlremovexattr\fP(2)	2.6; 2.4.18
\fBlseek\fP(2)
\fBlsetxattr\fP(2)	2.6; 2.4.18
\fBlstat\fP(2)
\fBlstat64\fP(2)	2.4
\fBmadvise\fP(2)	2.4
\fBmadvise1\fP(2)	2.4
\fBmbind\fP(2)	2.6.6
.\" \fBmemory_ordering\fP(2)	???	Sparc64
\fBmigrate_pages\fP(2)	2.6.16
\fBmincore\fP(2)	2.4
\fBmkdir\fP(2)
\fBmkdirat\fP(2)	2.6.16
\fBmknod\fP(2)
\fBmknodat\fP(2)	2.6.16
\fBmlock\fP(2)
\fBmlockall\fP(2)
\fBmmap\fP(2)
\fBmmap2\fP(2)	2.4
\fBmodify_ldt\fP(2)
\fBmount\fP(2)
\fBmove_pages\fP(2)	2.6.18
\fBmprotect\fP(2)
\fBmpx\fP(2)
\fBmq_getsetattr\fP(2)	2.6.6
.\" Implements \fBmq_getattr\fP(3) and \fBmq_setattr\fP(3)
\fBmq_notify\fP(2)	2.6.6
\fBmq_open\fP(2)	2.6.6
\fBmq_timedreceive\fP(2)	2.6.6
\fBmq_timedsend\fP(2)	2.6.6
\fBmq_unlink\fP(2)
\fBmremap\fP(2)
\fBmsgctl\fP(2)
\fBmsgget\fP(2)
\fBmsgrcv\fP(2)
\fBmsgsnd\fP(2)
\fBmsync\fP(2)
.\" \fBmultiplexer\fP(2)	??	__NR_multiplexer reserved on
.\"		PowerPC, but unimplemented?
\fBmunlock\fP(2)
\fBmunlockall\fP(2)
\fBmunmap\fP(2)
\fBnanosleep\fP(2)
\fBnfsservctl\fP(2)	2.2
\fBnice\fP(2)
\fBoldfstat\fP(2)
\fBoldlstat\fP(2)
\fBoldolduname\fP(2)
\fBoldstat\fP(2)
\fBolduname\fP(2)
\fBopen\fP(2)
\fBopenat\fP(2)	2.6.16
\fBpause\fP(2)
\fBpciconfig_iobase\fP(2)	2.2.15; 2.4	Not on i386
.\" Alpha, PowerPC, ARM; not i386
\fBpciconfig_read\fP(2)	2.0.26; 2.2	Not on i386
.\" , PowerPC, ARM; not i386
\fBpciconfig_write\fP(2)	2.0.26; 2.2	Not on i386
.\" , PowerPC, ARM; not i386
\fBpersonality\fP(2)
.\" \fBperfctr\fP(2)	???	Sparc32, Sparc64
.\" \fBperfmonctl\fP(2)	???	ia64
\fBphys\fP(2)
.\" Unimplemented (no slot since 2.1.116)
\fBpipe\fP(2)
\fBpivot_root\fP(2)	2.5
\fBpoll\fP(2)	2.2
\fBppoll\fP(2)	2.6.16
\fBprctl\fP(2)	2.2
\fBpread64\fP(2)		Added as "pread" in 2.2;
		renamed "pread64" in 2.6
\fBprof\fP(2)
\fBprofil\fP(2)
.\" Implemented in glibc; see \fBprofil\fP(3)
\fBpselect6\fP(2)	2.6.16
.\" Implements \fBpselect\fP(2)
\fBptrace\fP(2)
\fBputpmsg\fP(2)	2.2
.\" Reserved for STREAMS support
\fBpwrite64\fP(2)		Added as "pwrite" in 2.2;
		renamed "pwrite64" in 2.6
\fBquery_module\fP(2)	2.2
\fBquotactl\fP(2)
\fBread\fP(2)
\fBreadahead\fP(2)	2.4.13
\fBreaddir\fP(2)
.\" Supersedes \fBgetdents\fP(2)
\fBreadlink\fP(2)
\fBreadlinkat\fP(2)	2.6.16
\fBreadv\fP(2)
\fBreboot\fP(2)
\fBrecv\fP(2)
\fBrecvfrom\fP(2)
\fBrecvmsg\fP(2)
\fBremap_file_pages\fP(2)	2.6
\fBremovexattr\fP(2)	2.6; 2.4.18
\fBrename\fP(2)
\fBrenameat\fP(2)	2.6.16
\fBrequest_key\fP(2)	2.6.11
\fBrestart_syscall\fP(2)	2.6
\fBrmdir\fP(2)
\fBrt_sigaction\fP(2)	2.2
\fBrt_sigpending\fP(2)	2.2
\fBrt_sigprocmask\fP(2)	2.2
\fBrt_sigqueueinfo\fP(2)	2.2
.\" Implements \fBsigqueue\fP(2)
\fBrt_sigreturn\fP(2)	2.2
\fBrt_sigsuspend\fP(2)	2.2
\fBrt_sigtimedwait\fP(2)	2.2
\fBsched_get_priority_max\fP(2)
\fBsched_get_priority_min\fP(2)
\fBsched_getaffinity\fP(2)	2.6; 2.4.19
\fBsched_getparam\fP(2)
\fBsched_getscheduler\fP(2)
\fBsched_rr_get_interval\fP(2)
\fBsched_setaffinity\fP(2)	2.6; 2.4.19
\fBsched_setparam\fP(2)
\fBsched_setscheduler\fP(2)
\fBsched_yield\fP(2)
\fBsecurity\fP(2)	2.4.11
\fBselect\fP(2)
\fBsemctl\fP(2)
\fBsemget\fP(2)
\fBsemop\fP(2)
\fBsemtimedop\fP(2)	2.6; 2.4.22
\fBsend\fP(2)
\fBsendfile\fP(2)	2.2
\fBsendfile64\fP(2)	2.6; 2.4.19
\fBsendmsg\fP(2)
\fBsendto\fP(2)
\fBset_mempolicy\fP(2)	2.6.6
\fBset_robust_list\fP(2)	2.6.17
\fBset_thread_area\fP(2)	2.6; 2.4.20
\fBset_tid_address\fP(2)	2.6
\fBset_zone_reclaim\fP(2)	2.6.13	Removed in 2.6.16 (was never
		available to userspace)
.\" See http://lkml.org/lkml/2005/8/1/83
.\" "[PATCH] remove sys_set_zone_reclaim()"
\fBsetdomainname\fP(2)
\fBsetfsgid\fP(2)
\fBsetfsgid32\fP(2)	2.4
\fBsetfsuid\fP(2)
\fBsetfsuid32\fP(2)	2.4
\fBsetgid\fP(2)
\fBsetgid32\fP(2)	2.4
\fBsetgroups\fP(2)
\fBsetgroups32\fP(2)	2.4
\fBsethostname\fP(2)
\fBsetitimer\fP(2)
\fBsetpgid\fP(2)
\fBsetpriority\fP(2)
\fBsetregid\fP(2)
\fBsetregid32\fP(2)	2.4
\fBsetresgid\fP(2)	2.2
\fBsetresgid32\fP(2)	2.4
\fBsetresuid\fP(2)	2.2
\fBsetresuid32\fP(2)	2.4
\fBsetreuid\fP(2)
\fBsetreuid32\fP(2)	2.4
\fBsetrlimit\fP(2)
\fBsetsid\fP(2)
\fBsetsockopt\fP(2)
\fBsettimeofday\fP(2)
\fBsetuid\fP(2)
\fBsetuid32\fP(2)	2.4
\fBsetup\fP(2)		Removed in 2.2
\fBsetxattr\fP(2)	2.6; 2.4.18
\fBsgetmask\fP(2)
\fBshmat\fP(2)
\fBshmctl\fP(2)
\fBshmdt\fP(2)
\fBshmget\fP(2)
\fBshutdown\fP(2)
\fBsigaction\fP(2)
\fBsigaltstack\fP(2)	2.2
\fBsignal\fP(2)
\fBsignalfd\fP(2)	2.6.22
\fBsigpending\fP(2)
\fBsigprocmask\fP(2)
\fBsigreturn\fP(2)
\fBsigsuspend\fP(2)
\fBsocket\fP(2)
\fBsocketcall\fP(2)
.\" Implements BSD socket calls
\fBsocketpair\fP(2)
\fBsplice\fP(2)	2.6.17
\fBspu_create\fP(2)	2.6.16	PowerPC only
\fBspu_run\fP(2)	2.6.16	PowerPC only
\fBssetmask\fP(2)
\fBstat\fP(2)
\fBstat64\fP(2)	2.4
\fBstatfs\fP(2)
\fBstatfs64\fP(2)	2.6
\fBstime\fP(2)
\fBstty\fP(2)
\fBswapoff\fP(2)
\fBswapon\fP(2)
\fBsymlink\fP(2)
\fBsymlinkat\fP(2)	2.6.16
\fBsync\fP(2)
\fBsync_file_range\fP(2)	2.6.17
.\" \fBsys_debug_setcontext\fP(2)	???	PowerPC if CONFIG_PPC32
\fBsysfs\fP(2)
\fBsysinfo\fP(2)
\fBsyslog\fP(2)
.\" glibc interface is \fBklogctl\fP(3)
\fBtee\fP(2)	2.6.17
\fBtgkill\fP(2)	2.6
\fBtime\fP(2)
\fBtimer_create\fP(2)	2.6
\fBtimer_delete\fP(2)	2.6
\fBtimer_getoverrun\fP(2)	2.6
\fBtimer_gettime\fP(2)	2.6
\fBtimer_settime\fP(2)	2.6
\fBtimerfd_create\fP(2)	2.6.25
\fBtimerfd_gettime\fP(2)	2.6.25
\fBtimerfd_settime\fP(2)	2.6.25
\fBtimes\fP(2)
\fBtkill\fP(2)	2.6; 2.4.22
\fBtruncate\fP(2)
\fBtruncate64\fP(2)	2.4
\fBtuxcall\fP(2)
.\" Unimplemented; no slot on i386
.\" As at 2.6.22, tuxcall has a slot on PowerPC, x86_64, and alpha
\fBugetrlimit\fP(2)	2.4
\fBulimit\fP(2)
.\" Implemented in glibc; see \fBulimit\fP(3)
\fBumask\fP(2)
\fBumount\fP(2)
.\" sys_oldumount() -- __NR_umount
\fBumount2\fP(2)	2.2
.\" sys_umount() -- __NR_umount2
\fBuname\fP(2)
\fBunlink\fP(2)
\fBunlinkat\fP(2)	2.6.16
\fBunshare\fP(2)	2.6.16
\fBuselib\fP(2)
\fBustat\fP(2)
\fButime\fP(2)
\fButimensat\fP(2)	2.6.22
\fButimes\fP(2)	2.6
\fBvfork\fP(2)
\fBvhangup\fP(2)
\fBvm86old\fP(2)
.\" Superseded by \fBvm86\fP(2)
\fBvmsplice\fP(2)	2.6.17
\fBvserver\fP(2)	2.6
\fBwait4\fP(2)
\fBwaitid\fP(2)	2.6.10
\fBwaitpid\fP(2)
\fBwrite\fP(2)
\fBwritev\fP(2)
.TE
.PP
i386 ޤ¿ΥץåȥեǤϡåȴϢΥƥॳ
(glibc Υåѡؿ𤷤Ƥ) ٤
.BR socketcall (2)
ͳ¿ŤƤ롣
ƱͤˡSystem V IPC ϢΥƥॳ
.BR ipc (2)
ͳ¿ŤƤ롣
.SH 
ʲαդ뤳:
.IP * 3
ʲΥƥॳϡ
ƥॳ롦ơ֥˥åȤͽ󤵤Ƥ뤬
ɸΥͥˤϼƤʤ:
.BR afs_syscall (2), \" __NR_afs_syscall is 53 on Linux 2.6.22/i386
.BR break (2),       \" __NR_break is 17 on Linux 2.6.22/i386
.BR ftime (2),       \" __NR_ftime is 35 on Linux 2.6.22/i386
.BR getpmsg (2),     \" __NR_getpmsg is 188 on Linux 2.6.22/i386
.BR gtty (2),        \" __NR_gtty is 32 on Linux 2.6.22/i386
.BR idle (2),        \" __NR_idle is 112 on Linux 2.6.22/i386
.BR lock (2),        \" __NR_lock is 53 on Linux 2.6.22/i386
.BR madvise1 (2),    \" __NR_madvise1 is 219 on Linux 2.6.22/i386
.BR mpx (2),         \" __NR_mpx is 66 on Linux 2.6.22/i386
.BR phys (2),        \" Slot has been re-used
.BR prof (2),        \" __NR_prof is 44 on Linux 2.6.22/i386
.BR profil (2),      \" __NR_profil is 98 on Linux 2.6.22/i386
.BR putpmsg (2),     \" __NR_putpmsg is 189 on Linux 2.6.22/i386
.\" __NR_security is 223 on Linux 2.4/i386; absent on 2.6/i386, present
.\" on a couple of 2.6 architectures
.BR security (2),    \" __NR_security is 223 on Linux 2.4/i386
.BR stty (2),        \" __NR_stty is 31 on Linux 2.6.22/i386
.BR tuxcall (2),     \" __NR_tuxcall is 184 on x86_64, also on PPC and alpha
.BR ulimit (2),      \" __NR_ulimit is 58 on Linux 2.6.22/i386
.BR vserver (2)      \" __NR_vserver is 273 on Linux 2.6.22/i386
.RB ( unimplemented (2)
⻲)

.BR ftime (3),
.BR profil (3),
.BR ulimit (3)
ϥ饤֥ꡦ롼ȤƼƤ롣
.BR phys (2)
Ѥξ 2.1.116 ʹߤǤ
.BR umount (2)
Ѥ˻ѤƤ;
ˤƤ
.BR phys (2)
ϼʤ
.IP *
.BR getpmsg (2)

.BR putpmsg (2)
ϡȥ꡼бΥѥåƤ줿ͥѤΤΤǡ
ɸΥͥ¸ߤ뤳ȤϺʤ
.\" The security call is for future use.
.PP
Ƥϡ
.I /usr/include/asm/unistd.h
Ƥֹ __NR_xxx ΥƥॳΥɤϡ
ͥ롦
.IR sys_xxx ()
Ȥ롼˽񤫤Ƥ
(i386 ˤ¹ԥơ֥
.I /usr/src/linux/arch/i386/kernel/entry.S
˽񤫤Ƥ)
ˤ¿㳰롣ŤƥॳϿǤ֤
֤ϤޤηΩƤƹԤʤäǤ롣
parisc, sparc, sparc64, alpha Ȥäץץꥨ OS Υߥ졼
ǽץåȥեǤϡ¿ɲåƥॳ뤬롣
mips64 ˤϡ32 ӥåȥƥॳΥե륻åȤޤޤƤ롣

֤ηвȤȤˡĤΥƥॳǤϥ󥿥ե
ѹɬפˤʤäƤ
ѹͳΰĤϡƥॳϤ빽¤Τ䥹顼
Υ䤹ɬפ뤳Ȥä
ѹη̡ߤǤϡƱͤν¹Ԥ뤬
Υʤɤξܺ٤ϰۤʤ롢ϢΥƥॳ뷲
Ĥ¸ߤ
(㤨С
.BR truncate (2)

.BR ftruncate64 (2))
(Ǥ˽Ҥ٤褦ˡ
̤ˤϥץꥱ󤬤ΤȤռ뤳ȤϤʤ
glibc ΥåѡؿŬڤʥƥॳưŤХʥ
Ф ABI ٥Ǥθߴݻ뤳ȤݾڤԤäƤ롣)
ʣΥС¸ߤ륷ƥॳʲ˵󤲤롣
.IP * 3
ޤǤˡ
.BR stat (2)
ˤ 3 ΰۤʤС¸ߤ롣
.IR sys_stat ()
(åȤ
.IR __NR_oldstat )
.IR sys_newstat ()
(åȤ
.IR __NR_stat )
.IR sys_stat64 ()
(ͥ 2.4 Ƴ; åȤ
.IR __NR_stat64 )
3ĤΤǸΤΤǿǤ롣
.\" e.g., on 2.6.22/i386: __NR_oldstat 18, __NR_stat 106, __NR_stat64 195
.\" The stat system calls deal with three different data structures,
.\" defined in include/asm-i386/stat.h: __old_kernel_stat, stat, stat64
.BR lstat (2)

.BR fstat (2)
ˤĤƤƱͤǤ롣
.IP *
ޤ 
.IR __NR_oldolduname ,
.IR __NR_olduname ,
.I __NR_uname
Ȥϡ줾
.IR sys_olduname (),
.IR sys_uname (),
.IR sys_newuname ()
Ȥ롼򻲾ȤƤ롣
.IP *
Linux 2.0 Ǥϡ
.BR vm86 (2)
οСо줷ͥ롼
ŤС󡢿СϤ줾
.IR sys_vm86old (),
.IR sys_vm86 ()
Ȥ̾Ǥ롣
.IP *
Linux 2.4 Ǥϡ
.BR getrlimit (2)
οСо줷ͥ롼
ŤС󡢿СϤ줾
.IR sys_old_getrlimit ()
(åȤ
.IR __NR_getrlimit ),
.IR sys_getrlimit ()
(åȤ
.IR __NR_ugetrlimit )
Ȥ̾Ǥ롣
.IP *
Linux 2.4 ǡ桼 ID ȥ롼 ID Υ
16 ӥåȤ 32 ӥåȤ
.\" 64 bit off_t changes: ftruncate64, *stat64,
.\" fcntl64 (because of the flock structure), getdents64, *statfs64
ѹб뤿ᡢĤΥƥॳ뤬ɲä줿
.RB ( chown32 (2),
.BR getuid32 (2),
.BR getgroups32 (2),
.BR setresuid32 (2)
ʤ)
Υƥॳ뤬 "32" դʤƱ̾
ŤСäƻȤ褦ˤʤä
.IP *
Linux 2.4 Ǥϡ32 ӥåȡƥΥץꥱ
礭ʥե (Ĥޤꡢ32 ӥåȤǤɽǤʤ
ե롦եåȤɬפʥե) ˥Ǥ褦ˤʤä
ѹб뤿ᡢե롦եåȤȥ򰷤
ƥॳ֤ɬפȤʤäη̡
.BR fcntl64 (2),
.BR ftruncate64 (2),
.BR getdents64 (2),
.BR stat64 (2),
.BR statfs64 (2)
ȡեǥץ䥷ܥå󥯤Ʊǽ
ƥॳ뤬ɲä줿
Υƥॳ뤬 "64" դʤƱ̾
ŤСäƻȤ褦ˤʤä
â"stat" ϤΥƥॳϤθ¤ǤϤʤ

64-bit ե륢 32-bit UID Τߤ
ץåȥե (alpha, ia64, s390x ʤ) Ǥϡ
*64  *32 Ȥ̾ΥƥॳϤʤ
*64  *32 Ȥƥॳ뤬¸ߤ硢
*64  *32 ĤƤʤƥॳѻ߰Ǥ롣
.IP *
ꥢ륿ॷʥ
.RB ( signal (7)
) ؤбɲä뤿ˡ
.I rt_sig*
ϤΥƥॳ뤬ͥ 2.2 ɲä줿
Υƥॳ뤬Ƭ "rt_" դʤƱ̾
ŤСäƻȤ褦ˤʤä
.IP *
.BR select (2)

.BR mmap (2)
 5Ĥ⤷ϤʾΥѥ᡼ѤƤꡢ
i386 Ǥϥѥ᡼μϤ꤬롣
Τᡢ¾ΥƥǤ
.I __NR_select

.I __NR_mmap
б
.IR sys_select ()

.IR sys_mmap ()
¸ߤ뤬i386 Ǥ
.IR old_select ()

.IR old_mmap ()
Ȥ롼󤬤
(Υ롼ϥѥ᡼֥åؤΥݥ󥿤Ѥ)
ߤǤ 5ĤΥѥ᡼ϤȤϤϤǤϤʤʤäƤꡢ
.\" (libc 6 ǻѤ)
.I __NR__newselect

.IR sys_select ()
ľб褦ˤʤäƤ롣
.I __NR_mmap2
ˤĤƤƱͤǤ롣
.\" .PP
.\" Two system call numbers,
.\" .IR __NR__llseek
.\" and
.\" .IR __NR__sysctl
.\" have an additional underscore absent in
.\" .IR sys_llseek ()
.\" and
.\" .IR sys_sysctl ().
.\"
.\" In kernel 2.1.81,
.\" .BR lchown (2)
.\" and
.\" .BR chown (2)
.\" were swapped; that is,
.\" .BR lchown (2)
.\" was added with the semantics that were then current for
.\" .BR chown (2),
.\" and the semantics of the latter call were changed to what
.\" they are today.
.SH Ϣ
.BR syscall (2),
.BR unimplemented (2)