# 2.11BSD#431 - /usr/ingres/source/gutil/concat.c

##### Functions

    concat            X

       1: /*
       2: **  STRING CONCATENATE
       3: **
       4: **	The strings `s1' and `s2' are concatenated and stored into
       5: **	`s3'.  It is ok for `s1' to equal `s3', but terrible things
       6: **	will happen if `s2' equals `s3'.  The return value is is a
       7: **	pointer to the end of `s3' field.
       8: */
       9:
      10: char *concat(s1, s2, s3)
      11: char    *s1, *s2, *s3;
      12: {
      13:     register char       *p;
      14:     register char       *q;
      15:
      16:     p = s3;
      17:     q = s1;
      18:     while (*q)
      19:         *p++ = *q++;
      20:     q = s2;
      21:     while (*q)
      22:         *p++ = *q++;
      23:     *p = 0;
      24:     return (p);
      25: }

#### Defined functions

concat defined in line 10; used 25 times

- in /usr/ingres/source/dbu/help.c line 130-136(3)
- in /usr/ingres/source/dbu/ksort.c line 124
- in /usr/ingres/source/dbu/modify.c line 538, 591-594(2), 667, 976, 1007
- in /usr/ingres/source/dbu/modupdate.c line 39-40(2)
- in /usr/ingres/source/decomp/rnum.c line 76, 91
- in /usr/ingres/source/iutil/errfilen.c line 15, 32
- in /usr/ingres/source/iutil/initucode.c line 687-692(2), 710
- in /usr/ingres/source/monitor/eval.c line 32
- in /usr/ingres/source/monitor/main.c line 131
- in /usr/ingres/source/parser/master.grammar line 834
- in /usr/ingres/source/support/ingres.c line 315
- in /usr/ingres/source/support/sysmod.c line 130
- in /usr/ingres/source/support/usersetup.c line 73

Last modified: 1980-12-17 Generated: 2016-12-26 | Generated by src2html V0.67 page hit count: 387 |