Share via


timeval (Compact 2013)

3/26/2014

This structure is used to specify time values.

Syntax

struct timeval {
  long tv_sec;
  long tv_usec;
};

Members

  • tv_sec
    Time value, in seconds.
  • tv_usec
    Time value, in microseconds.

Requirements

Header

winsock2.h

See Also

Reference

Winsock Structures
linger
select