| Extracted from Pike v7.8 release 866 at 2016-04-05.

[Top]

# Method atexit()

Method atexit

  `void atexit(function callback)`

Description

  This function puts the callback in a queue of callbacks to call when pike exits. The call order is reversed, i.e. callbacks that have been added earlier are called after callback .

Note

  Please note that atexit callbacks are not called if Pike exits abnormally.

See also

  exit() , _exit()