C Language and Libraries Help (clang.hlp) (Table of Contents; Topic list)
Important Notice
The pages on this site contain documentation for very old MS-DOS software, purely for historical purposes. If you're looking for up-to-date documentation, particularly for programming, you should not rely on the information found here, as it will be woefully out of date.
putc, putchar
 Summary Example                         Up Contents Index Back
─────Run-Time Library───────────────────────────────────────────────────────
 
     The putc routine writes the single character <c> to the output
     stream at the current position. The putchar routine is identical
     to putc( <c>, stdout ). These routines are implemented as both
     macros and functions.
 
     Return Value
 
     The putc and putchar routines return the character written, or EOF
     in the case of an error. Any integer can be passed to putc, but
     only the lower eight bits are written.
                                    -♦-