> The man page does not mention what is the value returned
> by threadcreate() and proccreate() on failure? Can one safely
> assume that it is -1?

thread(2):

        Thread library functions do not return on failure;
        if errors occur, the entire program is aborted.

Reply via email to