delorie.com/djgpp/doc/libc/libc_704.html | search |
[ < ] | [ > ] | [ << ] | [ Up ] | [ >> ] | [Top] | [Contents] | [Index] | [ ? ] |
#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.
ANSI/ISO C | No |
POSIX | No |
setlinebuf(stderr); |
webmaster | delorie software privacy |
Copyright © 2004 | Updated Apr 2004 |