qc.hlp (Table of Contents; Topic list)
Important Notice
The pages on this site contain documentation for very old MS-DOS software, purely for historical purposes. If you're looking for up-to-date documentation, particularly for programming, you should not rely on the information found here, as it will be woefully out of date.
setbuf
 Summary Example                         Up Contents Index Back
────────────────────────────────────────────────────────────────────────────
 
     The setbuf function allows the user to control buffering for
     <stream>. The <stream> argument must refer to an open file before
     it has been read or written. If the <buffer> argument is NULL, the
     stream is unbuffered. If not, the buffer must point to a character
     array of length BUFSIZ, where BUFSIZ is the buffer size as defined
     in STDIO.H. The user-specified buffer is used for I/O buffering
     instead of the default system-allocated buffer for the given
     stream.
 
     The stderr and (in DOS only) stdaux streams are unbuffered by
     default, but can be assigned buffers with setbuf.
 
     The setbuf function has been superceded by the setvbuf function,
     which should be the preferred routine for new code. The setbuf
     function is retained for compatibility with existing code.
 
     Return Value
 
     None.
                                    -♦-