www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1994/07/26/01:58:22

Date: Tue, 26 Jul 94 13:01:36 JST
From: Stephen Turnbull <turnbull AT shako DOT sk DOT tsukuba DOT ac DOT jp>
To: rkou AT hto-b DOT usc DOT edu
Cc: djgpp AT sun DOT soe DOT clarkson DOT edu
Subject: DFAULT in errno.h

   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 -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019