]> git.saurik.com Git - apple/libc.git/blame - compat-43/FreeBSD/killpg.2.patch
Libc-763.11.tar.gz
[apple/libc.git] / compat-43 / FreeBSD / killpg.2.patch
CommitLineData
1f2f436a
A
1--- killpg.2.orig 2009-11-06 10:36:38.000000000 -0800
2+++ killpg.2 2009-11-06 10:41:32.000000000 -0800
3@@ -37,7 +37,6 @@
224c7076
A
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"
1f2f436a 11@@ -76,21 +75,29 @@ The
224c7076
A
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