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:
EINVALtzis a non-NULL pointer.EFAULTtvptrand/ortzptris an invalid pointer value.