summaryrefslogtreecommitdiff
path: root/share
diff options
context:
space:
mode:
Diffstat (limited to 'share')
-rw-r--r--share/man/man9/Makefile9
-rw-r--r--share/man/man9/task_add.96
2 files changed, 8 insertions, 7 deletions
diff --git a/share/man/man9/Makefile b/share/man/man9/Makefile
index 96e82893a5e..eba19ae3de8 100644
--- a/share/man/man9/Makefile
+++ b/share/man/man9/Makefile
@@ -1,4 +1,4 @@
-# $OpenBSD: Makefile,v 1.185 2013/10/29 05:14:20 dlg Exp $
+# $OpenBSD: Makefile,v 1.186 2013/10/29 07:57:57 jmc Exp $
# $NetBSD: Makefile,v 1.4 1996/01/09 03:23:01 thorpej Exp $
# Makefile for section 9 (kernel function and variable) manual pages.
@@ -323,10 +323,11 @@ MLINKS+=sysctl_int.9 sysctl_int_arr.9 sysctl_int.9 sysctl_quad.9 \
sysctl_int.9 sysctl_struct.9 sysctl_int.9 ctlname.9
MLINKS+=systrace.9 systrace_redirect.9 \
systrace.9 systrace_fork.9 systrace.9 systrace_exit.9
-MLINKS+=task_add.9 task_set.9 \
- task_add.9 task_del.9 \
+MLINKS+=task_add.9 task_systq.9 \
task_add.9 taskq_create.9 \
- task_add.9 taskq_destroy.9
+ task_add.9 taskq_destroy.9 \
+ task_add.9 task_set.9 \
+ task_add.9 task_del.9
MLINKS+=time.9 boottime.9 time.9 mono_time.9 time.9 runtime.9
MLINKS+=timeout.9 timeout_add.9 timeout.9 timeout_set.9 \
timeout.9 timeout_pending.9 timeout.9 timeout_del.9 \
diff --git a/share/man/man9/task_add.9 b/share/man/man9/task_add.9
index 9fea6452460..bb3d1048c8e 100644
--- a/share/man/man9/task_add.9
+++ b/share/man/man9/task_add.9
@@ -1,4 +1,4 @@
-.\" $OpenBSD: task_add.9,v 1.2 2013/10/29 04:35:46 dlg Exp $
+.\" $OpenBSD: task_add.9,v 1.3 2013/10/29 07:57:57 jmc Exp $
.\"
.\" Copyright (c) 2013 David Gwynne <dlg@openbsd.org>
.\"
@@ -126,12 +126,12 @@ was added to the taskq or 0 if it was already on the taskq.
will remove the task structure
.Fa t
from the taskq
-.Ta tq .
+.Fa tq .
If the work was already executed or has not been added to the taskq,
the call will have no effect.
Calling
.Fn task_del
-for gainst a different taskq than the one given in a previous call to
+against a different taskq than the one given in a previous call to
.Fn task_add
is an error and will lead to undefined behaviour.
If the work was actually removed from the taskq it will return 1, otherwise 0.