# 2.11BSD#431 - /usr/src/ucb/yes.c

##### Functions

    main              X

##### Variables

    copyright         X

       1: /*
       2:  * Copyright (c) 1980 Regents of the University of California.
       3:  * All rights reserved.  The Berkeley software License Agreement
       4:  * specifies the terms and conditions for redistribution.
       5:  */
       6:
       7: #ifndef lint
       8: char copyright[] =
       9: "@(#) Copyright (c) 1980 Regents of the University of California.\n\
      10:  All rights reserved.\n";
      11: #endif not lint
      12:
      13: #ifndef lint
      14: static char sccsid[] = "@(#)yes.c	5.1 (Berkeley) 5/31/85";
      15: #endif not lint
      16:
      17: main(argc, argv)
      18: char **argv;
      19: {
      20:     for (;;)
      21:         printf("%s\n", argc>1? argv[1]: "y");
      22: }

#### Defined functions

main defined in line 17; never used

#### Defined variables

copyright defined in line 8; never used
sccsid defined in line 14; never used

Last modified: 1987-02-17 Generated: 2016-12-26 | Generated by src2html V0.67 page hit count: 394 |