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

⟦df6f22025⟧ TextFile

    Length: 220 (0xdc)
    Types: TextFile
    Names: »unlock.c«

Derivation

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

TextFile

#include "uutty.h"
/*
** Remove the lockfile.
*/
unlock()
{
	D2("%s: Delete lockfile %d=\"%s\".",getime(),lockfn,lockfile);
	unlink(lockfile);
	D4("Close lockfn=%d.",lockfn);
	close(lockfn);
	lockfn = -1;
	locked = 0;
}