diff options
author | ache <ache@FreeBSD.org> | 1997-08-14 08:26:25 +0000 |
---|---|---|
committer | ache <ache@FreeBSD.org> | 1997-08-14 08:26:25 +0000 |
commit | 9ef9656a1f9ea4872732835c7f6e7f573851f596 (patch) | |
tree | c799274c593591f5856e2a73e6137da88b06d813 /lib/libc/sys | |
parent | 4ef0ac8df99354f547ef2b6198eb0546c1ff7beb (diff) | |
download | FreeBSD-src-9ef9656a1f9ea4872732835c7f6e7f573851f596.zip FreeBSD-src-9ef9656a1f9ea4872732835c7f6e7f573851f596.tar.gz |
Explicitly point that it_value == 0 disables timer regardles of
it_interval value. It is backward-compatible with previous usage
and SunOS-compatible now.
Diffstat (limited to 'lib/libc/sys')
-rw-r--r-- | lib/libc/sys/getitimer.2 | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/lib/libc/sys/getitimer.2 b/lib/libc/sys/getitimer.2 index 23877a6..171bc42 100644 --- a/lib/libc/sys/getitimer.2 +++ b/lib/libc/sys/getitimer.2 @@ -85,7 +85,9 @@ is non-zero, it specifies a value to be used in reloading when the timer expires. Setting .Fa it_value -to 0 disables a timer. Setting +to 0 disables a timer, regardless of the value of +.Fa it_interval . +Setting .Fa it_interval to 0 causes a timer to be disabled after its next expiration (assuming .Fa it_value |