source:
trunk/sys/dietlibc/setlinebuf.c
@
134
Last change on this file since 134 was 1, checked in by , 8 years ago | |
---|---|
File size: 312 bytes |
Rev | Line | |
---|---|---|
[1] | 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.