News for hackers. Stuff that matters.
Re:Notes on Programming in C (1989) by ufo on Sunday May 11, 2014 @01:54PM (#7729316)
Why do all the P9 files use `void main` instead of `int main`?
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...