Annotation of coherent/a/usr/man/ALL/setbuf, revision 1.1.1.1

1.1       root        1: 
                      2: 
                      3: setbuf()                      STDIO                      setbuf()
                      4: 
                      5: 
                      6: 
                      7: 
                      8: Set alternative stream buffers
                      9: 
                     10: #include <stdio.h>
                     11: vvooiidd sseettbbuuff(_f_p, _b_u_f_f_e_r) FFIILLEE *_f_p; cchhaarr *_b_u_f_f_e_r;
                     12: 
                     13: The  standard I/O  library STDIO  automatically buffers  all data
                     14: read and  written in  streams, with  the exception of  streams to
                     15: terminal  devices.  STDIO  normally uses  malloc to  allocate the
                     16: buffer, which  is a char array BUFSIZ  characters long; BUFSIZ is
                     17: defined in the header file stdio.h.
                     18: 
                     19: setbuf's arguments  are the file  stream fp and the  buffer to be
                     20: associated with the stream.   The call should be issued after the
                     21: stream has  been opened, but  before any input  or output request
                     22: has been  issued.  The  _b_u_f_f_e_r passed to  setbuf may be  NULL, in
                     23: which case  the stream will  be unbuffered, or  contains at least
                     24: BUFSIZ bytes.
                     25: 
                     26: setbuf returns nothing.
                     27: 
                     28: ***** See Also *****
                     29: 
                     30: fopen(), malloc(), STDIO
                     31: 
                     32: 
                     33: 
                     34: 
                     35: 
                     36: 
                     37: 
                     38: 
                     39: 
                     40: 
                     41: 
                     42: 
                     43: 
                     44: 
                     45: 
                     46: 
                     47: 
                     48: 
                     49: 
                     50: 
                     51: 
                     52: 
                     53: 
                     54: 
                     55: 
                     56: 
                     57: 
                     58: 
                     59: 
                     60: 
                     61: 
                     62: 
                     63: 
                     64: COHERENT Lexicon                                           Page 1
                     65: 
                     66: 

unix.superglobalmegacorp.com

This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.