1: # include   "../../pipes.h"
   2: 
   3: IIprpipe(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 = '%c'\tfunc_id = '%c'\terr_id = %d\nhdrstat = %d\tbuf_len = %d\tpbuf_pt = %d\n",
  13:         buf->exec_id, buf->func_id, buf->err_id, buf->hdrstat, buf->buf_len, buf->pbuf_pt);
  14:     for (i=0; i < buf->buf_len; i++)
  15:     {
  16:         c = buf->pbuf[i];
  17:         printf("\t%3d", c);
  18:         if (c > ' ')
  19:             printf(" %c", c);
  20:         if (i % 8 == 7)
  21:             putchar('\n');
  22:     }
  23:     putchar('\n');
  24: }

Defined functions

Last modified: 1980-12-17
Generated: 2016-12-26
Generated by src2html V0.67
page hit count: 1976
Valid CSS Valid XHTML 1.0 Strict