VMS Help
DECdts, utc_gettime
*Conan The Librarian
|
Returns the current system time and inaccuracy as a binary
timestamp.
Format
#include <utc.h>
int utc_gettime(*utc)
utc_t *utc;
Input
None.
Output
utc
System time as a binary timestamp.
The Get Time routine returns the current system time and
inaccuracy in a binary timestamp. The routine takes the TDF
from the operating system's kernel; the TDF is specified in a
system-dependent manner.
0 Indicates that the routine executed successfully.
-1 Generic error that indicates the time service cannot be
accessed.
See the sample program for the utc_binreltime routine.