UNLOCKPT(3C) | Standard C Library Functions | UNLOCKPT(3C) |
unlockpt
—
#include <stdlib.h>
int
unlockpt
(int fildes);
unlockpt
()
function unlocks the pseudo-terminal subsidiary device associated with the
manager device to which fildes refers.
Portable applications must call unlockpt
()
before opening the pseudo-terminal subsidiary device.
unlockpt
() function returns the value 0 if
successful; otherwise the value -1 is returned and the global variable
errno is set to indicate the error.
unlockpt
().
unlockpt
() function may fail if:
February 5, 2022 | OmniOS |