Deleted Added
full compact
getpgrp.2 (13750) getpgrp.2 (17782)
1.\" Copyright (c) 1983, 1991, 1993
2.\" The Regents of the University of California. All rights reserved.
3.\"
4.\" Redistribution and use in source and binary forms, with or without
5.\" modification, are permitted provided that the following conditions
6.\" are met:
7.\" 1. Redistributions of source code must retain the above copyright
8.\" notice, this list of conditions and the following disclaimer.

--- 53 unchanged lines hidden (view full) ---

62.Fn tcsetpgrp
63calls
64are used to get/set the process group of the control terminal.
65.Sh SEE ALSO
66.Xr setpgid 2 ,
67.Xr termios 4
68.Sh HISTORY
69The
1.\" Copyright (c) 1983, 1991, 1993
2.\" The Regents of the University of California. All rights reserved.
3.\"
4.\" Redistribution and use in source and binary forms, with or without
5.\" modification, are permitted provided that the following conditions
6.\" are met:
7.\" 1. Redistributions of source code must retain the above copyright
8.\" notice, this list of conditions and the following disclaimer.

--- 53 unchanged lines hidden (view full) ---

62.Fn tcsetpgrp
63calls
64are used to get/set the process group of the control terminal.
65.Sh SEE ALSO
66.Xr setpgid 2 ,
67.Xr termios 4
68.Sh HISTORY
69The
70.Nm
70.Fn getpgrp
71function call appeared in
72.Bx 4.0 .
73.Sh STANDARDS
74The
75.Fn getpgrp
76function conforms to IEEE Std 1003.1-1988
77.Pq Dq Tn POSIX .
78.Sh COMPATIBILITY

--- 4 unchanged lines hidden (view full) ---

83argument.
84This incompatibility is required by
85.St -p1003.1-88 .
86.Pp
87From the
88.St -p1003.1-88
89Rationale:
90.sp
71function call appeared in
72.Bx 4.0 .
73.Sh STANDARDS
74The
75.Fn getpgrp
76function conforms to IEEE Std 1003.1-1988
77.Pq Dq Tn POSIX .
78.Sh COMPATIBILITY

--- 4 unchanged lines hidden (view full) ---

83argument.
84This incompatibility is required by
85.St -p1003.1-88 .
86.Pp
87From the
88.St -p1003.1-88
89Rationale:
90.sp
914.3BSD provides a
91.Bx 4.3
92provides a
92.Fn getpgrp
93function that returns the process group ID for a specified process.
94Although this function is used to support job control, all known
95job-control shells always specify the calling process with this
96function.
93.Fn getpgrp
94function that returns the process group ID for a specified process.
95Although this function is used to support job control, all known
96job-control shells always specify the calling process with this
97function.
97Thus, the simpler System V
98Thus, the simpler
99.At V
98.Fn getpgrp
100.Fn getpgrp
99suffices, and the added complexity of the 4.3BSD
101suffices, and the added complexity of the
102.Bx 4.3
100.Fn getpgrp
101has been omitted from POSIX.1.
103.Fn getpgrp
104has been omitted from POSIX.1.