Changes in uspace/lib/c/generic/io/io.c [2f72c67a:7699c21] in mainline
- File:
-
- 1 edited
-
uspace/lib/c/generic/io/io.c (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
uspace/lib/c/generic/io/io.c
r2f72c67a r7699c21 39 39 #include <str.h> 40 40 #include <errno.h> 41 #include < bool.h>41 #include <stdbool.h> 42 42 #include <malloc.h> 43 43 #include <async.h> … … 192 192 } 193 193 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 194 208 static void _setvbuf(FILE *stream) 195 209 {
Note:
See TracChangeset
for help on using the changeset viewer.
