Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 06 Nov 1997 20:20:48 -0700
From:      Warner Losh <imp@village.org>
To:        Nate Williams <nate@mt.sri.com>
Cc:        cvs-committers@freebsd.org, cvs-all@freebsd.org, cvs-usrsbin@freebsd.org
Subject:   Re: cvs commit: src/usr.sbin/apm apm.c 
Message-ID:  <199711070320.UAA04026@harmony.village.org>
In-Reply-To: Your message of "Thu, 06 Nov 1997 20:16:14 MST." <199711070316.UAA26542@rocky.mt.sri.com> 
References:  <199711070316.UAA26542@rocky.mt.sri.com>  <199711062355.PAA01561@freefall.freebsd.org> 

index | next in thread | previous in thread | raw e-mail

In message <199711070316.UAA26542@rocky.mt.sri.com> Nate Williams writes:
: Forgive me for being naive, but what's the different between the '*' and
: the '*x' commands.  The man-page is less than helpful.

warn will print the errno (as a string), while warnx won't:

     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.

Warner


home | help

Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199711070320.UAA04026>