source:
trunk/sys/dietlibc/setlinebuf.c
@
86
Last change on this file since 86 was 1, checked in by , 8 years ago | |
---|---|
File size: 312 bytes |
Line | |
---|---|
1 | #include <stdio.h> |
2 | #include "dietwarning.h" |
3 | #undef setlinebuf |
4 | |
5 | /* there is no previous prototype because it is a #define */ |
6 | void setlinebuf(FILE* stream); |
7 | |
8 | void setlinebuf(FILE* stream) { |
9 | setvbuf(stream,0,_IOLBF,BUFSIZ); |
10 | } |
11 | |
12 | link_warning("setlinebuf","warning: you used setlinebuf without including <stdio.h>") |
Note: See TracBrowser
for help on using the repository browser.