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