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

##### Functions

    prargs            X

       1: /*
       2: **  PRARGS -- print argument list
       3: **
       4: **	Takes an argument list such as expected by any main()
       5: **	or the DBU routines and prints them on the standard
       6: **	output for debugging purposes.
       7: **
       8: **	Parameters:
       9: **		pc -- parameter count.
      10: **		pv -- parameter vector (just like to main()).
      11: **
      12: **	Returns:
      13: **		nothing
      14: **
      15: **	Side Effects:
      16: **		output to stdout only.
      17: **
      18: **	Requires:
      19: **		xputchar
      20: **		printf
      21: **
      22: **	Trace Flags:
      23: **		none
      24: **
      25: **	Diagnostics:
      26: **		none
      27: **
      28: **	Syserrs:
      29: **		none
      30: **
      31: **	History:
      32: **		2/27/78 (eric) -- changed to use xputchar
      33: */
      34:
      35: prargs(pc, pv)
      36: int pc;
      37: char    **pv;
      38: {
      39:     register char   **p;
      40:     register char   c;
      41:     int     n;
      42:     register char   *q;
      43:
      44:     n = pc;
      45:     printf("#args=%d:\n", n);
      46:     for (p = pv; n-- > 0; p++)
      47:     {
      48:         q = *p;
      49:         while ((c = *q++) != 0)
      50:             xputchar(c);
      51:         putchar('\n');
      52:     }
      53: }

#### Defined functions

prargs defined in line 35; used 12 times

- in /usr/ingres/source/dbu/display.c line 99
- in /usr/ingres/source/dbu/index.c line 146
- in /usr/ingres/source/dbu/main.c line 123, 219
- in /usr/ingres/source/dbu/rmqm.c line 105
- in /usr/ingres/source/decomp/call_dbu.c line 36, 55
- in /usr/ingres/source/decomp/call_dbu70.c line 43, 93
- in /usr/ingres/source/monitor/main.c line 96
- in /usr/ingres/source/parser/main.c line 31
- in /usr/ingres/source/support/creatdb.c line 1274

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