Convert milliseconds to a struct timeval for e.g. select.

Synopsis

Declared in <util/time.h>

timeval
MillisToTimeval(int64_t nTimeout);

Return Value

The equivalent struct timeval.

Parameters

Name

Description

nTimeout

Number of milliseconds.

Created with MrDocs