From 49c32f8f9ca1a712a930fe09e155e0b46d21164d Mon Sep 17 00:00:00 2001 From: Michael Kerrisk Date: Sun, 13 Jun 2010 03:45:46 +0200 Subject: [PATCH] openpty.3: Note glibc version that added "const" to function arguments Signed-off-by: Michael Kerrisk --- man3/openpty.3 | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/man3/openpty.3 b/man3/openpty.3 index 88d3ae896..8c8c89644 100644 --- a/man3/openpty.3 +++ b/man3/openpty.3 @@ -148,6 +148,14 @@ fails. .SH "CONFORMING TO" These are BSD functions, present in libc5 and glibc2. .SH NOTES +The +.B const +modifiers were added to the structure pointer arguments of +.BR openpty () +and +.BR forkpty () +in glibc 2.8. + In versions of glibc before 2.0.92, .BR openpty () returns file descriptors for a BSD pseudo-terminal pair;