mirror of https://github.com/mkerrisk/man-pages
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:
parent
ba65815c96
commit
49c32f8f9c
|
@ -148,6 +148,14 @@ fails.
|
||||||
.SH "CONFORMING TO"
|
.SH "CONFORMING TO"
|
||||||
These are BSD functions, present in libc5 and glibc2.
|
These are BSD functions, present in libc5 and glibc2.
|
||||||
.SH NOTES
|
.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,
|
In versions of glibc before 2.0.92,
|
||||||
.BR openpty ()
|
.BR openpty ()
|
||||||
returns file descriptors for a BSD pseudo-terminal pair;
|
returns file descriptors for a BSD pseudo-terminal pair;
|
||||||
|
|
Loading…
Reference in New Issue