From 20e75858d4c1e971b6b577fdf3b97b3005fc8328 Mon Sep 17 00:00:00 2001 From: Kaz Kylheku Date: Wed, 2 Jul 2014 07:17:45 -0700 Subject: * txr.1: Documented usleep. --- txr.1 | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) (limited to 'txr.1') diff --git a/txr.1 b/txr.1 index 53557fa6..801c5f5f 100644 --- a/txr.1 +++ b/txr.1 @@ -13828,6 +13828,27 @@ EXIT_FAILURE, and t corresponds to EXIT_SUCCESS. These are platform-independent indicators of failed or successful termination. The numeric value 0 also indicates success. +.SS Function usleep + +.TP +Syntax: + + (usleep ) + +.TP +Description: + +The usleep function suspends the execution of the program for at least + microseconds. + +The return value is t if the sleep was successfully executed. A nil +value indicates premature wakup or complete failure. + +Note: the actual sleep resolution is not guaranteed, and depends on granularity +of the system timer. Actual sleep times may be rounded up to the nearest 10 +millisecond multiple on a system where timed suspensions are triggered by a 100 +Hz tick. + .SS Function mkdir .TP -- cgit v1.2.3