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

Robert Watson rwatson at FreeBSD.org
Fri May 22 10:41:40 UTC 2009


On Fri, 22 May 2009, Bruce Evans wrote:

>> : actually good one.
>> 
>> There's also internationalization that actually happens too, right? That 
>> doesn't happen with grep..
>
> What about with "man errno".  Man pages are slightly more likely to be 
> present than application (not system) include files, and man should support 
> localization.  It gives more noise than grepping an include file, but the 
> noise might be signal and can be filtered.

For me, at least, a simple text -> errno name ("EPERM") would go a long way, 
since they aren't internationalized strings, and are therefore usable in 
scripts in useful ways.  On the topic of man pages though -- I was interested 
to see that Mac OS X does not ship with an errno(2), despite shipping with a 
BSD-derived errno.h.

Robert N M Watson
Computer Laboratory
University of Cambridge


More information about the svn-src-all mailing list