[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

should man pages mention exit values even if run of the mill?



Should man pages mention exit codes, even if standard? There perhaps
should be a policy statement on this.
I'm the old fashioned type who likes to see them mentioned no matter
what. Let's one know the programmer even remembered to set them.

>>>>> "M" == Marco d'Itri <md@Linux.IT> writes:

M> On Nov 29, Dan Jacobson <jidanni@jidanni.org> wrote:
>> Perhaps add a statement about the exit values of poff and pon.
M> There is nothing to be said, they are the standard 1 and 0.

And even more important is saying the definition of success. E.g.,
0: connection is guaranteed to now be terminated
0: signal sent, connection usually terminates soon
1: unable to even send signal
1: unable to send signal or sent signal but unable to terminate connection



Reply to: