scc

simple c99 compiler
git clone git://git.simple-cc.org/scc
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 }