diff options
author | kib <kib@FreeBSD.org> | 2011-07-12 20:38:42 +0000 |
---|---|---|
committer | kib <kib@FreeBSD.org> | 2011-07-12 20:38:42 +0000 |
commit | 9ddcdc361153958f6fd170befab585e362283ac3 (patch) | |
tree | 3be0a907d160d1114239b0882f13535d063f09b1 | |
parent | 09ee3c95a50245039079062566f7368fc034ba87 (diff) | |
download | FreeBSD-src-9ddcdc361153958f6fd170befab585e362283ac3.zip FreeBSD-src-9ddcdc361153958f6fd170befab585e362283ac3.tar.gz |
Document RFTSIGZMB. Fix spelling of SIGCHLD. Note that signals are
delivered, not returned.
MFC after: 1 week
-rw-r--r-- | lib/libc/sys/rfork.2 | 16 |
1 files changed, 14 insertions, 2 deletions
diff --git a/lib/libc/sys/rfork.2 b/lib/libc/sys/rfork.2 index f1ae14b..222bac4 100644 --- a/lib/libc/sys/rfork.2 +++ b/lib/libc/sys/rfork.2 @@ -5,7 +5,7 @@ .\" .\" $FreeBSD$ .\" -.Dd March 15, 2011 +.Dd July 12, 2011 .Dt RFORK 2 .Os .Sh NAME @@ -84,8 +84,18 @@ Note that a lot of code will not run correctly in such an environment. .It Dv RFSIGSHARE If set, the kernel will force sharing the sigacts structure between the child and the parent. +.It Dv RFTSIGZMB +If set, the kernel will deliver a specified signal to the parent +upon the child exit, instead of default SIGCHLD. +The signal number +.Dv signum +is specified by oring the +.Dv RFTSIGFLAGS(signum) +expression into +.Fa flags . +Specifying signal number 0 disables signal delivery upon the child exit. .It Dv RFLINUXTHPN -If set, the kernel will return SIGUSR1 instead of SIGCHILD upon thread +If set, the kernel will deliver SIGUSR1 instead of SIGCHLD upon thread exit for the child. This is intended to mimic certain Linux clone behaviour. .El @@ -164,6 +174,8 @@ would be exceeded (see Both the RFFDG and the RFCFDG flags were specified. .It Bq Er EINVAL Any flags not listed above were specified. +.It Bq Er EINVAL +An invalid signal number was specified. .It Bq Er ENOMEM There is insufficient swap space for the new process. .El |