1: # include   <useful.h>
   2: # include   "pipes.h"
   3: # include   <sccs.h>
   4: 
   5: SCCSID(@(#)pb_wphys.c	8.1	12/31/84)
   6: 
   7: /*
   8: **  PB_WPHYS -- physical write on pipe
   9: **
  10: **	Parameters:
  11: **		ppb -- a pointer to the data area.
  12: **		fd -- the file descriptor.
  13: **
  14: **	Returns:
  15: **		none
  16: **
  17: **	Side Effects:
  18: **		none
  19: **
  20: **	Called By:
  21: **		pb_write
  22: **
  23: **	Trace Flags:
  24: **		none
  25: */
  26: 
  27: pb_wphys(ppb, fd)
  28: register pb_t   *ppb;
  29: register int    fd;
  30: {
  31:     register int    i;
  32: 
  33:     i = write(fd, (char *) ppb, PB_IOSIZE);
  34:     if (i != PB_IOSIZE)
  35:     {
  36:         pb_dump(ppb, TRUE);
  37:         syserr("pb_wphys: write error: fd=%d, i=%d", fd, i);
  38:     }
  39: }

Defined functions

pb_wphys defined in line 5; used 2 times
Last modified: 1986-04-17
Generated: 2016-12-26
Generated by src2html V0.67
page hit count: 906
Valid CSS Valid XHTML 1.0 Strict