08 12 | 2011

Return codes

Written by Tanguy

Classified in : Homepage, Debian, Command line, Grumble

According to Eric S. Raymond, one rule for Unix programming is the Rule of Silence: When a program has nothing surprising to say, it should say nothing. Since return codes are a form of information, I would like to add: when a program has carried out its task with no surprise, it should exit(0).

Read more Return codes

Archives