Errno definitions

This moves ``errno`` definitions from being hardcoded constants to using ``cDefine`` like other things do. This lets me deal with musl headers having different values for various ``errno`` constants.