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

⟦c1c850f70⟧ TextFile

    Length: 328 (0x148)
    Types: TextFile
    Names: »start_dist.c«

Derivation

└─⟦b20c6495f⟧ Bits:30007238 EUUGD18: Wien-båndet, efterår 1987
    └─⟦this⟧ »EUUGD18/General/Hearts/start_dist.c« 

TextFile

/*
 * autostart - start up the distributor if it's not around.
 */

#include "local.h"

start_distributor ()
{
	int	pid;

	switch (pid = fork()) {
	case 0:
		(void) setpgrp (0, getpid());
		execl (HEARTS_DIST, "hearts_dist", 0);
		exit (1);
	case -1:
		perror ("fork");
		exit (1);
	default:
		while (wait (0) != pid)
			;
	}
}