Files
sousa-gecko/docs/nspr/reference/pr_microsecondstointerval.md
T

25 lines
422 B
Markdown

# PR_MicrosecondsToInterval
Converts standard clock microseconds to platform-dependent intervals.
## Syntax
```{code}
#include <prinrval.h>
PRIntervalTime PR_MicrosecondsToInterval(PRUint32 milli);
```
### Parameter
The function has the following parameter:
`micro`
: The number of microseconds to convert to interval form.
### Returns
Platform-dependent equivalent of the value passed in the `micro`
parameter.