X-Git-Url: https://pd.if.org/git/?a=blobdiff_plain;ds=sidebyside;f=functions%2Fstdio%2Fputs.c;h=d4ec498a86cd43060acf13e434e5b26d1a9cffa6;hb=b589d7c67f9130207ab72d8b7c687b94d5bcc352;hp=9354351f69026f899c0699a890a14e2e66b956ec;hpb=dcc8a8e99f69e090a03b7b868443addbc0817820;p=pdclib.old 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)); +} +*/