|
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 t
Length: 882 (0x372) Types: TextFile Names: »t-prf.c«
└─⟦2d1937cfd⟧ Bits:30007241 EUUGD22: P.P 5.0 └─⟦dc59850a2⟧ »EurOpenD22/pp5.0/pp-5.tar.Z« └─⟦e5a54fb17⟧ └─⟦this⟧ »pp-5.0/Tools/misc/t-prf.c«
/* t-prf.c tests the PerrRecipientFlag */ # ifndef lint static char Rcsid[] = "@(#)$Header: /cs/research/pp/hubris/pp-beta/Tools/misc/RCS/t-prf.c,v 5.0 90/09/20 16:27:05 pp Exp Locker: pp $"; # endif /* * $Header: /cs/research/pp/hubris/pp-beta/Tools/misc/RCS/t-prf.c,v 5.0 90/09/20 16:27:05 pp Exp Locker: pp $ * * $Log: t-prf.c,v $ * Revision 5.0 90/09/20 16:27:05 pp * rcsforce : 5.0 public release * */ #include "head.h" /* --------------------- Begin Routines -------------------------------- */ main (argc, argv) int argc; char *argv[]; { int prf, resp, mta, usr; if (argc != 2) { printf ("\n\nUsage: t-prf value\n\n"); exit (1); } prf = atoi (argv[1]); prf2mem (prf, &resp, &mta, &usr); printf ("\n%d - resp=%d mta=%d usr=%d\n", prf, resp, mta, usr); printf ("mem2prf returns %d\n\n", mem2prf(resp, mta, usr)); return; }