]> pd.if.org Git - pdclib/blobdiff - functions/stdio/fputs.c
Merged PDPCLIB and Therx code.
[pdclib] / functions / stdio / fputs.c
index 86abe11188058dd4566cac1c4775b0f07f9da256..e7a04f7d670a51341a114516f4be69bc87a363ff 100644 (file)
@@ -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
+*/