function returns the name of the slave pseudo-terminal (pty) device
corresponding to the master referred to by
function is the reentrant equivalent of
It returns the name of the slave pseudo-terminal device as a
null-terminated string in the buffer pointed to by
argument specifies the number of bytes available in
returns a pointer to a string in static storage which will be
overwritten by subsequent calls.
This pointer must not be freed.
On failure, a NULL pointer is returned.
On failure, a non-zero value is returned
is set to indicate the error.
does not refer to a pseudo-terminal master device.
is too small.
is provided in glibc since version 2.1.
is part of the Unix98 pseudo-terminal support (see
This function is specified in POSIX.1-2001.
is a Linux extension.
A version of this function is documented on Tru64 and HP-UX, but
on those implementations, -1 is returned on error, with
set to indicate the error.
Avoid using this function in portable programs.