Query: atexit
OS: hpux
Section: 3
Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar
atexit(3) Library Functions Manual atexit(3)NAMEatexit - register a function to be called at program terminationSYNOPSISDESCRIPTIONregisters the function func to be called, without arguments, at normal program termination. Functions registered by are called in reverse order 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) for PA-RISC systems or dld.so(5) for Itanium-based systems) registers one or more functions with to allow some processing at normal program termination. This registration occurs before any other.RETURN VALUEreturns zero if the registration is successful; non-zero if unsuccessful.SEE ALSOexit(2), crt0(3), dld.sl(5) for PA-RISC systems. dld.so(5) for Itanium-based systems.STANDARDS CONFORMANCEatexit(3)