|
|
DataMuseum.dkPresents historical artifacts from the history of: DKUUG/EUUG Conference tapes |
This is an automatic "excavation" of a thematic subset of
See our Wiki for more about DKUUG/EUUG Conference tapes Excavated with: AutoArchaeologist - Free & Open Source Software. |
top - metrics - downloadIndex: T w
Length: 1085 (0x43d)
Types: TextFile
Names: »wr_q.c«
└─⟦2d1937cfd⟧ Bits:30007241 EUUGD22: P.P 5.0
└─⟦dc59850a2⟧ »EurOpenD22/pp5.0/pp-5.tar.Z«
└─⟦e5a54fb17⟧
└─⟦this⟧ »pp-5.0/Lib/io/wr_q.c«
/* wr_q.c: write out a queue structure to a Control File in Q/ADDR */
# ifndef lint
static char Rcsid[] = "@(#)$Header: /cs/research/pp/hubris/pp-beta/Lib/io/RCS/wr_q.c,v 5.0 90/09/20 16:07:16 pp Exp Locker: pp $";
# endif
/*
* $Header: /cs/research/pp/hubris/pp-beta/Lib/io/RCS/wr_q.c,v 5.0 90/09/20 16:07:16 pp Exp Locker: pp $
*
* $Log: wr_q.c,v $
* Revision 5.0 90/09/20 16:07:16 pp
* rcsforce : 5.0 public release
*
*/
/* __________________________________________________________________________
This routine is used so that there is only one entry point to q2txt()
which is located in Lib/pp/tx_q.c
____________________________________________________________________________*/
#include "head.h"
#include "q.h"
/* --------------------- Begin Routines -------------------------------- */
int wr_q (qp, fp)
register Q_struct *qp;
FILE *fp;
{
int retval;
PP_DBG (("Lib/wr_q (type=%d, size=%d)", qp->msgtype, qp->msgsize));
retval = q2txt (fp, qp);
if (retval == NOTOK)
return (RP_FIO);
return (RP_OK);
}