Pelles C forum

Pelles C => Bug reports => Topic started by: giva on December 20, 2005, 11:09:15 PM

Title: sys_nerr
Post by: giva on December 20, 2005, 11:09:15 PM
Why is this variable not declared in <errno.h>? An omission or...
Title: sys_nerr
Post by: Pelle on December 21, 2005, 07:20:12 AM
No. It's not part of standard C. It's not part of POSIX.

Pelle
Title: Re: sys_nerr
Post by: giva on December 21, 2005, 02:49:42 PM
And EINTR is missing too. PellesC is the only compiler I ever have used
that misses this. Is there really no libc function that can set EINTR?
Title: sys_nerr
Post by: giva on December 21, 2005, 02:53:40 PM
Quote from: "Pelle"No. It's not part of standard C. It's not part of POSIX.

So what? Neither are all the extension in <intrin.h>.
sys_nerr should IMHO be added. It is after all giving the bound
of errors that can be used in strerror().