Uninitialized vector entry?
[minix3.git] / lib / stdio / fputs.c
blob99fe5a7129fbbf9d7795f5395e6b02c40e6fb84a
1 /*
2 * fputs - print a string
3 */
4 /* $Header$ */
6 #include <stdio.h>
8 int
9 fputs(register const char *s, register FILE *stream)
11 register int i = 0;
13 while (*s)
14 if (putc(*s++, stream) == EOF) return EOF;
15 else i++;
17 return i;