Annotation of coherent/d/etc/accton.c, revision 1.1.1.1

1.1       root        1: /*
                      2:  * Enable and disable system-wide
                      3:  * process accounting (for sa).
                      4:  */
                      5: 
                      6: #include <stdio.h>
                      7: 
                      8: main(argc, argv)
                      9: char *argv[];
                     10: {
                     11:        char *acfile;
                     12: 
                     13:        if (argc > 2)
                     14:                usage();
                     15:        acfile = argc==1 ? NULL : argv[1];
                     16:        if (acct(acfile) < 0)
                     17:                perror(acfile);
                     18: }
                     19: 
                     20: usage()
                     21: {
                     22:        fprintf(stderr, "Usage: /etc/accton [file]\n");
                     23:        exit(1);
                     24: }

unix.superglobalmegacorp.com

This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.