> #1 If you are using system V.2 (also in forthcoming ANSI std): > setvbuf( FILE *stream, char *buf, int type, int size ); Note that setvbuf() as distributed with SVR2 was quite broken. Some time ago I posted a replacement to net.bugs.usg.