Skip to Content
Advanced Programming in the UNIX® Environment, Third Edition
book

Advanced Programming in the UNIX® Environment, Third Edition

by W. Richard Stevens, Stephen A. Rago
May 2013
Intermediate to advanced
1024 pages
34h 32m
English
Addison-Wesley Professional
Content preview from Advanced Programming in the UNIX® Environment, Third Edition

5. Standard I/O Library

5.1. Introduction

In this chapter, we describe the standard I/O library. This library is specified by the ISO C standard because it has been implemented on many operating systems other than the UNIX System. Additional interfaces are defined as extensions to the ISO C standard by the Single UNIX Specification.

The standard I/O library handles such details as buffer allocation and performing I/O in optimal-sized chunks, obviating our need to worry about using the correct block size (as in Section 3.9). This makes the library easy to use, but at the same time introduces another set of problems if we’re not cognizant of what’s going on.

The standard I/O library was written by Dennis Ritchie around 1975. It was a major revision ...

Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

Advanced UNIX Programming, Second Edition

Advanced UNIX Programming, Second Edition

Marc J. Rochkind
What Employees Want Most in Uncertain Times

What Employees Want Most in Uncertain Times

Kristine W. Powers, Jessica B.B. Diaz

Publisher Resources

ISBN: 9780321638014Purchase bookOther