putc.c (126B)
1 #include <stdio.h> 2 #undef putc 3 4 int 5 putc(int ch, FILE *fp) 6 { 7 return (fp->wp >= fp->rp) ? __putc(ch,fp) : (*fp->wp++ = ch); 8 }
![]() | 9osExperimental kernel using plan9 ideas for embedded device |
git clone git://git.simple-cc.org/9os | |
Log | Files | Refs | README | LICENSE |