Good point! But I get another question here. Since the OS itself a main(), should all other called functions be written somewhere in OS? otherwise how can an application be execuated?
Wish experts answer my questions in c programming under Unix in a real time system: Thanks! 1. how to enlarge the stack size in a c program? 2. should main() be the driver function in in a c program?