setbuf

Controls buffering.

int setbuf (FILE * stream, char * buffer);

Required Header
<stdio.h>

Return Value

This function returns zero on success. -1 indicates an error.

Parameters

stream

  A pointer to the open FILE structure

buffer

  Type of access permitted

Remarks

The setbuf function does nothing in the JCC library, the function always returns zero when stream is a valid open file.

Stream I/O Routines

See Also    fclose, fflush, fopen, setvbuf