Annotation of coherent/d/usr/lib/scn/yesNo.c, revision 1.1.1.1

1.1       root        1: /*
                      2:  * Check for Yes No
                      3:  */
                      4: yesNo(s)
                      5: register char *s;
                      6: {
                      7:        switch (*s) {
                      8:        case 'Y':
                      9:                *s = 'y';
                     10:                return (1);
                     11:        case 'N':
                     12:                *s = 'n';
                     13:        case 'y':
                     14:        case 'n':
                     15:                return (1);
                     16:        }
                     17:        showError("Must be y or n");
                     18:        return (0);
                     19: }

unix.superglobalmegacorp.com

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