Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 22 May 2009 09:55:28 -0300
From:      "Carlos A. M. dos Santos" <unixmania@gmail.com>
To:        Stanislav Sedov <stas@freebsd.org>
Cc:        svn-src-head@freebsd.org, Peter Jeremy <peterjeremy@optushome.com.au>, svn-src-all@freebsd.org, src-committers@freebsd.org, "George V. Neville-Neil" <gnn@freebsd.org>
Subject:   Re: svn commit: r192398 - in head/usr.bin: . perror
Message-ID:  <e71790db0905220555g764f60ebtf53b0fdeecd2698b@mail.gmail.com>
In-Reply-To: <20090521132404.cc5be268.stas@FreeBSD.org>
References:  <200905191740.n4JHeMMU005087@svn.freebsd.org> <20090520200138.GA33344@server.vk2pj.dyndns.org> <e71790db0905201558u1c8e3e90n1fbbfc4011e22909@mail.gmail.com> <20090521132404.cc5be268.stas@FreeBSD.org>

next in thread | previous in thread | raw e-mail | index | archive | help
On Thu, May 21, 2009 at 6:24 AM, Stanislav Sedov <stas@freebsd.org> wrote:
> On Wed, 20 May 2009 19:58:20 -0300
> "Carlos A. M. dos Santos" <unixmania@gmail.com> mentioned:
>
>> On Wed, May 20, 2009 at 5:01 PM, Peter Jeremy
>> <peterjeremy@optushome.com.au> wrote:
>> > On 2009-May-19 17:40:22 +0000, "George V. Neville-Neil" <gnn@freebsd.o=
rg> wrote:
>> >>Log:
>> >> =A0Add a new program, perror, which takes an errno as a command line =
argument
>> >> =A0and outputs the associated textual message in the same way that
>> >> =A0perror(3) would if called within a program.
>>
>> Rename it to "strerror", please.
>
> Why?

Because the program mimics the behavior of strerror: given an error
number, return the corresponding string.

--=20
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.



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