VMS Help  —  DCE  DCE_DTS, Application Routines, utc_gettime
 NAME

   utc_gettime - Returns the current system time and inaccuracy as a
                 binary timestamp

 SYNOPSIS

   #include <dce/utc.h>

   int utc_gettime( utc_t *utc );

 PARAMETERS

   Input

   None.

   Output

   utc
       System time as a binary timestamp.

 DESCRIPTION

   The utc_gettime() 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.

 RETURN VALUES

    0    Indicates that the routine executed successfully.

   -1    Generic error that indicates the time service cannot be
 	accessed.

 EXAMPLES

   See the sample program in the utc_binreltime reference page.
Close Help