unlockpt man page on IRIX

Man page or keyword search:  
man Server   31559 pages
apropos Keyword Search (all sections)
Output format
IRIX logo
[printable version]



unlockpt(3C)							  unlockpt(3C)

NAME
     unlockpt - unlock a pseudo-terminal master/slave pair

SYNOPSIS
     #include <stdlib.h>

     int unlockpt(int fildes);

DESCRIPTION
     The function unlockpt() clears a lock flag associated with the slave
     pseudo-terminal device associated with its master pseudo-terminal
     counterpart so that the slave pseudo-terminal device can be opened.
     fildes is a file descriptor returned from a successful open of a master
     pseudo-terminal device.

RETURN VALUE
     Upon successful completion, the function unlockpt() returns 0; otherwise
     it returns -1. A failure may occur if fildes is not an open file
     descriptor or is not associated with a master pseudo-terminal device.

SEE ALSO
     open(2), grantpt(3C), ptsname(3C)

									Page 1

[top]

List of man pages available for IRIX

Copyright (c) for man pages and the logo by the respective OS vendor.

For those who want to learn more, the polarhome community provides shell access and support.

[legal] [privacy] [GNU] [policy] [cookies] [netiquette] [sponsors] [FAQ]
Tweet
Polarhome, production since 1999.
Member of Polarhome portal.
Based on Fawad Halim's script.
....................................................................
Vote for polarhome
Free Shell Accounts :: the biggest list on the net