2 ms·
Yes. Instead of returning an integer you use the function exits [1] and the value appears in the shell variable status. [1] http://plan9.bell-labs.com/magic/ma
by pmarin 12y ago
Yes. Instead of returning an integer you use the function exits [1] and the value appears in the shell variable status.
[1] http://plan9.bell-labs.com/magic/man2html/2/exits http://plan9.bell-labs.com/magic/man2html/2/exits
This is an introduction to programming in Plan9 C:
http://doc.cat-v.org/plan_9/programming/c_programming_in_plan_9 http://doc.cat-v.org/plan_9/programming/c_programming_in_pla...