Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Path: utzoo!decvax!decwrl!ucbvax!CSNET-RELAY.ARPA!DCATHEY%MCRAD2%ti-eg.CSNET From: DCATHEY%MCRAD2%ti-eg.CSNET@CSNET-RELAY.ARPA.UUCP Newsgroups: mod.computers.vax Subject: sleep() on VMS (and other assorted function...) Message-ID: <8607031256.AA07849@ucbvax.Berkeley.EDU> Date: Thu, 3-Jul-86 08:58:17 EDT Article-I.D.: ucbvax.8607031256.AA07849 Posted: Thu Jul 3 08:58:17 1986 Date-Received: Thu, 3-Jul-86 23:38:35 EDT Sender: daemon@ucbvax.BERKELEY.EDU Organization: The ARPA Internet Lines: 21 Approved: info-vax@sri-kl.arpa You're right, VMS does not have a specific sleep() function. The VMS system calls are much more general than that. However, a quick look in the Run-Time Library Reference Manual and you will see a routine called LIB$WAIT. This provides a the same functionality as sleep() and a little more. It is also usable from any language (as are all the RTL routines). If you *really* want to use sleep(), you can try this: EXTERNAL C$SLEEP INTEGER*4 seconds CALL C$SLEEP(%VAL(seconds)) and link with the VAX C RTL. David Cathey Texas Instruments [I don't work here, I'm just employed...]