Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ ldr_atexit(3) — Tru64 UNIX 5.1b

Media Vault

Software Library

Restoration Projects

Artifacts Sought

Related Articles

exit(2)

atexit(2)

ldr_atexit(3)  —  Subroutines

NAME

ldr_atexit − Run termination functions for shared libraries

SYNOPSIS

int ldr_atexit(
        void );

LIBRARY

Standard C Library (libc)

DESCRIPTION

The ldr_atexit() function runs termination functions for a process’ shared libraries and executable file. These termination functions are determined when a shared library or shared executable file is linked and the functions are handled separately from atexit functions identified by the atexit() call. 

The ldr_atexit() function is normally called by the exit() function, but it may also be called directly by an exit handler. 

RETURN VALUES

If the ldr_atexit operation is a success, the function returns a code of 0 (zero). If the operation fails, the function returns a negative error value and errno is set to indicate the error. 

SEE ALSO

Functions: exit(2), atexit(2)

Typewritten Software • bear@typewritten.org • Edmonds, WA 98026