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

##### Functions

    itoa              X

       1: itoa(i1, a1)
       2: int i1;
       3: char    *a1;
       4: {
       5:     register char   *a;
       6:     register int    i;
       7:     register char   *j;
       8:     char        b[6];
       9:
      10:     i = i1;
      11:     a = a1;
      12:     if (i < 0)
      13:     {
      14:         *a++ = '-';
      15:         i = -i;
      16:     }
      17:     j = &b[5];
      18:     *j-- = 0;
      19:     do
      20:     {
      21:         *j-- = i % 10 + '0';
      22:         i /= 10;
      23:     } while (i);
      24:     do
      25:     {
      26:         *a++ = *++j;
      27:     } while (*j);
      28:     return (0);
      29: }

#### Defined functions

itoa defined in line 1; used 14 times

- in /usr/ingres/source/dbu/copy.c line 417-422(2)
- in /usr/ingres/source/dbu/index.c line 134
- in /usr/ingres/source/dbu/pr_prot.c line 577-581(2)
- in /usr/ingres/source/decomp/usubr.c line 106
- in /usr/ingres/source/equel/prtout.c line 274
- in /usr/ingres/source/equel/retrieve.c line 161
- in /usr/ingres/source/gutil/iocv.c line 14
- in /usr/ingres/source/monitor/mac.c line 1954
- in /usr/ingres/source/ovqp/string.c line 126
- in /usr/ingres/source/parser/yyerror.y line 64
- in /usr/ingres/source/support/ingres.c line 213
- in /usr/ingres/source/support/sysmod.c line 98

Last modified: 1995-02-04 Generated: 2016-12-26 | Generated by src2html V0.67 page hit count: 549 |