This is documentation for Mathematica 6, which was
based on an earlier version of the Wolfram Language.
View current documentation (Version 11.2)
MathLink C Function

mltimeval

mltimeval
is a MathLink type used for storing time arguments.
  • The time value is measured in seconds and microseconds.
  • The seconds value can be accessed using the tv_sec specifier. The microseconds value can be accessed using the tv_usec specifier.
  • mltimeval is declared in the MathLink header file mathlink.h.
Set the value of the seconds and microseconds for the time variable:
mltimeval tm;
tm.tv_sec = 10;
tm.tv_usec = 0;