Skip to content

mfederczuk/commoncodes

Repository files navigation

CommonCodes

version: 2.1.0 Changelog

About

CommonCodes is an attempt to create a standardized list of program exit statuses.


So one day I wondered if there was any standard for exit statuses/codes, because I, like (hopefully) many other people like following pre-existing standards.
I was rather disappointed to see that there wasn't really anything like that.
I could only find Bashs definition for codes above 125, that were used for special cases like termination through a sent signal, and sysexits.h, which is kinda what I was looking for, but there weren't many definitions, and the ones that did exist were just too generic.

Now, you can't really call this a proper standardization. I wanted a full list of statuses, where every code from 0 to 255 was defined to have some meaning. But this was just something that did not exist... until now.

Contributing

Read through the CommonCodes Contribution Guidelines if you want to contribute to this project.

License

GNU GPLv3+