Annotation of coherent/d/bin/uucheck/uuchecklock/main.c, revision 1.1.1.1

1.1       root        1: /* uuchecklock
                      2:  * Synopsis:
                      3:  * uuchecklock [-s] [-v]
                      4:  *  -s silent
                      5:  *  -v verbose
                      6:  * 
                      7:  * Return values:
                      8:  * 0 on no errors or warnings
                      9:  * 1 if there was at least one warning
                     10:  * 2 if there was an error
                     11:  *
                     12:  * $ uuchecklock -errors -warnings 9
                     13:  * ...or equivalently...
                     14:  * $ uuchecklock
                     15:  */
                     16: 
                     17: #define MAIN
                     18: #include "uucheck.h"
                     19: #include "uuchecklock.h"
                     20: #undef MAIN
                     21: 
                     22: main(argc, argv)
                     23:        int argc;       
                     24:        char *argv[];
                     25: {
                     26:        warning = FALSE;
                     27:        error = FALSE;
                     28: 
                     29:        parse_args(argc, argv);
                     30: 
                     31:        uuchecklock();
                     32: 
                     33:        /* Set the correct exit value.  */
                     34:        /* 2 on error, 1 on warning only, 0 on no failures */
                     35:        EXIT;
                     36: 
                     37: } /* main() */

unix.superglobalmegacorp.com

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