Specifies the buffer to be used by the stream for I/O operations, which becomes a fully buffered stream. Or, alternatively, if buffer is a null pointer, buffering is disabled for the stream, which becomes an unbuffered stream.Syntax:
void setbuf ( FILE * stream, char * buffer );Example:
int main ()
FILE *pFile1, *pFile2;
setbuf ( pFile1 , buffer );
fputs ("This is sent to a buffered stream",pFile1);
setbuf ( pFile2 , NULL );
fputs ("This is sent to an unbuffered stream",pFile2);
All information of this service is derived from the free sources and is provided solely in the form of quotations.
This service provides information and interfaces solely for the familiarization (not ownership) and under the "as is" condition.
Copyright 2016 © ELTASK.COM. All rights reserved.
Site is optimized for mobile devices.
Downloads: 167 / 159177986. Delta: 0.00301 с