On Tue, 30 Apr 2002, at 9:40am, [EMAIL PROTECTED] wrote: > Someone mentioned to me that setvbuf() is "meant to be used on streams, > which is character based data, and in Linux, all devices are block based" > so I can't use setvbuf.
This, BTW, is bogus. Streams are an artifact of the C standard library. It does not matter if the kernel uses block devices, character devices, or punched cards. The whole point of the C library is to abstract that stuff away from the user. You can get C stdio streams on Microsoft Windows, Digital I mean Compaq I mean HP VMS, IBM OS/390, and just about anything else, even though those OSes might not have anything like the Unix API. -- Ben Scott <[EMAIL PROTECTED]> | The opinions expressed in this message are those of the author and do not | | necessarily represent the views or policy of any other person, entity or | | organization. All information is provided without warranty of any kind. | ***************************************************************** To unsubscribe from this list, send mail to [EMAIL PROTECTED] with the text 'unsubscribe gnhlug' in the message body. *****************************************************************
