Time management

syscalls_timeGet (syscalls_gettime)

GETFROMSTACK(ustack, time_t *, praw, 0);
GETFROMSTACK(ustack, time_t *, poffs, 1);

Returns current time in praw and poffs variables.

syscalls_timeSet (syscalls_settime)

GETFROMSTACK(ustack, time_t, offs, 0);

Setup system time to value given by offs.

See also

  1. System calls
  2. Table of Contents