svn commit: r192398 - in head/usr.bin: . perror

Sean C. Farley scf at
Thu May 21 17:18:44 UTC 2009

On Wed, 20 May 2009, Carlos A. M. dos Santos wrote:

> On Wed, May 20, 2009 at 5:01 PM, Peter Jeremy <peterjeremy at> wrote:
>> On 2009-May-19 17:40:22 +0000, "George V. Neville-Neil" <gnn at> 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.


>> 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)
> So does "man printf", which is a pity. It bytes me each time I'm using 
> Vim and press "k" over the word. :-(

For Vim, either set keywordprg to "man -a" to get all man pages for a 
word, or type a number before "k" to get the man page in a specific 

scf at

More information about the svn-src-all mailing list