Throughout this book we have used several system calls. We gather the information about them in this appendix.
Note
It is always a good idea to read the man pages first, for example, man -s 2 write.
The exact flag and parameter values vary from system to system and should never be used in the immediate form. If you write in C, use the relevant headers (shown in man pages for the system call of interest). If you write in assembly, you will have to use LXR or another online system with annotated kernel code or look through these C headers yourself and create your own, corresponding %define’s.
The values ...