# 2.11BSD#431 - /usr/ingres/source/iutil/ingresname.c

##### Functions

    ingresname        X

       1: # include   "../ingres.h"
       2:
       3: /*
       4: **  MAKE INGRES FILE NAME
       5: **
       6: **	The null-terminated string 'iname' is converted to a
       7: **	file name as used by the ingres relations.  The name
       8: **	of the relation is padded out to be MAXNAME bytes long,
       9: **	and the two-character id 'id' is appended.  The whole
      10: **	thing will be null-terminated and put into 'outname'.
      11: **
      12: **	'Outname' must be at least MAXNAME + 3 bytes long.
      13: */
      14:
      15: ingresname(iname, id, outname)
      16: char    *iname;
      17: char    *id;
      18: char    *outname;
      19: {
      20:     register char   *p;
      21:     char *pmove();
      22:
      23:     p = outname;
      24:     p = pmove(iname, p, MAXNAME, ' ');
      25:     bmove(id, p, 2);
      26:     p[2] = '\0';
      27: }

#### Defined functions

ingresname defined in line 15; used 17 times

- in /usr/ingres/source/access/openr.c line 124
- in /usr/ingres/source/access/readadmin.c line 128-131(2)
- in /usr/ingres/source/dbu/create.c line 251, 331
- in /usr/ingres/source/dbu/destroy.c line 128
- in /usr/ingres/source/dbu/modify.c line 157
- in /usr/ingres/source/dbu/modupdate.c line 51, 73, 91
- in /usr/ingres/source/dbu/resetrel.c line 29
- in /usr/ingres/source/dbu/userdestroy.c line 103
- in /usr/ingres/source/support/creatdb.c line 1129, 1204, 1749-1752(2)
- in /usr/ingres/source/support/restore.c line 401

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