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.

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

perror Prints a diagnostic message.<br />

#include <br />

#include <br />

void perror(<br />

const char *s /* error string */<br />

)<br />

Description<br />

Arguments<br />

Return Value<br />

Error Codes<br />

Notes<br />

See Also<br />

The perror() function writes the string pointed to by s followed by a diagnostic<br />

message to the standard error device. The diagnostic message is a function of the<br />

calling task's errno value.<br />

s Points to the string to write (error message).<br />

This function does not return a value.<br />

No error codes are returned.<br />

Callable From<br />

■ Task<br />

errno<br />

3-114 <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!