1: /*
   2:  * la: print the load average.
   3:  */
   4: main()
   5: {
   6:     double vec[3];
   7: 
   8:     if (loadav(vec) < 0) {
   9:         perror("loadav: gldav");
  10:         exit(1);
  11:     }
  12:     printf("load %.02f %.02f %.02f\n", vec[0], vec[1], vec[2]);
  13:     exit(0);
  14: }

Defined functions

main defined in line 4; never used
Last modified: 1983-05-26
Generated: 2016-12-26
Generated by src2html V0.67
page hit count: 664
Valid CSS Valid XHTML 1.0 Strict