Date: Thu, 21 May 2009 06:01:38 +1000 From: Peter Jeremy <peterjeremy@optushome.com.au> To: "George V. Neville-Neil" <gnn@freebsd.org> Cc: svn-src-head@freebsd.org, svn-src-all@freebsd.org, src-committers@freebsd.org Subject: Re: svn commit: r192398 - in head/usr.bin: . perror Message-ID: <20090520200138.GA33344@server.vk2pj.dyndns.org> In-Reply-To: <200905191740.n4JHeMMU005087@svn.freebsd.org> References: <200905191740.n4JHeMMU005087@svn.freebsd.org>
next in thread | previous in thread | raw e-mail | index | archive | help
--OgqxwSJOaUobr8KG Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On 2009-May-19 17:40:22 +0000, "George V. Neville-Neil" <gnn@freebsd.org> w= rote: >Log: > Add a new program, perror, which takes an errno as a command line argume= nt > and outputs the associated textual message in the same way that > perror(3) would if called within a program. Given how easy it is to "grep <<errno>> /usr/include/sys/errno.h" or perl -e '$! =3D <<errno>>; print "$!\n";' I'm not sure of the utility of this tool. One downside is that man perror will now return perror(1) instead of perror(3) --=20 Peter Jeremy --OgqxwSJOaUobr8KG Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.11 (FreeBSD) iEYEARECAAYFAkoUYaIACgkQ/opHv/APuIdKoACgi8NLAG+QG5+ecAHNJfgvTGqT E5MAnilcdWqU296HLCfZ7Ro5sbkITC18 =prVm -----END PGP SIGNATURE----- --OgqxwSJOaUobr8KG--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20090520200138.GA33344>