mirror of https://github.com/mkerrisk/man-pages
getpt.3: Remove mention of O_NOCTTY
The glibc implementation of getpt has actually never been setting O_NOCTTY when opening /dev/ptmx or BSD ptys. Signed-off-by: Samuel Thibault <samuel.thibault@ens-lyon.org> Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
This commit is contained in:
parent
305c001324
commit
378e5745a4
|
@ -21,7 +21,7 @@ It is equivalent to
|
||||||
.PP
|
.PP
|
||||||
.in +4n
|
.in +4n
|
||||||
.EX
|
.EX
|
||||||
open("/dev/ptmx", O_RDWR | O_NOCTTY);
|
open("/dev/ptmx", O_RDWR);
|
||||||
.EE
|
.EE
|
||||||
.in
|
.in
|
||||||
.PP
|
.PP
|
||||||
|
|
Loading…
Reference in New Issue