#endif
/* See setvbuf(), third argument */
-#define _IOFBF 2
-#define _IOLBF 1
-#define _IONBF 0
+#define _IOFBF 1
+#define _IOLBF 2
+#define _IONBF 4
/* The following are platform-dependant, and defined in _PDCLIB_config.h. */
typedef _PDCLIB_fpos_t fpos_t;
/* Equivalent to fputc( c, stdout ), but may be implemented as a macro that
evaluates its parameter more than once.
*/
-int putchar( int c );
+#define putchar( c ) putc( c, stdout )
/* Write the string s (not including the terminating \0) to stdout, and append
a newline to the output. Returns a value >= 0 when successful, EOF if a