standards/122051: Add posix_spawn(3)

David Xu davidxu at freebsd.org
Thu Apr 17 02:00:07 UTC 2008


The following reply was made to PR standards/122051; it has been noted by GNATS.

From: David Xu <davidxu at freebsd.org>
To: bug-followup at freebsd.org, ed at fxq.nl
Cc:  
Subject: Re: standards/122051: Add posix_spawn(3)
Date: Thu, 17 Apr 2008 09:53:45 +0800

 what error code should be returned from posix_spawn ? it seems it should
 return error number directly (it does not use errno),
 the specification said:
 
 "an error number shall be returned as the function return value to 
 indicate the error"
 
 so it unlikely will return -1 on failure.
 
 Regards,
 David Xu
 


More information about the freebsd-standards mailing list