Mathematica > Systems Interfaces & Deployment > C/C++ Language Interface > MathLink C Language Functions >
Mathematica > Systems Interfaces & Deployment > MathLink API > MathLink C Language Functions >
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;
© 2008 Wolfram Research, Inc.
Ask a question about this page  |  Suggest an improvement  |  Leave a message for the team