2016-07-14

Proper way to print errno value.

I use this combination of bash and python to print meaning of errno value:

strerror () { python -c "import os; print os.strerror($1)"; }

There is also 'perror' program, but it is distributed with mysql only.

No comments:

Post a Comment