getpt.3: Remove mention of O_NOCTTY
PATCH 1/1 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 <[email protected]>
man3/getpt.3 renamed from man3/getpt.3.orig +1 -1
@@ -21,7 +21,7 @@ .PP .in +4n .EX -open("/dev/ptmx", O_RDWR | O_NOCTTY); +open("/dev/ptmx", O_RDWR); .EE .in .PP
Hello Samuel
Quoted 4 lines · Samuel Thibault
The glibc implementation of getpt has actually never been setting
O_NOCTTYwhen opening/dev/ptmxor BSD ptys.Signed-off-by Samuel Thibault <[email protected]>
(Inline patches preferred.)
Thanks. Patch applied.
Cheers,
Michael
Signature · 3 lines
Michael Kerrisk Linux man-pages maintainer; http://www.kernel.org/doc/man-pages/ Linux/UNIX System Programming Training: http://man7.org/training/