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

⟦773e2a4a1⟧ TextFile

    Length: 338 (0x152)
    Types: TextFile
    Names: »opendev.c«

Derivation

└─⟦a0efdde77⟧ Bits:30001252 EUUGD11 Tape, 1987 Spring Conference Helsinki
    └─ ⟦this⟧ »EUUGD11/euug-87hel/sec8/uutty/opendev.c« 

TextFile

#include "uutty.h"
/*
** Close and re-open the port.
*/
opendev()
{
	D6("opendev()");
	if (dev >= 0) close(dev);
	if (device) {
		if ((dev = open(device,2)) < 0) {
			E("FATAL ERROR\n%s Can't open \"%s\"\t[errno=%d]",getime(),device,errno);
			die(1);
		}
		if (debug) P("%s Opened dev=%d=\"%s\".",getime(),dev,device);
	}
	return dev;
}