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.

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

labs Computes the absolute value of a long integer.<br />

#include <br />

long labs (<br />

long j /* long integer */<br />

)<br />

Description<br />

Arguments<br />

Return Value<br />

Error Codes<br />

Notes<br />

See Also<br />

The labs() function converts the long integer j into its absolute value. If the result<br />

cannot be represented, the behavior is undefined.<br />

j Specifies the long integer to be converted.<br />

labs() returns the absolute value.<br />

None.<br />

Callable From<br />

■ Task<br />

■ ISR<br />

labs<br />

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