Commit f705aa26 authored by Fred Drake's avatar Fred Drake

Add index entries for open():

	buffer size, I/O
	I/O control, buffering
	line-buffered I/O
	unbuffered I/O
parent 385090ba
...@@ -443,7 +443,10 @@ one argument, return the smallest of the arguments. ...@@ -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
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment