7.19.5.5 The setbuf function

Synopsis

1

#include <stdio.h>
void setbuf(FILE * restrict stream,
     char * restrict buf);

Description

2

Except that it returns no value, the setbuf function is equivalent to the setvbuf function invoked with the values _IOFBF for mode and BUFSIZ for size, or (if buf is a null pointer), with the value _IONBF for mode.

Returns

3

The setbuf function returns no value.

Forward References