Annotation of 43BSDTahoe/new/mkmf/src/usage.c, revision 1.1

1.1     ! root        1: /* $Header: usage.c,v 1.2 85/03/27 07:24:08 nicklin Exp $ */
        !             2: 
        !             3: /*
        !             4:  * Author: Peter J. Nicklin
        !             5:  */
        !             6: 
        !             7: /*
        !             8:  * usage() places a usage error message on the standard error
        !             9:  * output stream stderr.
        !            10:  */
        !            11: #include <stdio.h>
        !            12: #include "null.h"
        !            13: 
        !            14: extern char *PGN;                      /* program name */
        !            15: 
        !            16: usage(m)
        !            17:        char *m;                        /* usage error message */
        !            18: {
        !            19:        fprintf(stderr, "usage: ");
        !            20:        if (PGN != NULL && *PGN != '\0')
        !            21:                fprintf(stderr, "%s ", PGN);
        !            22:        fprintf(stderr, "%s\n", m);
        !            23: }

unix.superglobalmegacorp.com

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