_exit Function

Terminate program execution.

Attention: This interface function is implemented only by MPLAB XC32 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 suite 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