On Mon, 03 Jan 2011 21:20:42 +0300 Anonymous <[email protected]> wrote: > > Do you mean perror(1)? > > $ perror 5 > Input/output error
I prefer mine:
$ errno () { grep "^#.*\\<$*\\>" /usr/include/sys/errno.h }
$ errno 5
#define EIO 5 /* Input/output error */
$ errno EIO
#define EIO 5 /* Input/output error */
_______________________________________________
[email protected] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to "[email protected]"
