
Syscall Reference
This appendix includes several descriptions of useful
system calls. For more complete information about the
system calls available on Linux and FreeBSD, take a look
at the syscall man pages and the header files they refer
to. Before trying to implement a system call in
assembly, first try it out in a simple C program. That
way you can become familiar with the system call’s
behavior, and this will allow you to write better code.
Appendix D
641
327_SSPC_AppD.qxd 2/25/05 3:28 PM Page 641