Subject: Re: lib/22424: err(3) manpage does not explain the difference between
To: None <Peter.Bex@student.kun.nl>
From: Jeremy C. Reed <reed@reedmedia.net>
List: netbsd-bugs
Date: 08/09/2003 21:06:54
On Sun, 10 Aug 2003 Peter.Bex@student.kun.nl wrote:

> 	The man page for err/errx/warn/warnx doesn't describe the
> difference between warn and
> 	warnx or err and errx.

I have thought the same thing a few times. The manual page is unclear.

It says:

  In the case of the err(), verr(), warn(), and vwarn() functions, the
  error message string affiliated with the current value of the global
  variable errno is output next, preceded by a colon character and a space
  if fmt is not NULL.

So in other words:

  The errx(), verrx(), warnx(), and vwarnx() functions will not
  output the strerror(errno) error message string.

   Jeremy C. Reed
   http://www.reedmedia.net/