Xref: utzoo comp.unix.ultrix:1965 comp.sources.wanted:9087 Path: utzoo!attcan!utgpu!jarvis.csri.toronto.edu!mailrus!wuarchive!gem.mps.ohio-state.edu!uakari.primate.wisc.edu!aplcen!haven!decuac!shlump.nac.dec.com!buffer.dec.com From: muth@buffer.dec.com (Bill Muth) Newsgroups: comp.unix.ultrix,comp.sources.wanted Subject: Re: looking for usleep() implementation for ULTRIX Message-ID: <5499@shlump.nac.dec.com> Date: 18 Oct 89 13:41:26 GMT Sender: newsdaemon@shlump.nac.dec.com Followup-To: comp.unix.ultrix Organization: Digital Equipment Corporation Lines: 14 Here is a macro for usleep() which appeared in comp.sources.x in the program xchomp. #ifdef ULTRIX #include EXTERN struct timeval st_delay; #define usleep(x) { st_delay.tv_usec = (x); st_delay.tv_sec = 0; \ select(32, NULL, NULL, NULL, &st_delay); } #endif Bill