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

##### Functions

    smove             X

       1: /*
       2: **  STRING MOVE
       3: **
       4: **	The string `a' is moved to the string `b'.  The length
       5: **	of the string is returned.  `a' must be null terminated.
       6: **	There is no test for overflow of `b'.
       7: */
       8:
       9: smove(a, b)
      10: char    *a, *b;
      11: {
      12:     register int    l;
      13:     register char   *p, *q;
      14:
      15:     p = a;
      16:     q = b;
      17:     l = 0;
      18:     while (*p)
      19:     {
      20:         *q++ = *p++;
      21:         l++;
      22:     }
      23:     *q = '\0';
      24:     return (l);
      25: }

#### Defined functions

smove defined in line 9; used 35 times

- in /usr/ingres/source/access/batch.c line 56-57(2)
- in /usr/ingres/source/dbu/copy.c line 430
- in /usr/ingres/source/dbu/help.c line 128, 263
- in /usr/ingres/source/dbu/modify.c line 980
- in /usr/ingres/source/equel/nalloc.c line 49
- in /usr/ingres/source/gutil/trace.c line 28
- in /usr/ingres/source/iutil/errfilen.c line 29
- in /usr/ingres/source/iutil/initucode.c line 286, 343, 421, 460, 467
- in /usr/ingres/source/monitor/branch.c line 75
- in /usr/ingres/source/monitor/main.c line 105, 267-269(3)
- in /usr/ingres/source/parser/call_p.c line 44
- in /usr/ingres/source/parser/master.grammar line 746, 754, 762
- in /usr/ingres/source/parser/rngfcn.c line 27-28(2), 148-149(2)
- in /usr/ingres/source/parser/tree.c line 269
- in /usr/ingres/source/parser/yyerror.y line 68, 80
- in /usr/ingres/source/qrymod/util.c line 273
- in /usr/ingres/source/support/creatdb.c line 461
- in /usr/ingres/source/support/ingres.c line 338, 755
- in /usr/ingres/source/support/sysmod.c line 217

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