Add index entries for open():

buffer size, I/O
	I/O control, buffering
	line-buffered I/O
	unbuffered I/O
This commit is contained in:
Fred Drake 1999-08-05 13:43:08 +00:00
parent 8c9fc00f8d
commit d3fbdfd007
1 changed files with 4 additions and 1 deletions

View File

@ -443,7 +443,10 @@ one argument, return the smallest of the arguments.
binary file, you should append \code{'b'} to the \var{mode} value binary file, you should append \code{'b'} to the \var{mode} value
for improved portability. (It's useful even on systems which don't for improved portability. (It's useful even on systems which don't
treat binary and text files differently, where it serves as treat binary and text files differently, where it serves as
documentation.) The optional \var{bufsize} argument specifies the documentation.)
\index{line-buffered I/O}\index{unbuffered I/O}\index{buffer size, I/O}
\index{I/O control!buffering}
The optional \var{bufsize} argument specifies the
file's desired buffer size: 0 means unbuffered, 1 means line file's desired buffer size: 0 means unbuffered, 1 means line
buffered, any other positive value means use a buffer of buffered, any other positive value means use a buffer of
(approximately) that size. A negative \var{bufsize} means to use (approximately) that size. A negative \var{bufsize} means to use