Home Man
Search
Today's Posts
Register

Linux & Unix Commands - Search Man Pages

RedHat 9 (Linux i386) - man page for atexit (redhat section 3)

ATEXIT(3)			    Linux Programmer's Manual				ATEXIT(3)

NAME
       atexit - register a function to be called at normal program termination.

SYNOPSIS
       #include <stdlib.h>

       int atexit(void (*function)(void));

DESCRIPTION
       The atexit() function registers the given function to be called at normal program termina-
       tion, 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 VALUE
       The  atexit()  function	returns the value 0 if successful; otherwise it returns a nonzero
       value; errno is not set.

CONFORMING TO
       SVID 3, BSD 4.3, ISO 9899

SEE ALSO
       exit(3), on_exit(3)

GNU					    1997-09-14					ATEXIT(3)


All times are GMT -4. The time now is 07:35 AM.

Unix & Linux Forums Content Copyrightę1993-2018. All Rights Reserved.
UNIX.COM Login
Username:
Password:  
Show Password