I have just discovered the hard way that the kthread.9 manual page is slightly out of date.
Having never done man page work before, I've attached a diff of the proposed change and if someone could give this a once-over and fix and/or commit it, that'd rock. Thanks. =) -- Benno Rice [EMAIL PROTECTED]
Index: kthread.9 =================================================================== RCS file: /home/ncvs/src/share/man/man9/kthread.9,v retrieving revision 1.11 diff -u -r1.11 kthread.9 --- kthread.9 10 Oct 2002 00:29:22 -0000 1.11 +++ kthread.9 18 Oct 2002 09:36:21 -0000 @@ -44,7 +44,7 @@ .Ft void .Fn kproc_shutdown "void *arg" "int howto" .Ft int -.Fn kthread_create "void (*func)(void *)" "void *arg" "struct proc **newpp" "int flags" "const char *fmt" "..." +.Fn kthread_create "void (*func)(void *)" "void *arg" "struct proc **newpp" "int flags" "int pages" "const char *fmt" "..." .Ft void .Fn kthread_exit "int ecode" .Ft int @@ -121,6 +121,10 @@ .Fa flags argument specifies a set of flags as described in .Xr rfork 2 . +The +.Fa pages +argument specifies the size of the new kthread's kernel stack in pages. +If 0 is used, the default kernel stack size is allocated. The rest of the arguments form a .Xr printf 9 argument list that is used to build the name of the new thread and is stored
signature.asc
Description: This is a digitally signed message part