Annotation of 42BSD/ingres/source/libq/IIpb_wphys.c, revision 1.1

1.1     ! root        1: # include      <pipes.h>
        !             2: # include      <sccs.h>
        !             3: 
        !             4: SCCSID(@(#)IIpb_wphys.c        7.1     2/5/81)
        !             5: 
        !             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: 
        !            21: IIpb_wphys(ppb, fd)
        !            22: register pb_t  *ppb;
        !            23: register int   fd;
        !            24: {
        !            25:        register int    i;
        !            26: 
        !            27:        i = write(fd, ppb, PB_IOSIZE);
        !            28:        if (i != PB_IOSIZE)
        !            29:                IIsyserr("pb_wphys: write error");
        !            30: }

unix.superglobalmegacorp.com

This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.