From mboxrd@z Thu Jan 1 00:00:00 1970 Message-ID: Date: Wed, 30 Nov 2005 13:31:39 -0500 From: Russ Cox To: Fans of the OS Plan 9 from Bell Labs <9fans@cse.psu.edu> Subject: Re: [9fans] Threadcreate() failure value? In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline References: Topicbox-Message-UUID: b42276ac-ead0-11e9-9d60-3106f5b1d025 > 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.