News:

Download Pelles C here: http://www.smorgasbordet.com/pellesc/

Main Menu

sys_nerr

Started by giva, December 20, 2005, 11:09:15 PM

Previous topic - Next topic

giva

Why is this variable not declared in <errno.h>? An omission or...

Pelle

No. It's not part of standard C. It's not part of POSIX.

Pelle
/Pelle

giva

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?

giva

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().