Deleted Added
full compact
setsid.2 (1574) setsid.2 (14038)
1.\" Copyright (c) 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.

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

63is set to indicate the error, as follows:
64.Bl -tag -width Er
65.It Bq Er EPERM
66The calling process is already a process group leader, or the process
67group ID of a process other than the calling process matches the process
68ID of the calling process.
69.El
70.Sh SEE ALSO
1.\" Copyright (c) 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.

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

63is set to indicate the error, as follows:
64.Bl -tag -width Er
65.It Bq Er EPERM
66The calling process is already a process group leader, or the process
67group ID of a process other than the calling process matches the process
68ID of the calling process.
69.El
70.Sh SEE ALSO
71.Xr setpgid 3 ,
71.Xr setpgid 2 ,
72.Xr tcgetpgrp 3 ,
73.Xr tcsetpgrp 3
74.Sh STANDARDS
75The
76.Nm setsid
77function is expected to be compliant with the
78.St -p1003.1-88
79specification.
72.Xr tcgetpgrp 3 ,
73.Xr tcsetpgrp 3
74.Sh STANDARDS
75The
76.Nm setsid
77function is expected to be compliant with the
78.St -p1003.1-88
79specification.