An open API service indexing awesome lists of open source software.

https://github.com/hroptatyr/strerror

strerror(3) as strerror(1)
https://github.com/hroptatyr/strerror

Last synced: 3 months ago
JSON representation

strerror(3) as strerror(1)

Awesome Lists containing this project

README

          

strerror
========

[![Build Status](https://secure.travis-ci.org/hroptatyr/strerror.png?branch=master)](http://travis-ci.org/hroptatyr/strerror)

Just a nifty variant of `strerror(3)` for occasional usage.

Documentation by example:

strerror 11
=>
Resource temporarily unavailable

strerror ERANGE
=>
Numerical result out of range

verbose mode outputs a handy table

strerror --verbose 11
=>
11 EAGAIN Resource temporarily unavailable

strerror -v ERANGE
=>
34 ERANGE Numerical result out of range

multiple arguments are possible:

strerror -v 15 EBUSY
=>
15 ENOTBLK Block device required
16 EBUSY Device or resource busy

That's pretty much all `strerror` will ever be able to do.