X-Git-Url: https://pd.if.org/git/?p=pdclib;a=blobdiff_plain;f=functions%2Fstdio%2Ffputs.c;h=e7a04f7d670a51341a114516f4be69bc87a363ff;hp=86abe11188058dd4566cac1c4775b0f07f9da256;hb=0a5395faab237ba9008352b0f4bee9659bbd3d5f;hpb=34893ecc2200dc7017c36a54cb6c5f4c2378b5ec 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 +*/