Skip to main content

  | मौसम…

411 समाचार
Public archive edition · Attributed source reporting with original dates · AI drafts are excluded

411 REFERENCE · Wikibooks

C++ Programming/Code/Standard C Library/Functions/setbuf

Reference material by Wikibooks contributors. This retains its source identity and is not 411 news reporting.

setbuf #include <cstdio> void setbuf( FILE *stream, char *buffer ); The setbuf() function sets stream to use buffer, or, if buffer is NULL, turns off buffering. This function expects that the buffer be BUFSIZ characters long - since this function does not support specifying the size of the buffer, buffers larger than BUFSIZ will be partly unused. Related topics fclose - fopen - setvbuf