termios.4 (68161b6b7d432342d7411525f439d82986939cd6) termios.4 (b92a189eb9b32f7e9db74343d46434b554a67d04)
1.\" Copyright (c) 1991, 1992, 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.

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

169following special cases apply: If the reading process is ignoring or
170blocking the
171.Dv SIGTTIN
172signal, or if the process group of the reading
173process is orphaned, the
174.Xr read 2
175returns -1 with
176.Va errno set to
1.\" Copyright (c) 1991, 1992, 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.

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

169following special cases apply: If the reading process is ignoring or
170blocking the
171.Dv SIGTTIN
172signal, or if the process group of the reading
173process is orphaned, the
174.Xr read 2
175returns -1 with
176.Va errno set to
177.Er Dv EIO
177.Er EIO
178and no
179signal is sent. The default action of the
180.Dv SIGTTIN
181signal is to stop the
182process to which it is sent.
183.Pp
184If a process is in the foreground process group of its controlling
185terminal, write operations are allowed.

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

200is set, and the process group of
201the writing process is orphaned, and the writing process is not ignoring
202or blocking
203.Dv SIGTTOU ,
204the
205.Xr write 2
206returns -1 with
207errno set to
178and no
179signal is sent. The default action of the
180.Dv SIGTTIN
181signal is to stop the
182process to which it is sent.
183.Pp
184If a process is in the foreground process group of its controlling
185terminal, write operations are allowed.

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

200is set, and the process group of
201the writing process is orphaned, and the writing process is not ignoring
202or blocking
203.Dv SIGTTOU ,
204the
205.Xr write 2
206returns -1 with
207errno set to
208.Er Dv EIO
208.Er EIO
209and no signal is sent.
210.Pp
211Certain calls that set terminal parameters are treated in the same
212fashion as write, except that
213.Dv TOSTOP
214is ignored; that is, the effect is
215identical to that of terminal writes when
216.Dv TOSTOP

--- 1220 unchanged lines hidden ---
209and no signal is sent.
210.Pp
211Certain calls that set terminal parameters are treated in the same
212fashion as write, except that
213.Dv TOSTOP
214is ignored; that is, the effect is
215identical to that of terminal writes when
216.Dv TOSTOP

--- 1220 unchanged lines hidden ---