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.

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

isdigit Tests for a digit.<br />

#include <br />

int isdigit(<br />

int c /* character */<br />

)<br />

Description<br />

Arguments<br />

Return Value<br />

Error Codes<br />

Notes<br />

This function tests the value in c (converted to an unsigned char) to see if it is a<br />

decimal digit (0 through 9).<br />

c Specifies the value to be tested.<br />

This function returns a nonzero value if the test result is true. It returns a 0 if the<br />

result is false.<br />

Refer to Appendix B.<br />

Callable From<br />

■ Task<br />

■ ISR<br />

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