Multithreaded Programming Guide

pthread_atfork Return Values

pthread_atfork() returns zero when the call completes successfully. Any other return value indicates that an error occurred. When the following condition occurs, pthread_atfork() fails and returns the corresponding value.


ENOMEM

Description:

Insufficient table space exists to record the fork handler addresses.