# 2.11BSD#431 - /usr/src/usr.bin/refer/inv3.c

##### Functions

    getargs           X

       1: #ifndef lint
       2: static char *sccsid = "@(#)inv3.c	4.1 (Berkeley) 5/6/83";
       3: #endif
       4:
       5: getargs(s, arps)
       6: char *s, *arps[];
       7: {
       8:     int i = 0;
       9:
      10:     while (1)
      11:     {
      12:         arps[i++] = s;
      13:         while (*s != 0 && *s!=' '&& *s != '\t')
      14:             s++;
      15:         if (*s == 0)
      16:             break;
      17:         *s++ = 0;
      18:         while (*s==' ' || *s=='\t')
      19:             s++;
      20:         if (*s==0)
      21:             break;
      22:     }
      23:     return(i);
      24: }

#### Defined functions

getargs defined in line 5; used 1 times

- in /usr/src/usr.bin/refer/inv2.c line 56

#### Defined variables

sccsid defined in line 2; never used

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