source: trunk/sys/dietlibc/setlinebuf.c @ 184

Last change on this file since 184 was 1, checked in by alain, 8 years ago

First import

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 */
6void setlinebuf(FILE* stream);
7
8void setlinebuf(FILE* stream) {
9  setvbuf(stream,0,_IOLBF,BUFSIZ);
10}
11
12link_warning("setlinebuf","warning: you used setlinebuf without including <stdio.h>")
Note: See TracBrowser for help on using the repository browser.