# 2.11BSD#431 - /usr/ingres/source/equel/runtime/IIwrite.c

##### Functions

    IIwrite           X

       1: # include   "../../ingres.h"
       2: # include   "../../symbol.h"
       3: # include   "../../pipes.h"
       4: # include   "IIglobals.h"
       5:
       6: /*
       7: **	IIwrite is used to write a string to the
       8: **	quel parser
       9: */
      10:
      11: IIwrite(str)
      12: char    *str;
      13: {
      14:     register char   *s;
      15:     register int    i;
      16:
      17:     s = str;
      18: #	ifdef xETR1
      19:     if (IIdebug)
      20:         printf("write:string='%s'\n", s);
      21: #	endif
      22:     if (!IIingpid)
      23:         IIsyserr("no preceding ##ingres statement");
      24:     if (IIin_retrieve)
      25:         IIsyserr("IIwrite:you cannot call ingres while in a retrieve");
      26:
      27:     if((i = IIlength(s)) != 0)
      28:         if (IIwrpipe(P_NORM, &IIoutpipe, IIw_down, s, i) != i)
      29:             IIsyserr("IIwrite:can't write to parser(3) %d", i);
      30: }

#### Defined functions

IIwrite defined in line 11; used 9 times

- in /usr/ingres/source/equel/runtime/IIw_left.c line 68, 75-77(2), 123, 133
- in /usr/ingres/source/equel/runtime/IIw_right.c line 63, 69, 120, 131

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