[9196] in Athena Bugs
Re: decmips 7.3P: perror(3)
daemon@ATHENA.MIT.EDU (Calvin Clark)
Sat Apr 11 23:40:21 1992
Date: Sat, 11 Apr 92 23:40:11 -0400
From: Calvin Clark <ckclark@mit.edu>
To: bugs@Athena.MIT.EDU
Reply-To: ckclark@mit.edu
In-Reply-To: [9195] in bugs
I made a mistake. sys_errlist[] *does* exist in ULTRIX. It's in libc.
It's just not in any of the system header files, so it depends on your
having your own external declaration, unlike in BSD, where including
<errno.h> will get you one. ULTRIX's <errno.h> *does* have a
declaration for errno, however. IMHO, it's stupid to have one and not
the other. I guess they're just trying to force people to use
strerror().
Of course, in order to get the declaration for errno, you have to either
declare it yourself or include <errno.h>. <errno.h> is not mentioned in
the ULTRIX perror(3) man page.
-Calvin