[#MillisToTimeval-0d]
= MillisToTimeval
:mrdocs:

Convert milliseconds to a struct timeval for e&period;g&period; select&period;

== Synopsis

Declared in `&lt;util&sol;time&period;h&gt;`

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
timeval
MillisToTimeval(int64&lowbar;t nTimeout);
----

== Return Value

The equivalent struct timeval&period;

== Parameters

[cols="1,4"]
|===
| Name| Description
| *nTimeout*
| Number of milliseconds&period;
|===


[.small]#Created with https://www.mrdocs.com[MrDocs]#
