svn commit: r192398 - in head/usr.bin: . perror
Carlos A. M. dos Santos
unixmania at gmail.com
Fri May 22 12:55:31 UTC 2009
On Thu, May 21, 2009 at 6:24 AM, Stanislav Sedov <stas at freebsd.org> wrote:
> On Wed, 20 May 2009 19:58:20 -0300
> "Carlos A. M. dos Santos" <unixmania at gmail.com> mentioned:
>> On Wed, May 20, 2009 at 5:01 PM, Peter Jeremy
>> <peterjeremy at optushome.com.au> wrote:
>> > On 2009-May-19 17:40:22 +0000, "George V. Neville-Neil" <gnn at freebsd.org> wrote:
>> >> 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.
>> Rename it to "strerror", please.
Because the program mimics the behavior of strerror: given an error
number, return the corresponding string.
My preferred quotation of Robert Louis Stevenson is "You cannot
make an omelette without breaking eggs". Not because I like the
omelettes, but because I like the sound of eggs being broken.
More information about the svn-src-all