Back to index

avfs  1.0.1
Functions
exit.h File Reference
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Functions

void av_add_exithandler (void(*func)())

Function Documentation

void av_add_exithandler ( void(*)()  func)

Definition at line 33 of file exit.c.

{
    struct exithandler *hand;
    
    AV_NEW(hand);
    hand->func = func;
    AV_LOCK(exit_lock);
    hand->next = exit_handlers;
    exit_handlers = hand;
    AV_UNLOCK(exit_lock);
}

Here is the caller graph for this function: