]> pd.if.org Git - pdclib/blob - functions/stdio/fputs.c
e7a04f7d670a51341a114516f4be69bc87a363ff
[pdclib] / functions / stdio / fputs.c
1 // ----------------------------------------------------------------------------
2 // $Id$
3 // ----------------------------------------------------------------------------
4 // Public Domain C Library - http://pdclib.sourceforge.net
5 // This code is Public Domain. Use, modify, and redistribute at will.
6 // ----------------------------------------------------------------------------
7
8 int fputs( const char * restrict s, FILE * restrict stream ) { /* TODO */ };
9
10 /* PDPC code - unreviewed
11 #ifndef __MVS__
12 int fputs(const char *s, FILE *stream)
13 {
14     size_t len;
15
16     len = strlen(s);
17     fwrite(s, len, 1, stream);
18     return (0);
19 }
20 #endif
21 */