function returns the name of the slave pseudoterminal device
corresponding to the master referred to by
.IR fd .
-
+.PP
The
.BR ptsname_r ()
function is the reentrant equivalent of
overwritten by subsequent calls.
This pointer must not be freed.
On failure, NULL is returned.
-
+.PP
On success,
.BR ptsname_r ()
returns 0.
.SH CONFORMING TO
.BR ptsname ():
POSIX.1-2001, POSIX.1-2008.
-
+.PP
.BR ptsname ()
is part of the UNIX 98 pseudoterminal support (see
.BR pts (4)).
-
+.PP
.BR ptsname_r ()
is a Linux extension, that is proposed for inclusion
.\" FIXME . for later review when Issue 8 is one day released