public inbox for glibc-bugs@sourceware.org
help / color / mirror / Atom feed
From: "danglin at gcc dot gnu.org" <sourceware-bugzilla@sourceware.org>
To: glibc-bugs@sourceware.org
Subject: [Bug libc/31080] strerrorname_np and strerror don't know about ENOSYM and EREMOTERELEASE on Linux/hppa
Date: Thu, 23 Nov 2023 16:44:43 +0000	[thread overview]
Message-ID: <bug-31080-131-kQu0gMGXHb@http.sourceware.org/bugzilla/> (raw)
In-Reply-To: <bug-31080-131@http.sourceware.org/bugzilla/>

https://sourceware.org/bugzilla/show_bug.cgi?id=31080

--- Comment #3 from John David Anglin <danglin at gcc dot gnu.org> ---
ENOSYM and EREMOTERELEASE are HP-UX defines and probably can be removed.

/* Things in HP-UX not in XPG3, POSIX or ANSI C */
#ifdef _INCLUDE_HPUX_SOURCE
/* The error numbers between 37 and 44 are not produced by HP-UX. They
   will track whatever the UNIX(tm) system does in the future */
#define ECHRNG  37      /* Channel number out of range          */
#define EL2NSYNC 38     /* Level 2 not synchronized             */
#define EL3HLT  39      /* Level 3 halted                       */
#define EL3RST  40      /* Level 3 reset                        */
#define ELNRNG  41      /* Link number out of range             */
#define EUNATCH 42      /* Protocol driver not attached         */
#define ENOCSI  43      /* No CSI structure available           */
#define EL2HLT  44      /* Level 2 halted                       */

#define ENONET          50      /* Machine is not on the network        */
#define ENOPKG          55      /* Package not installed                */
#define EADV            58      /* advertise error */
#define ESRMNT          59      /* srmount error */
#define ECOMM           60      /* Communication error on send          */
#define EDOTDOT         66      /* Cross mount point (not really error)*/


#define ENOSYM          215     /* symbol does not exist in executable  */

/* disk quotas errors */
#  define       EUSERS   68     /* For Sun compatibilty, will not occur.*/

/* Network File System */
#  define       EREMOTE         71      /* Too many levels of remote in path */

/* ipc/network software */

/* argument errors */
#  define ESOCKTNOSUPPORT       222     /* Socket type not supported */
#  define EPFNOSUPPORT          224     /* Protocol family not supported */

        /* operational errors */
#  define ENETRESET             230     /* Network dropped connection on
                                           reset */
#  define ESHUTDOWN             236     /* Can't send after socket shutdown */
#  define ETOOMANYREFS          237     /* Too many references: can't splice */
#  define EREFUSED              ECONNREFUSED    /* Double define for NFS*/
#  define EREMOTERELEASE        240     /* Remote peer released connection */
#  define EHOSTDOWN             241     /* Host is down */


#endif /* _INCLUDE_HPUX_SOURCE */

-- 
You are receiving this mail because:
You are on the CC list for the bug.

  parent reply	other threads:[~2023-11-23 16:44 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-11-21 14:50 [Bug libc/31080] New: " bruno at clisp dot org
2023-11-21 14:51 ` [Bug libc/31080] " bruno at clisp dot org
2023-11-21 15:00 ` adhemerval.zanella at linaro dot org
2023-11-21 15:28 ` bruno at clisp dot org
2023-11-23 11:42 ` sam at gentoo dot org
2023-11-23 11:43 ` sam at gentoo dot org
2023-11-23 16:44 ` danglin at gcc dot gnu.org [this message]
2023-11-23 19:43 ` deller at gmx dot de
2023-11-23 19:56 ` bruno at clisp dot org

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=bug-31080-131-kQu0gMGXHb@http.sourceware.org/bugzilla/ \
    --to=sourceware-bugzilla@sourceware.org \
    --cc=glibc-bugs@sourceware.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).