17 lines
244 B
C
17 lines
244 B
C
#include <stdio.h>
|
|
#include <stdlib.h>
|
|
|
|
void main()
|
|
{
|
|
char *buffer;
|
|
FILE *fp;
|
|
|
|
fp = fopen( "file", "r" );
|
|
buffer = (char *) malloc( BUFSIZ );
|
|
setbuf( fp, buffer );
|
|
/* . */
|
|
/* . */
|
|
/* . */
|
|
fclose( fp );
|
|
}
|