diff options
author | Alexander Yurchenko <grange@cvs.openbsd.org> | 2003-11-02 18:59:47 +0000 |
---|---|---|
committer | Alexander Yurchenko <grange@cvs.openbsd.org> | 2003-11-02 18:59:47 +0000 |
commit | eb8f948fe57f597df4a1ebae7ab2d09322357f58 (patch) | |
tree | 4ed4d8ef300cddc39af7a9dc201681d3f0f4e5d4 /share/man/man9/kthread.9 | |
parent | 2f701df9b3a61fb427ff6c5d071e4064f738bc1d (diff) |
Document kthread_create() return value.
ok mickey@ jmc@
Diffstat (limited to 'share/man/man9/kthread.9')
-rw-r--r-- | share/man/man9/kthread.9 | 11 |
1 files changed, 10 insertions, 1 deletions
diff --git a/share/man/man9/kthread.9 b/share/man/man9/kthread.9 index b10e79cc15f..dad8f9e1486 100644 --- a/share/man/man9/kthread.9 +++ b/share/man/man9/kthread.9 @@ -1,4 +1,4 @@ -.\" $OpenBSD: kthread.9,v 1.5 2003/06/04 04:29:03 deraadt Exp $ +.\" $OpenBSD: kthread.9,v 1.6 2003/11/02 18:59:46 grange Exp $ .\" .\" Copyright (c) 1999 Marc Espie .\" All rights reserved. @@ -79,6 +79,15 @@ when it can create threads, so it is up to to call .Fn kthread_create at that point. +.Sh RETURN VALUES +Upon successful completion, +.Fn kthread_create +returns 0. +Otherwise, the following error values are returned: +.Bl -tag -width [EAGAIN] +.It Bq Er EAGAIN +The limit on the total number of system processes would be exceeded. +.El .Sh SEE ALSO .Xr fork1 9 .Sh BUGS |