C API Reference -- Ns_RegisterAtExit

### Ns_RegisterAtExit

#### Overview

Register an exit procedure.

#### Syntax

        typedef void (Ns_Callback) (void *context);

        Ns_ProcHandle Ns_RegisterAtExit(
        Ns_Callback *proc,
        void *context
        );

#### Description

The Ns_RegisterAtExit function registers `proc` as a function to call before AOLserver exits after all servers are shut down. The procedures are run in last-registered first-run order.

Top of Page
Copyright © 1998-99 America Online, Inc.