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

##### Functions

    prpipe            X

       1: # include   "../pipes.h"
       2:
       3: prpipe(buf1)
       4: struct pipfrmt  *buf1;
       5: {
       6:     register int        i;
       7:     register struct pipfrmt *buf;
       8:     register char       c;
       9:
      10:     buf = buf1;
      11:     printf("pipe struct =\t%u\n", buf);
      12:     printf("exec_id = '");
      13:     xputchar(buf->exec_id);
      14:     printf("'\tfunc_id = '");
      15:     xputchar(buf->func_id);
      16:     printf("'\terr_id = %d\nhdrstat = %d\tbuf_len = %d\tpbuf_pt = %d\n",
      17:         buf->err_id, buf->hdrstat, buf->buf_len, buf->pbuf_pt);
      18:     for (i=0; i < buf->buf_len; i++)
      19:     {
      20:         c = buf->pbuf[i];
      21:         printf("\t%3d", c);
      22:         if (c > ' ')
      23:             printf(" %c", c);
      24:         if (i % 8 == 7)
      25:             putchar('\n');
      26:     }
      27:     putchar('\n');
      28: }

#### Defined functions

prpipe defined in line 3; used 2 times

- in /usr/ingres/source/iutil/rdpipe.c line 188
- in /usr/ingres/source/iutil/wrpipe.c line 127

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