Section: Linux Programmer's Manual (3) Updated: 2008-06-14 Local index
unlockpt - unlock a pseudo-terminal master/slave pair
int unlockpt(int fd);
function unlocks the slave pseudo-terminal device
(pty) corresponding to the master pty referred to by
should be called before opening the slave side of a pty.
Otherwise, it returns -1 and sets
argument is not a file descriptor open for writing.
argument is not associated with a master pty.
is provided in glibc since version 2.1.
This page is part of release 3.27 of the Linux
A description of the project,
and information about reporting bugs,
can be found at
- RETURN VALUE
- CONFORMING TO
- SEE ALSO
This document was created by
using the manual pages.
Time: 21:57:57 GMT, April 16, 2011