minus-squareCrestwave@lemmy.worldtoProgramming@programming.dev•Falsehoods programmers believe about languageslinkfedilinkarrow-up12·14 hours agoAs far as C goes, 1 is true and 0 is false. In terms of POSIX exit codes, 0 is success and 1 is error. linkfedilink
As far as C goes, 1 is true and 0 is false.
In terms of POSIX exit codes, 0 is success and 1 is error.