tech-userlevel archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: strerror(0) POSIX compliance



On 24/03/2016 12:04, Jonathan A. Kollasch wrote:
> On Thu, Mar 24, 2016 at 12:49:31PM +0100, Kamil Rytarowski wrote:
>> POSIX extension to ISO C says:
>>
>> [CX] [Option Start] If the value of errnum is a valid error number,
>> the message string shall indicate what error occurred; if the value of
>> errnum is zero, the message string shall either be an empty string or
>> indicate that no error occurred; otherwise, if these functions
>> complete successfully, the message string shall indicate that an
>> unknown error occurred. [Option End]
> 
> I don't see how "ndefined" is wrong.  It's certainly not blatantly
> incorrect.

I think it's wrong as it implied an error occured.

Roy


Home | Main Index | Thread Index | Old Index