source:
trunk/minix/lib/stdio/setbuf.c@
20
Last change on this file since 20 was 9, checked in by , 14 years ago | |
---|---|
File size: 308 bytes |
Rev | Line | |
---|---|---|
[9] | 1 | /* |
2 | * setbuf.c - control buffering of a stream | |
3 | */ | |
4 | /* $Header: /cvsup/minix/src/lib/stdio/setbuf.c,v 1.1.1.1 2005/04/21 14:56:36 beng Exp $ */ | |
5 | ||
6 | #include <stdio.h> | |
7 | #include "loc_incl.h" | |
8 | ||
9 | void | |
10 | setbuf(register FILE *stream, char *buf) | |
11 | { | |
12 | (void) setvbuf(stream, buf, (buf ? _IOFBF : _IONBF), (size_t) BUFSIZ); | |
13 | } |
Note:
See TracBrowser
for help on using the repository browser.