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)
- Host: GitHub
- URL: https://github.com/hroptatyr/strerror
- Owner: hroptatyr
- Created: 2013-02-08T11:37:02.000Z (over 12 years ago)
- Default Branch: master
- Last Pushed: 2014-10-08T14:04:33.000Z (almost 11 years ago)
- Last Synced: 2025-06-01T09:46:16.756Z (4 months ago)
- Language: C
- Size: 305 KB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
strerror
========[](http://travis-ci.org/hroptatyr/strerror)
Just a nifty variant of `strerror(3)` for occasional usage.
Documentation by example:
strerror 11
=>
Resource temporarily unavailablestrerror ERANGE
=>
Numerical result out of rangeverbose mode outputs a handy table
strerror --verbose 11
=>
11 EAGAIN Resource temporarily unavailablestrerror -v ERANGE
=>
34 ERANGE Numerical result out of rangemultiple arguments are possible:
strerror -v 15 EBUSY
=>
15 ENOTBLK Block device required
16 EBUSY Device or resource busyThat's pretty much all `strerror` will ever be able to do.