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 - download

⟦b5b886617⟧ TextFile

    Length: 441 (0x1b9)
    Types: TextFile
    Names: »startdaemon.c«

Derivation

└─⟦a0efdde77⟧ Bits:30001252 EUUGD11 Tape, 1987 Spring Conference Helsinki
    └─ ⟦526ad3590⟧ »EUUGD11/gnu-31mar87/X.V10.R4.tar.Z« 
        └─⟦2109abc41⟧ 
            └─ ⟦this⟧ »./X.V10R4/xtrek/startdaemon.c« 

TextFile

#ifndef lint
static char *rcsid_startdaemon_c = "$Header: startdaemon.c,v 10.1 86/11/30 15:28:58 jg Rel $";
#endif	lint
/* Copyright (c) 1986 	Chris Guthrie */


#include <stdio.h>
#include "defs.h"
#include "struct.h"

startdaemon()
{
    int i;

    i = vfork();
    if (i == 0) {
	for (i = 3; i < _NFILE; i++)
	    close(i);
	execl(DAEMON, "daemon", 0);
	perror(DAEMON);
	fprintf(stderr, "Couldn't start daemon!!!\n");
	_exit(1);
    }
}