portable way to do nap()

Jan Herder herder at myab.se
Wed Oct 5 00:25:34 AEST 1988


In article <543 at mpx1.UUCP> erik at mpx1.UUCP (Erik Murrey) writes:
>How can I do a portable nap()?  A nap() (under XENIX) allows
>a user process to block for a short time, usually a few hundred ms.
>Does SysVr3 address this?  How about SysVr4?

Since SysVr3.2 is a merge between XENIX and SysVr3 nap() should be
there. 

Another way under SysV is to do a read with timeout one a tty.

-- 
Jan Herder, MYAB Sweden                    |  Phone: +46 31 18 75 12
Internet: herder at myab.se                   |  Fax:   +46 31 18 28 42
UUCP: 	  uunet!enea!chalmers!myab!herder  |  Address: Dr. Forseliusg 21
ARPA:	  herder%myab.se at uunet.uu.net      |           413 26 Gothenburg



More information about the Comp.unix.wizards mailing list