Buffered Input and Output

  • M. R. M. Dunsmuir
  • G. J. Davies
Part of the Macmillan Computer Science Series book series (COMPSS)


The UNIX system provides system calls which give direct access to the I/O functions of the kernel however, the efficiency of programmed I/O can be greatly improved by buffering data in the users program and so reducing the number of these calls. In fact, buffered I/O is such a commonly used technique that UNIX provides a complete package called the Standard I/O Libraries to support it. Not only does this package provide a standard I/O interface for programs but it also provides a wide variety of useful functions such as formatted input and output. The use of these libraries is the subject of this chapter.


Unable to display preview. Download preview PDF.

Unable to display preview. Download preview PDF.

Further Reading

  1. B. W. Kernighan (1978) UNIX Programming — Second Edition, UNIX V7, volume 2a.Google Scholar

Copyright information

© M. R. M. Dunsmuir and G. J. Davies 1985

Authors and Affiliations

  • M. R. M. Dunsmuir
  • G. J. Davies

There are no affiliations available

Personalised recommendations