strerror() as a direct replacement for sys_errlist
(not exactly, but that's idea). strerror() gives you a
ptr to string that corresponds to an errno value. perror()
is quick-and-dirty error printing function.

Brian
======================================================================
On Mon, Jun 03, 2002 at 05:44:39PM -0400, Scott McDermott wrote:
> Kenneth Porter on Mon  3/06 10:23 -0700:
> > > The next release of qpopper should not use sys_errlist and sys_nerr.
> > > These variables are not externally defined on SunOS 5.7/5.8 when
> > > compiling 64-bit binaries. I have to keep changing the code to not
> > > use them. They aren't really supposed to be used at all.
> > 
> > What do you use instead? Or do you just not log text equivalents for
> > the error numbers, assuming the end-user can look the number up in
> > header files?
> 
> strerror() or perror() ?

-- 
   _____________________________________________________________________
  / Brian C. Hill       [EMAIL PROTECTED]          http://brian.bch.net    \
  | Unix Specialist     BCH Technical Services  http://www.bch.net      |

Reply via email to