X-Git-Url: https://pd.if.org/git/?a=blobdiff_plain;f=functions%2Fstdio%2Ffputs.c;fp=functions%2Fstdio%2Ffputs.c;h=e7a04f7d670a51341a114516f4be69bc87a363ff;hb=e5456e3c2697c4e17fc9aa3439f2e305517b4d96;hp=86abe11188058dd4566cac1c4775b0f07f9da256;hpb=dcc8a8e99f69e090a03b7b868443addbc0817820;p=pdclib.old diff --git a/functions/stdio/fputs.c b/functions/stdio/fputs.c index 86abe11..e7a04f7 100644 --- a/functions/stdio/fputs.c +++ b/functions/stdio/fputs.c @@ -6,3 +6,16 @@ // ---------------------------------------------------------------------------- int fputs( const char * restrict s, FILE * restrict stream ) { /* TODO */ }; + +/* PDPC code - unreviewed +#ifndef __MVS__ +int fputs(const char *s, FILE *stream) +{ + size_t len; + + len = strlen(s); + fwrite(s, len, 1, stream); + return (0); +} +#endif +*/