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

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

First import

File size: 312 bytes
RevLine 
[1]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.