06.08.2013 Views

pSOSystem System Calls - Read

pSOSystem System Calls - Read

pSOSystem System Calls - Read

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

putchar pREPC+ <strong>System</strong> <strong>Calls</strong><br />

putchar Writes a character to stdout.<br />

#include <br />

#include <br />

int putchar(<br />

int c /* character */<br />

)<br />

Description<br />

Arguments<br />

Return Value<br />

Error Codes<br />

Notes<br />

See Also<br />

The putchar() function writes the character c to the standard output stream after<br />

converting it to an unsigned char.<br />

c Specifies the character to write.<br />

The putchar() function returns letter. If a write error occurs, the error flag for<br />

the standard output stream is set, EOF is returned, and errno is set.<br />

Refer to Appendix B.<br />

Callable From<br />

■ Task<br />

getchar, putc<br />

3-118 <strong>pSO<strong>System</strong></strong> <strong>System</strong> <strong>Calls</strong>

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!