11.2. File Application Programming Interfaces (APIs)
Several different APIs perform file I/O in Solaris. These include standard I/O—the generic C buffered I/O mechanism—and several flavors of low-level operating system file I/O.
The traditional C buffered interfaces are known as the Standard I/O functions, abbreviated as stdio. They are the buffered I/O interfaces that were added to Unix V6 by Bell Laboratories in 1976; they appear as a standard file I/O mechanism in nearly all C runtime environments. These stdio library interfaces exist as a layer above the lower-level system calls.
Of the several different types of system I/O, the most basic are the read and write system calls. The more advanced (and more recent) are POSIX I/O through pread ...
Get Solaris™ Internals: Core Kernel Components now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.