This function is compatible with the following targets:
|
|
#include <stdlib.h>
void abort(void)Parameters: Remarks: See Also:
"assert", "longjmp", "raise", "signal", "atexit", "exit"
Example of abort() usage.:#include <stdlib.h>
#include <stdio.h>
int main(void)
{
char c;
printf("Aborting the program.\n");
printf("Press return.\n");
// wait for the return key to be pressed
c = getchar();
// abort the program
abort();
return 0;
}
Output:
Aborting the program.
Press return.
[ First ] [ Previous ] [ Next ] [ Last ] [ Manuals ]
Visit the Metrowerks website at: http://www.metrowerks.com
For assistance contact Metrowerks Technical Support at: cw_support@metrowerks.com
Copyright © 2000, Metrowerks Corp. All rights reserved.
Last updated: August 16, 2000