#include int delay(unsigned millisec) { usleep(millisec * 1000L); return 0; }