]> git.saurik.com Git - apple/libc.git/blob - compat-43/FreeBSD/killpg.2.patch
Libc-594.9.4.tar.gz
[apple/libc.git] / compat-43 / FreeBSD / killpg.2.patch
1 --- killpg.2 2003-05-20 15:20:40.000000000 -0700
2 +++ killpg.2.edit 2006-07-12 10:52:21.000000000 -0700
3 @@ -41,7 +41,6 @@
4 .Sh LIBRARY
5 .Lb libc
6 .Sh SYNOPSIS
7 -.In sys/types.h
8 .In signal.h
9 .Ft int
10 .Fn killpg "pid_t pgrp" "int sig"
11 @@ -80,21 +79,29 @@
12 .Fa sig
13 argument
14 is not a valid signal number.
15 +.It Bq Er EPERM
16 +The sending process is not the super-user and one or more
17 +of the target processes has an effective user ID different from that
18 +of the sending process.
19 .It Bq Er ESRCH
20 No process can be found in the process group specified by
21 .Fa pgrp .
22 .It Bq Er ESRCH
23 The process group was given as 0
24 but the sending process does not have a process group.
25 -.It Bq Er EPERM
26 -The sending process is not the super-user and one or more
27 -of the target processes has an effective user ID different from that
28 -of the sending process.
29 .El
30 +.Sh LEGACY SYNOPSIS
31 +.Fd #include <sys/types.h>
32 +.Fd #include <signal.h>
33 +.Pp
34 +The include file
35 +.In sys/types.h
36 +is necessary.
37 .Sh SEE ALSO
38 .Xr getpgrp 2 ,
39 .Xr kill 2 ,
40 -.Xr sigaction 2
41 +.Xr sigaction 2 ,
42 +.Xr compat 5
43 .Sh HISTORY
44 The
45 .Fn killpg