9os

Experimental kernel using plan9 ideas for embedded device
git clone git://git.simple-cc.org/9os
Log | Files | Refs | README | LICENSE

setbuf.c (143B)


      1 #include <stdio.h>
      2 #undef setbuf
      3 
      4 void
      5 setbuf(FILE * restrict fp, char * restrict buf)
      6 {
      7 	setvbuf(fp, buf, (buf) ? _IOFBF : _IONBF, BUFSIZ);
      8 }