Home
Main website
Display Sidebar
Hide Ads
Recent Changes
View Source:
on_exit(3)
Edit
PageHistory
Diff
Info
LikePages
ON_EXIT !!!ON_EXIT NAME SYNOPSIS DESCRIPTION RETURN VALUE SEE ALSO ---- !!NAME on_exit - register a function to be called at normal program termination. !!SYNOPSIS __#include __''function''__)(int , void *), void *__''arg''__); __ !!DESCRIPTION The __on_exit()__ function registers the given ''function'' to be called at normal program termination, whether via exit(3) or via return from the program's __main__. The ''function'' is passed the argument to exit(3) and the ''arg'' argument from __on_exit()__. !!RETURN VALUE The __on_exit()__ function returns the value 0 if successful; otherwise the value -1 is returned. !!SEE ALSO atexit(3), exit(3) ----
3 pages link to
on_exit(3)
:
Man3o
atexit(3)
exit(3)
This page is a man page (or other imported legacy content). We are unable to automatically determine the license status of this page.