]> git.lizzy.rs Git - plan9front.git/blob - sys/src/libstdio/fputs.c
sdiahci, sdodin: avoid calling kproc() while holding ilock()
[plan9front.git] / sys / src / libstdio / fputs.c
1 /*
2  * pANS stdio -- fputs
3  */
4 #include "iolib.h"
5 int fputs(const char *s, FILE *f){
6         while(*s) putc(*s++, f);
7         return ferror(f)?EOF:0;
8 }