OSDN Git Service

LDP: Update original to LDP v3.68
[linuxjm/LDP_man-pages.git] / original / man2 / killpg.2
index d7aff1d..af6b013 100644 (file)
@@ -1,6 +1,7 @@
 .\" Copyright (c) 1980, 1991 Regents of the University of California.
 .\" All rights reserved.
 .\"
+.\" %%%LICENSE_START(BSD_4_CLAUSE_UCB)
 .\" Redistribution and use in source and binary forms, with or without
 .\" modification, are permitted provided that the following conditions
 .\" are met:
@@ -28,6 +29,7 @@
 .\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
 .\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
 .\" SUCH DAMAGE.
+.\" %%%LICENSE_END
 .\"
 .\"     @(#)killpg.2   6.5 (Berkeley) 3/10/91
 .\"
@@ -49,7 +51,6 @@ killpg \- send signal to a process group
 Feature Test Macro Requirements for glibc (see
 .BR feature_test_macros (7)):
 .in
-.sp
 .ad l
 .TP 4
 .BR killpg ():
@@ -85,7 +86,7 @@ In the case of
 .B SIGCONT
 it suffices when the sending and receiving
 processes belong to the same session.
-.SH "RETURN VALUE"
+.SH RETURN VALUE
 On success, zero is returned.
 On error, \-1 is returned, and
 .I errno
@@ -93,7 +94,7 @@ is set appropriately.
 .SH ERRORS
 .TP
 .B EINVAL
-.I Sig
+.I sig
 is not a valid signal number.
 .TP
 .B EPERM
@@ -107,13 +108,13 @@ No process can be found in the process group specified by
 .B ESRCH
 The process group was given as 0 but the sending process does not
 have a process group.
-.SH "CONFORMING TO"
+.SH CONFORMING TO
 SVr4, 4.4BSD (the
 .BR killpg ()
 function call first appeared in 4BSD), POSIX.1-2001.
 .SH NOTES
 There are various differences between the permission checking
-in BSD-type systems and System V-type systems.
+in BSD-type systems and System\ V-type systems.
 See the POSIX rationale for
 .BR kill ().
 A difference not mentioned by POSIX concerns the return
@@ -130,9 +131,18 @@ On Linux,
 .BR killpg ()
 is implemented as a library function that makes the call
 .IR "kill(-pgrp,\ sig)" .
-.SH "SEE ALSO"
+.SH SEE ALSO
 .BR getpgrp (2),
 .BR kill (2),
 .BR signal (2),
 .BR capabilities (7),
 .BR credentials (7)
+.SH COLOPHON
+This page is part of release 3.68 of the Linux
+.I man-pages
+project.
+A description of the project,
+information about reporting bugs,
+and the latest version of this page,
+can be found at
+\%http://www.kernel.org/doc/man\-pages/.