On 19/03/20(Thu) 19:58, Klemens Nanni wrote: > On Thu, Mar 19, 2020 at 07:25:05PM +0100, Martin Pieuchot wrote: > > > +.It Fn exit > > > +Terminate with exit code 0 > > > > I don't see the value of mentioning the exit code. What about: > > > > Terminate the execution. > "Terminate" is already a generic term; abort(3) also terminates the > program. Plus, exit(3) takes an argument but btrace's exit() does not, > the instead of leaving users at guess I want to document it explicitly. > > It could also return 1, or garbage or the status of the last function > call or something, but it is always 0/success.
Those are all C functions. bt(5) isn't C. There's no idea of error in a bt(5) script. Anyway, I don't think it is worth debate, go ahead with what you have. ok mpi@
