summaryrefslogtreecommitdiff
path: root/lib/libc/compat-43
diff options
context:
space:
mode:
authorTodd C. Miller <millert@cvs.openbsd.org>2017-05-07 21:19:30 +0000
committerTodd C. Miller <millert@cvs.openbsd.org>2017-05-07 21:19:30 +0000
commit53d720abb72ed08b4d724755b5f6bb09075183c4 (patch)
treeb63dbc4310ef71a6f1f59861db886f665e30b1ce /lib/libc/compat-43
parent6ed5f656ba0311faac37730d20c8dcd0f7d271d4 (diff)
killpg() is covered by XSI so add a STANDARDS section to that effect
and document that handling of process group 0 is not specified by the standard.
Diffstat (limited to 'lib/libc/compat-43')
-rw-r--r--lib/libc/compat-43/killpg.315
1 files changed, 12 insertions, 3 deletions
diff --git a/lib/libc/compat-43/killpg.3 b/lib/libc/compat-43/killpg.3
index a9c13ccf1e3..712953bccab 100644
--- a/lib/libc/compat-43/killpg.3
+++ b/lib/libc/compat-43/killpg.3
@@ -25,9 +25,9 @@
.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
.\" SUCH DAMAGE.
.\"
-.\" $OpenBSD: killpg.3,v 1.13 2015/01/29 01:46:30 schwarze Exp $
+.\" $OpenBSD: killpg.3,v 1.14 2017/05/07 21:19:29 millert Exp $
.\"
-.Dd $Mdocdate: January 29 2015 $
+.Dd $Mdocdate: May 7 2017 $
.Dt KILLPG 3
.Os
.Sh NAME
@@ -38,8 +38,9 @@
.Ft int
.Fn killpg "pid_t pgrp" "int sig"
.Sh DESCRIPTION
+The
.Fn killpg
-sends the signal
+function sends the signal
.Fa sig
to the process group
.Fa pgrp .
@@ -81,6 +82,14 @@ of the sending process.
.Xr getpgrp 2 ,
.Xr kill 2 ,
.Xr sigaction 2
+.Sh STANDARDS
+The
+.Fn killpg
+function conforms to the X/Open System Interfaces option of the
+.St -p1003.1-2008
+specification.
+.Pp
+The handling of process group 0 is an extension to that standard.
.Sh HISTORY
The
.Fn killpg