Query: atexit
OS: redhat
Section: 3
Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar
ATEXIT(3) Linux Programmer's Manual ATEXIT(3)NAMEatexit - register a function to be called at normal program termination.SYNOPSIS#include <stdlib.h> int atexit(void (*function)(void));DESCRIPTIONThe atexit() function registers the given function to be called at normal program termination, whether via exit(3) or via return from the program's main. Functions so registered are called in the reverse order of their registration; no arguments are passed.RETURN VALUEThe atexit() function returns the value 0 if successful; otherwise it returns a nonzero value; errno is not set.CONFORMING TOSVID 3, BSD 4.3, ISO 9899SEE ALSOexit(3), on_exit(3)GNU1997-09-14 ATEXIT(3)
Related Man Pages |
---|
atexit(3) - suse |
atexit(3) - xfree86 |
atexit(3) - minix |
atexit(3) - plan9 |
atexit(3) - bsd |
Similar Topics in the Unix Linux Community |
---|
pthreads invoking atexit() |