ILE C/C++ Programmer's Guide
Three buffering schemes are defined for ISO standard C streams. They
are:
- Unbuffered - characters are intended to appear from the source or
at the destination, as soon as possible. The ILE C compiler does not
support unbuffered streams.
- Fully buffered - characters are transmitted to and from a file
one block at time, after the buffer is full. The ILE C compiler treats
a block as the size of the system file's record.
- Line buffered - characters are transmitted to and from a file, as
a block, when a new-line control character (\n) is
encountered.
The ILE C compiler supports fully-buffered and line-buffered streams
in the same manner, because a block and a line are equal to the record length
of the opened file.
- Note:
- The setbuf() and setvbuf() functions do not allow you
to control buffering and buffer size when using the data management
system.
[ Top of Page | Previous Page | Next Page | Table of Contents ]
(C) Copyright IBM Corporation 1992, 2005. All Rights Reserved.