Xref: utzoo comp.unix.questions:31127 comp.unix.wizards:25472 Path: utzoo!utgpu!news-server.csri.toronto.edu!rpi!think.com!sdd.hp.com!wuarchive!uunet!kithrup!sef From: sef@kithrup.COM (Sean Eric Fagan) Newsgroups: comp.unix.questions,comp.unix.wizards Subject: Re: talk session Message-ID: <1991May08.175740.12233@kithrup.COM> Date: 8 May 91 17:57:40 GMT References: <1991May7.000521.28186@athena.cs.uga.edu> <1991May7.084631.10183@prl.dec.com> <1991May7.102219.25557@ssd.kodak.com> Organization: Kithrup Enterprises, Ltd. Lines: 20 In article <1991May7.102219.25557@ssd.kodak.com> weimer@ssd.kodak.com writes: >Mmmm, my man page doesn't tell me how to sleep for less than 1 second... SunOS: usleep() Xenix: nap() (note also present in SysVr3.2 and later) SysVr3.[01]: use poll(); this might not be present in your version of SysVr3.[01] SysVr2.x: use read on a tty device, with min=1 time=, where is the number of 1/10ths of a second you wish to delay 4.[23]BSD: use select() (similar to poll() above, but more portable) All of thse are (or should be 8-)) documented. The problem is that, except for usleep() and nap(), none of them was intended to be used soley as a sleep-call. -- Sean Eric Fagan | "I made the universe, but please don't blame me for it; sef@kithrup.COM | I had a bellyache at the time." -----------------+ -- The Turtle (Stephen King, _It_) Any opinions expressed are my own, and generally unpopular with others.