talk session

Guy Harris guy at auspex.auspex.com
Sat May 11 04:56:30 AEST 1991


>SunOS:  usleep()

Welcome to the club - the club, that is, of folks who think "usleep()"
is a SunOS-ism.  Dunno how people get into that club; perhaps the first
UNIX system on which they see "usleep()" is a SunOS system.

"usleep()" first appeared in 4.3BSD; SunOS picked it up from there.

>SysVr3.[01]:  use poll(); this might not be present in your version of
>	SysVr3.[01]

What versions of S5R3.[01] deleted "poll()"?

>4.[23]BSD:  use select() (similar to poll() above, but more portable)

4.3BSD-and-later: use "usleep()".



More information about the Comp.unix.wizards mailing list