What the heck does "error -19" means? Ever asked yourself or some
mailing list this question? Here is a script (I called it errno) to
answer this automatically:
if [ "$1" = "" ]; then
cat $ERRNO_HEADERS | grep -E "[[:space:]]$ERR[[:space:]]/"
Now, when you run
you will get this:
#define ENODEV 19 /* No such device */
Additionally, a list of all defined error constants can be retrieved by
invoking the script without parameters.