Mail Archives: djgpp/1994/07/26/01:58:22
Date: Mon, 25 Jul 1994 13:18:30 -0700
From: "Roger H. Kou" <rkou AT hto DOT usc DOT edu>
Hi,
I asked this question earlier and didn't receive any reply,
so I will ask again.
EFAULT is not defined in errno.h, so what do you do? And
what number do you assign?
Pick any unused errno. Do a #define for that in errno.h. Send your
"diff -C 2 errno.old errno.h > err-diff" to DJ and (optionally) to
this list. He may decide that he thinks should be a different number.
Aklternatively, if you have access to a Unix GCC, look at their
errno.h. Steal that #define. This is not a sure cure; different
vendors use different errno.h files.
Probably the best solution is to go check and see if there's an
ANSI or POSIX standard :-)
thanks,
-RK
- Raw text -