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

⟦8b5ff5beb⟧ TextFile

    Length: 185 (0xb9)
    Types: TextFile
    Names: »rename.c«

Derivation

└─⟦060c9c824⟧ Bits:30007080 DKUUG TeX 2/12/89
    └─⟦this⟧ »./DVIware/laser-setters/umd-dvi/libcompat/rename.c« 

TextFile

rename(a, b)
	char *a, *b;
{
	if (access(a, 0) == -1)
		return(-1);
	unlink(b);
	if (link(a, b) == -1)
		return(-1);
	if (unlink(a) == -1) {
		unlink(b);
		return(-1);
	}
	return(0);
}