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

##### Functions

    locv              X

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

#### Defined functions

locv defined in line 1; used 83 times

- in /usr/ingres/source/access/accbuf.c line 49
- in /usr/ingres/source/access/closer.c line 29
- in /usr/ingres/source/access/get_tuple.c line 85
- in /usr/ingres/source/access/last_page.c line 42
- in /usr/ingres/source/access/noclose.c line 30
- in /usr/ingres/source/access/page.c line 48-49(2), 97, 114-115(2), 127-129(3)
- in /usr/ingres/source/access/rhash.c line 42-47(2)
- in /usr/ingres/source/access/utility.c line 13
- in /usr/ingres/source/dbu/copy.c line 226-228(2), 250, 293, 342, 350, 430
- in /usr/ingres/source/dbu/help.c line 280
- in /usr/ingres/source/dbu/ksort.c line 140-141(2), 160-161(2), 237, 561
- in /usr/ingres/source/dbu/main.c line 248-250(3)
- in /usr/ingres/source/dbu/modify.c line 568, 840
- in /usr/ingres/source/dbu/update.c line 48, 117
- in /usr/ingres/source/decomp/openrs.c line 187
- in /usr/ingres/source/decomp/qryproc.c line 122-124(3)
- in /usr/ingres/source/decomp/reformat.c line 221, 273-274(2), 310, 619
- in /usr/ingres/source/decomp/selectv.c line 140-141(2), 198
- in /usr/ingres/source/decomp/writeback.c line 22
- in /usr/ingres/source/decomp/writenod.c line 65
- in /usr/ingres/source/iutil/cslocks.c line 17, 47
- in /usr/ingres/source/iutil/pglocks.c line 18-19(2), 46-47(2)
- in /usr/ingres/source/iutil/printdesc.c line 24-31(6)
- in /usr/ingres/source/iutil/printup.c line 48, 71
- in /usr/ingres/source/iutil/rllocks.c line 18, 44
- in /usr/ingres/source/monitor/go.c line 66
- in /usr/ingres/source/monitor/trapquery.c line 60, 91
- in /usr/ingres/source/ovqp/interp.c line 181
- in /usr/ingres/source/ovqp/ovqp.c line 95-97(3)
- in /usr/ingres/source/ovqp/prsym.c line 62
- in /usr/ingres/source/ovqp/scan.c line 251
- in /usr/ingres/source/ovqp/string.c line 110, 122
- in /usr/ingres/source/parser/control.c line 241
- in /usr/ingres/source/parser/tree.c line 188
- in /usr/ingres/source/parser/yyerror.y line 68
- in /usr/ingres/source/qrymod/protect.c line 1024
- in /usr/ingres/source/qrymod/treepr.c line 219

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