News for hackers. Stuff that matters.
Re:Notes on Programming in C (1989) by pmarin on Sunday May 11, 2014 @02:17PM (#7729381)
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

This is an introduction to programming in Plan9 C:

http://doc.cat-v.org/plan_9/programming/c_programming_in_pla...

There are no comments on this comment yet.