__register_atfork

Name

__register_atfork -- alias for register_atfork

Synopsis

int __register_atfork(void (*prepare) (void), void (*parent) (void), void (*child) (void), void * __dso_handle);

Description

__register_atfork() implements pthread_atfork() as specified in ISO POSIX (2003). The additional parameter __dso_handle allows a shared object to pass in it's handle so that functions registered by __register_atfork() can be unregistered by the runtime when the shared object is unloaded.