|
|
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 - download
Length: 328 (0x148)
Types: TextFile
Names: »start_dist.c«
└─⟦b20c6495f⟧ Bits:30007238 EUUGD18: Wien-båndet, efterår 1987
└─⟦this⟧ »EUUGD18/General/Hearts/start_dist.c«
/*
* 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)
;
}
}