Multithreaded Programming Guide

Return Values

pthread_atfork() returns a zero when it completes successfully. Any other returned value indicates that an error occurred. If the following condition is detected, pthread_atfork(3T) fails and returns the corresponding value.


ENOMEM

Insufficient table space exists to record the fork handler addresses.