summaryrefslogtreecommitdiff
path: root/share/man/man9
diff options
context:
space:
mode:
authorJason McIntyre <jmc@cvs.openbsd.org>2004-04-17 14:05:17 +0000
committerJason McIntyre <jmc@cvs.openbsd.org>2004-04-17 14:05:17 +0000
commit70cc59d98492a65ca3538b0a11bbc5a9ea9e4a3c (patch)
treee3bbb1afcbfb4f07558da44e26541a921f066ee0 /share/man/man9
parent9aae7a399a2eccbc351404e965270c7e11b519f7 (diff)
update from jared yanovich;
Diffstat (limited to 'share/man/man9')
-rw-r--r--share/man/man9/kthread.96
1 files changed, 3 insertions, 3 deletions
diff --git a/share/man/man9/kthread.9 b/share/man/man9/kthread.9
index dad8f9e1486..97799af6324 100644
--- a/share/man/man9/kthread.9
+++ b/share/man/man9/kthread.9
@@ -1,4 +1,4 @@
-.\" $OpenBSD: kthread.9,v 1.6 2003/11/02 18:59:46 grange Exp $
+.\" $OpenBSD: kthread.9,v 1.7 2004/04/17 14:05:16 jmc Exp $
.\"
.\" Copyright (c) 1999 Marc Espie
.\" All rights reserved.
@@ -34,11 +34,11 @@
.Sh SYNOPSIS
.Fd #include <sys/kthread.h>
.Ft int
-.Fn kthread_create "void (*func)(void)" "void *arg" "struct proc **newpp" "const char *fmt" ...
+.Fn kthread_create "void (*func)(void *)" "void *arg" "struct proc **newpp" "const char *fmt" ...
.Ft void
.Fn kthread_exit "int ecode"
.Ft void
-.Fn kthread_create_deferred "void (*func)(void)" "void *arg"
+.Fn kthread_create_deferred "void (*func)(void *)" "void *arg"
.Sh DESCRIPTION
Kernel threads are system light-weight processes: cloned from process 0
(the swapper), sharing its memory map and limits, but with a copy of its