DataMuseum.dk

Presents historical artifacts from the history of:

DKUUG/EUUG Conference tapes

This is an automatic "excavation" of a thematic subset of
artifacts from Datamuseum.dk's BitArchive.

See our Wiki for more about DKUUG/EUUG Conference tapes

Excavated with: AutoArchaeologist - Free & Open Source Software.


top - metrics - download
Index: T g

⟦e7ab7a57b⟧ TextFile

    Length: 621 (0x26d)
    Types: TextFile
    Names: »grind3-3.c«

Derivation

└─⟦3d0c2be1b⟧ Bits:30001254 ISODE-5.0 Tape
    └─⟦eba4602b1⟧ »./isode-5.0.tar.Z« 
        └─⟦d3ac74d73⟧ 
            └─⟦this⟧ »isode-5.0/doc/manual/grind3-3.c« 
└─⟦2d1937cfd⟧ Bits:30007241 EUUGD22: P.P 5.0
    └─⟦35176feda⟧ »EurOpenD22/isode/isode-6.tar.Z« 
        └─⟦de7628f85⟧ 
            └─⟦this⟧ »isode-6.0/doc/manual/grind3-3.c« 

TextFile

#include <stdio.h>
#include <isode/ppkt.h>

/* ARGSUSED */

main (argc, argv, envp)
int	argc;
char  **argv,
      **envp;
{
    int     len;
    char   *cp;
    register PS	    ps;
    register PE	    pe;

    if ((ps = ps_alloc (std_open)) == NULLPS)
	error ("ps_alloc");
    if (std_setup (ps, stdin) == NOTOK)
	error ("std_setup: %s", ps_errno (ps -> ps_errno));

    for (;;) {
	if ((pe = ps2pe (ps)) == NULLPE)
	    if (ps -> ps_errno)
		error ("ps2pe: %s", ps_errno (ps -> ps_errno));
	    else
		break;		/* end-of-file */

/* process ``pe'' here... */

	    pe_free (pe);
    }

    ps_free (ps);

    exit (0);
}