File:  [CSRG BSD Unix] / 43BSD / ingres / source / libq / IIpb_write.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	<ingres.h>
# include	"IIglobals.h"
# include	<sccs.h>

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


/*
**  IIPB_WRITE -- Write pipe block
**
**	Writes the block specified by ppb down to the PARSER
**
**	Parameters:
**		ppb -- a ptr to the pipe block to write.
**
**	Returns:
**		none
**
**	Side Effects:
**		none
*/

IIpb_write(ppb)
register pb_t	*ppb;
{
	register int	i;
	register int	ofd;

	/* mark the block as coming from this process */
	ppb->pb_from = PB_FRONT;

	/* normal message */
	i = ppb->pb_proc;
	IIpb_wphys(ppb, IIw_down);


	/* reset some exciting pointers */
	ppb->pb_xptr = ppb->pb_data;
	ppb->pb_nleft = PB_DBSIZE;
	ppb->pb_nused = 0;
}

unix.superglobalmegacorp.com

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