O'Reilly logo

Advanced Linux Programming by Alex Samuel, Jeffrey Oldham, Mark Mitchell

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

Appendix B. Low-Level I/O

image

C PROGRAMMERS ON GNU/LINUX HAVE TWO SETS OF INPUT/OUTPUT functions at their disposal. The standard C library provides I/O functions: printf, fopen, and so on.[1] The Linux kernel itself provides another set of I/O operations that operate at a lower level than the C library functions.

[1] The C++ standard library provides iostreams with similar functionality. The standard C library is also available in the C++ language.

Because this book is for people who already know the C language, we’ll assume that you have encountered and know how to use the C library I/O functions.

Often there are good reasons to use Linux’s ...

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