openpty.3: Note glibc version that added "const" to function arguments

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
This commit is contained in:
Michael Kerrisk 2010-06-13 03:45:46 +02:00
parent ba65815c96
commit 49c32f8f9c
1 changed files with 8 additions and 0 deletions

View File

@ -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;