cstdlib(3C++)


cstdlib -- start and termination

Synopsis

   #include <cstdlib> 
   

namespace std { void abort(void); int atexit(void (*f)(void)); void exit(int status); }

#define EXIT_SUCCESS 0 #define EXIT_FAILURE 1

Description

The contents are the same as the Standard C library header <stdlib.h> with the following changes:

atexit(void (*f)(void))
The function atexit(), has additional behavior in C++:

exit(int status)
The function exit() has additional behavior in C++: The function exit never returns to its caller.

References

atexit(3C) exit(2)


30 January 1998
© 1998 The Santa Cruz Operation, Inc. All rights reserved.