diff mbox series

getpt.3: Remove mention of O_NOCTTY

Message ID 20191231170135.gqbv35jdlqfmomee@function
State New
Headers show
Series getpt.3: Remove mention of O_NOCTTY | expand

Commit Message

Samuel Thibault Dec. 31, 2019, 5:01 p.m. UTC
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>

Comments

Michael Kerrisk \(man-pages\) Jan. 1, 2020, 7:27 a.m. UTC | #1
Hello Samuel

On 12/31/19 6:01 PM, Samuel Thibault wrote:
> 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>

(Inline patches preferred.)

Thanks. Patch applied.

Cheers,

Michael
diff mbox series

Patch

--- ./man3/getpt.3.orig	2019-12-31 17:58:50.046714199 +0100
+++ ./man3/getpt.3	2019-12-31 17:59:00.706722831 +0100
@@ -21,7 +21,7 @@ 
 .PP
 .in +4n
 .EX
-open("/dev/ptmx", O_RDWR | O_NOCTTY);
+open("/dev/ptmx", O_RDWR);
 .EE
 .in
 .PP