File:  [CSRG BSD Unix] / 43BSD / ingres / source / ctlmod / pb_wphys.c
Revision 1.1.1.1 (vendor branch): download - view: text, annotated - select for diffs
Tue Apr 24 16:12:55 2018 UTC (8 years, 1 month ago) by root
Branches: MAIN, BSD
CVS tags: HEAD, BSD43
BSD 4.3

# include	<useful.h>
# include	"pipes.h"
# include	<sccs.h>

SCCSID(@(#)pb_wphys.c	8.1	12/31/84)

/*
**  PB_WPHYS -- physical write on pipe
**
**	Parameters:
**		ppb -- a pointer to the data area.
**		fd -- the file descriptor.
**
**	Returns:
**		none
**
**	Side Effects:
**		none
**
**	Called By:
**		pb_write
**
**	Trace Flags:
**		none
*/

pb_wphys(ppb, fd)
register pb_t	*ppb;
register int	fd;
{
	register int	i;

	i = write(fd, (char *) ppb, PB_IOSIZE);
	if (i != PB_IOSIZE)
	{
		pb_dump(ppb, TRUE);
		syserr("pb_wphys: write error: fd=%d, i=%d", fd, i);
	}
}

unix.superglobalmegacorp.com

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