:Begin:
:Function: f
:Pattern: KernelTime[]
:Arguments: {}
:ArgumentTypes: Manual
:ReturnType: Manual
:End:
#include "mathlink.h"
/* read the Kernel's response to its evaluation of
{Date[], $TimeZone} */
void f(void)
{
if(! MLEvaluate(stdlink, "{Date[],$TimeZone}"))
{ /* unable to send the expression to stdlink */ }
/* now read the Kernel's response */
switch(MLGetType(stdlink))
{
/* ... */
}
/* ... */
}