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
[-- Attachment #1 --] On 2009-May-19 17:40:22 +0000, "George V. Neville-Neil" <gnn@freebsd.org> wrote: >Log: > Add a new program, perror, which takes an errno as a command line argument > 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 '$! = <<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) -- Peter Jeremy [-- Attachment #2 --] -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.11 (FreeBSD) iEYEARECAAYFAkoUYaIACgkQ/opHv/APuIdKoACgi8NLAG+QG5+ecAHNJfgvTGqT E5MAnilcdWqU296HLCfZ7Ro5sbkITC18 =prVm -----END PGP SIGNATURE-----
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20090520200138.GA33344>
