O'Reilly logo

Low-Level Programming: C, Assembly, and Program Execution on Intel® 64 Architecture by Igor Zhirkov

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

© Igor Zhirkov 2017

Igor Zhirkov, Low-Level Programming, 10.1007/978-1-4842-2403-8_20

20. Appendix C. System Calls

Igor Zhirkov

(1)Saint Petersburg, Russia

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 ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required