7.1 _exit Function

Terminate program execution.

Attention: This interface function is not implemented by MPLAB XC8 C compilers.

Include

<unistd.h>

Prototype

void _exit(int status);

Argument

status
exit status

Remarks

This function is implemented as a stub that must be completed to suit the application.

This is a helper function called by the exit() Standard C Library function.

Default Behavior

As distributed, this function flushes stdout and terminates. The parameter status is the same as that passed to the exit() standard C library function.

Source File

_exit.c