> ~ Online tutorial


abort       
      
 Abnormally terminates a process

 Declaration

void abort(void);

 Remarks:

abort writes a termination message on stderr ("Abnormal program
termination"), then aborts the program by a call to _exit with exit code 3.

 Return Value:

Returns exit code 3 to the parent process or to DOS




 Example:

 #include <stdio.h>
 #include <stdlib.h>

 int main(void)
 {
   printf("Calling abort()\n");
   abort();
   return 0; /* This is never reached */
 }

Please Give Us Your 1 Minute In Sharing This Post!
Please Give Us Your 1 Minute In Sharing This Post!
SOCIALIZE IT →
FOLLOW US →
SHARE IT →
Powered By: BloggerYard.Com

0 comments: