|
|
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: 362 (0x16a)
Types: TextFile
Names: »slowly.c«
└─⟦a0efdde77⟧ Bits:30001252 EUUGD11 Tape, 1987 Spring Conference Helsinki
└─⟦this⟧ »EUUGD11/euug-87hel/sec8/uutty/slowly.c«
#include "uutty.h"
/*
** This routine handles requests to do things slowly.
** Note the two ways of delaying: sleeping for "slow"
** seconds, or counting down from "count" to 1.
*/
slowly()
{ uint u;
D8("slowly() slow=%d count=%d",slow,count);
if (slow > 0) {
D8("slowly: slow=%d",slow);
sleep(slow);
}
for (u=count; u; u--) ;
D8("slowly() done");
}