06.08.2013 Views

pSOSystem System Calls - Read

pSOSystem System Calls - Read

pSOSystem System Calls - Read

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

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

abort Aborts a task.<br />

#include <br />

void abort (void);<br />

Description<br />

Return Value<br />

Error Codes<br />

Notes<br />

See Also<br />

The abort() macro is used to terminate a task. abort() simply invokes the<br />

exit() macro with an argument of zero. For further details, refer to the exit()<br />

macro on page 3-28.<br />

If the task is successfully deleted, the abort() macro does not return to its caller. If<br />

the task cannot be deleted successfully, abort() suspends the task indefinitely<br />

and does not return to its caller unless the task is explicitly resumed by another<br />

task in the system.<br />

None.<br />

Callable From<br />

■ Task<br />

exit()<br />

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

3

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

Saved successfully!

Ooh no, something went wrong!