Previous: , Up: Protocol-specific Representation of Datatypes   [Contents][Index]

struct timeval

The buffer of type struct timeval used by the File-I/O protocol is defined as follows:

struct timeval {
    time_t tv_sec;  /* second */
    long   tv_usec; /* microsecond */

The integral datatypes conform to the definitions given in the appropriate section (see Integral Datatypes, for details) so this structure is of size 8 bytes.