Debugging with GDB: gettimeofday |
---|
Next: isatty, Previous: stat/fstat, Up: List of Supported Calls [Contents][Index]
int gettimeofday(struct timeval *tv, void *tz);
‘Fgettimeofday,tvptr,tzptr ’
On success, 0 is returned, -1 otherwise.
EINVAL
tz is a non-NULL pointer.
EFAULT
tvptr and/or tzptr is an invalid pointer value.