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

⟦16bda547b⟧ TextFile

    Length: 214 (0xd6)
    Types: TextFile
    Names: »delay.c«

Derivation

└─⟦b20c6495f⟧ Bits:30007238 EUUGD18: Wien-båndet, efterår 1987
    └─⟦this⟧ »EUUGD18/General/Empire/delay.c« 

TextFile

#include <stdio.h>	/* for NULL */
#include <sys/time.h>

delay_(ticks)
	int	*ticks;
{
	struct timeval	tv;

	tv.tv_sec = *ticks / 60;
	tv.tv_usec = (*ticks % 60) * 1000000 / 60;
	select(0, NULL, NULL, NULL, &tv);
}