#define __NEW_STARLET 1
#include <stdio.h>
#include <stdlib.h>
#include <ssdef.h>
#include <stsdef.h>
#include <libwaitdef.h>
#include <lib$routines.h>
#include "errchk.h"
int main (void) {
#if __G_FLOAT != 0
# define FLOAT_TYPE LIB$K_VAX_F
#elif __D_FLOAT != 0
# define FLOAT_TYPE LIB$K_VAX_D
#elif __IEEE_FLOAT != 0
# define FLOAT_TYPE LIB$K_IEEE_S
#else
# error "Try specifying a floating point qualifier on the compile"
#endif
static int r0_status;
static float time = 2.5;
static unsigned int float_type = FLOAT_TYPE;
(void)printf ("Sleeping for %f seconds... ",
time);
(void)fflush (stdout);
r0_status = lib$wait (&time,
0,
&float_type);
errchk_sig (r0_status);
(void)printf ("Awake!\n");
}