Other Runtime Support

The C++ headers <cstdarg>, <csetjmp>, <ctime>, <csignal> and <cstdlib> contain macros, types and functions that vary from the corresponding standard C headers.

Table 1. Header <cstdarg>
va_arg A macro used in C++ Runtime support
va_end A macro used in C++ Runtime support
va_start A macro used in C++ Runtime support
va_list A type used in C++ Runtime support

If the second parameter of va_start is declared with a function, array, reference type or with a type for which there is no parameter, the behavior is undefined

Table 2. Header <csetjmp>
setjmp A macro used in C++ Runtime support
jmp_buf A type used in C++ Runtime support
longjmp A function used in C++ Runtime support

The function longjmp is more restricted than in the standard C implementation.

Table 3. Header <ctime>
CLOCKS_PER_SEC A macro used in C++ Runtime support
clock_t A type used in C++ Runtime support
clock A function used in C++ Runtime support

If a signal handler attempts to use exception handling the result is undefined.

Table 4. Header <csignal>
SIGABRT A macro used in C++ Runtime support
SIGILL A macro used in C++ Runtime support
SIGSEGV A macro used in C++ Runtime support
SIG_DFL A macro used in C++ Runtime support
SIG_IGN A macro used in C++ Runtime support
SIGFPE A macro used in C++ Runtime support
SIGINT A macro used in C++ Runtime support
SIGTERM A macro used in C++ Runtime support
SIG_ERR A macro used in C++ Runtime support
sig_atomic_t A macro used in C++ Runtime support
raise A type used in C++ Runtime support
signal A function used in C++ Runtime support
Note: All signal handlers should have C linkage.
Table 5. Header <cstdlib>
getenv A function used in C++ Runtime support
system A function used in C++ Runtime support