diff options
author | das <das@FreeBSD.org> | 2005-04-02 12:33:28 +0000 |
---|---|---|
committer | das <das@FreeBSD.org> | 2005-04-02 12:33:28 +0000 |
commit | 1e73b68cbcff03471dc15e790109111a0e314c89 (patch) | |
tree | 208a6110ab088149f5621257ae5fdd5eac21aba8 /lib/libc | |
parent | ed4814bbdf1303d87f5a172008068a3cb7af10e0 (diff) | |
download | FreeBSD-src-1e73b68cbcff03471dc15e790109111a0e314c89.zip FreeBSD-src-1e73b68cbcff03471dc15e790109111a0e314c89.tar.gz |
Add some missing errnos from POSIX. Nothing in FreeBSD generates
these at the moment, but applications that test for them will now
have a better chance of compiling.
I have intentionally omitted errnos that are only good for STREAMS,
since apps that use STREAMS won't compile anyway. The exception is
EPROTO, which was apparently intended for STREAMS, but worth having
anyway because Linux (mis)uses it for other things.
Diffstat (limited to 'lib/libc')
-rw-r--r-- | lib/libc/gen/errlst.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/lib/libc/gen/errlst.c b/lib/libc/gen/errlst.c index b871a1e..2e5a684 100644 --- a/lib/libc/gen/errlst.c +++ b/lib/libc/gen/errlst.c @@ -149,5 +149,10 @@ const char *const sys_errlist[] = { /* General */ "Programming error", /* 88 - EDOOFUS */ + + "Bad message", /* 89 - EBADMSG */ + "Multihop attempted", /* 90 - EMULTIHOP */ + "Link has been severed", /* 91 - ENOLINK */ + "Protocol error", /* 92 - EPROTO */ }; const int sys_nerr = sizeof(sys_errlist) / sizeof(sys_errlist[0]); |