Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/lib/c/generic/io/io.c

    r7699c21 r3e6a98c5  
    192192}
    193193
    194 /** Set stream buffer.
    195  *
    196  * When @p buf is NULL, the stream is set as unbuffered, otherwise
    197  * full buffering is enabled.
    198  */
    199 void setbuf(FILE *stream, void *buf)
    200 {
    201         if (buf == NULL) {
    202                 setvbuf(stream, NULL, _IONBF, BUFSIZ);
    203         } else {
    204                 setvbuf(stream, buf, _IOFBF, BUFSIZ);
    205         }
    206 }
    207 
    208194static void _setvbuf(FILE *stream)
    209195{
Note: See TracChangeset for help on using the changeset viewer.