SC_GCLOCK_READY(2) | SC_GCLOCK_READY(2) |
#include <sc.h>
int sc_gclock_ready(int flag);
If flag
is not zero, and the global clock compensation is
not yet done, then sc_gclock_ready()
blocks until it is
ready. Otherwise it returns immediately, and returns some error number
described below.
sc_gclock_ready()
always returns 0 if it succeeds. Otherwise
it returns the following error number.
ENODEV
EBUSY
EINTR
sc_get_global_time(3)