|
|
DataMuseum.dkPresents historical artifacts from the history of: DKUUG/EUUG Conference tapes |
This is an automatic "excavation" of a thematic subset of
See our Wiki for more about DKUUG/EUUG Conference tapes Excavated with: AutoArchaeologist - Free & Open Source Software. |
top - metrics - download
Length: 214 (0xd6)
Types: TextFile
Names: »delay.c«
└─⟦b20c6495f⟧ Bits:30007238 EUUGD18: Wien-båndet, efterår 1987
└─⟦this⟧ »EUUGD18/General/Empire/delay.c«
#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);
}