X-Git-Url: https://pd.if.org/git/?a=blobdiff_plain;ds=sidebyside;f=functions%2Fstdio%2Fputs.c;h=d4ec498a86cd43060acf13e434e5b26d1a9cffa6;hb=0a5395faab237ba9008352b0f4bee9659bbd3d5f;hp=9354351f69026f899c0699a890a14e2e66b956ec;hpb=34893ecc2200dc7017c36a54cb6c5f4c2378b5ec;p=pdclib diff --git a/functions/stdio/puts.c b/functions/stdio/puts.c index 9354351..d4ec498 100644 --- a/functions/stdio/puts.c +++ b/functions/stdio/puts.c @@ -6,3 +6,16 @@ // ---------------------------------------------------------------------------- int puts( const char * s ) { /* TODO */ }; + +/* PDPC code - unreviewed +{ + int ret; + + ret = fputs(s, stdout); + if (ret == EOF) + { + return (ret); + } + return (putc('\n', stdout)); +} +*/