| www.delorie.com/djgpp/doc/libc-2.01/libc_571.html | search |
#include <stdio.h> void setlinebuf(FILE *file);
This function modifies the buffering characteristics of file.
First, if the file already has a buffer, it is freed. If there was any
pending data in it, it is lost, so this function should only be used
immediately after a call to fopen.
Next, a buffer is allocated and the file is set to line buffering.
See section setbuf. See section setlinebuf. See section setvbuf.
None.
setlinebuf(stderr);
Go to the first, previous, next, last section, table of contents.
| prev next webmaster | delorie software privacy |
| Copyright © 1997 | Updated Apr 1997 |