CJ>> uptime reads the /proc files regardless of what options you pass.
PT> int main(int argc, char *argv[]) {
PT> if(argc == 1) print_uptime();
PT> if((argc == 2) && (!strcmp(argv[1], "-V"))) display_version();
PT> return 0;
PT> }
PT> How ?
Ok, to answer my own question - I've noticed the __attribute__ ((constructor))
functions in libproc.a.
Sorry :(