summaryrefslogtreecommitdiff
path: root/lib/libc/sys/timer_delete.2
diff options
context:
space:
mode:
authorkleink <kleink@NetBSD.org>2003-09-13 23:00:38 +0000
committerkleink <kleink@NetBSD.org>2003-09-13 23:00:38 +0000
commitb9f1052a4dc0cb0189cf592deaa8432c618d2b37 (patch)
tree0abdab4b731a658c409434f9c5ed8f3f6d4f5807 /lib/libc/sys/timer_delete.2
parentbb2796d21539041f33f10d423e926b0dc7ab3918 (diff)
Fix some typos, attempt some markup normalization, align wording a little
more with other manual pages.
Diffstat (limited to 'lib/libc/sys/timer_delete.2')
-rw-r--r--lib/libc/sys/timer_delete.217
1 files changed, 10 insertions, 7 deletions
diff --git a/lib/libc/sys/timer_delete.2 b/lib/libc/sys/timer_delete.2
index 7d24352cecf..0d277ca902b 100644
--- a/lib/libc/sys/timer_delete.2
+++ b/lib/libc/sys/timer_delete.2
@@ -1,4 +1,4 @@
-.\" $NetBSD: timer_delete.2,v 1.2 2003/09/13 22:44:23 christos Exp $
+.\" $NetBSD: timer_delete.2,v 1.3 2003/09/13 23:00:38 kleink Exp $
.\"
.\" Copyright (c) 2003 The NetBSD Foundation, Inc.
.\" All rights reserved.
@@ -51,26 +51,29 @@ The
.Fn timer_delete
functions deletes the timer specified in the
.Ar timerid
-argument. The
+argument.
+The
.Ar timerid
argument must point to valid timer id, created by
.Xr timer_create 2 .
If the deletion is successful, the timer is disarmed and deleted.
Pending notification events (signals) may or may not be delivered.
.Sh RETURN VALUES
-The
+If successful, the
.Fn timer_delete
-functions returns 0 if it succeeds and -1 on error, setting errno to indicate
-the nature of the error.
+functions returns 0.
+Otherwise, it returns \-1, and sets
+.Dv errno
+to indicate error.
.Sh ERRORS
The
.Fn timer_delete
function will fail if:
.Bl -tag -width Er
.It Bq Er EINVAL
-The timer id specified in the
+The argument
.Ar timerid
-argument is not valid.
+is not a valid timer id.
.El
.Sh SEE ALSO
.Xr timer_create 2 ,