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