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. --- ChangeLog | 4 ++++ txr.1 | 21 +++++++++++++++++++++ 2 files changed, 25 insertions(+) diff --git a/ChangeLog b/ChangeLog index 9745e5f7..7da494e0 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,7 @@ +2014-07-02 Kaz Kylheku + + * txr.1: Documented usleep. + 2014-07-02 Kaz Kylheku * eval.c (dwim_loc): Support indexing using a list of positions, 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