Skip site navigation (1)Skip section navigation (2)

FreeBSD Manual Pages

  
 
  

home | help
atexit(3)		   Library Functions Manual		     atexit(3)

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

SYNOPSIS
DESCRIPTION
       registers  the function func to be called, without arguments, at	normal
       program termination.  Functions registered by are called	in reverse or-
       der of registration.

       An call during exit processing is always	unsuccessful.

       The number of registered	functions should not exceed as specified in

       When  necessary,	 or  (see crt0(3) and dld.sl(5)) registers one or more
       functions with to allow some processing at normal program  termination.
       This registration occurs	before any other.

RETURN VALUE
       returns	zero if	the registration is successful;	non-zero if unsuccess-
       ful.

SEE ALSO
       exit(2),	crt0(3), dld.sl(5).

STANDARDS CONFORMANCE
								     atexit(3)

NAME | SYNOPSIS | DESCRIPTION | RETURN VALUE | SEE ALSO | STANDARDS CONFORMANCE

Want to link to this manual page? Use this URL:
<https://www.freebsd.org/cgi/man.cgi?query=atexit&sektion=3&manpath=HP-UX+11.22>

home | help