svcadm(8)을 검색하려면 섹션에서 8 을 선택하고, 맨 페이지 이름에 svcadm을 입력하고 검색을 누른다.
posix_openpt(2)
The function allocates a new pseudo-terminal and establishes a
connection with its master device. A slave device shall be cre‐
ated in After the pseudo-terminal has been allocated, the slave
device should have the proper permissions before it can be used
(see The name of the slave device can be determined by calling
The file status flags and file access modes of the open file de‐
scription shall be set according to the value of Values for are
constructed by a bitwise-inclusive OR of flags from the following
list, defined in Open for reading and writing. If set shall not
cause the terminal device to become the controlling terminal for
the process. Set the close-on-exec flag for the new file de‐
scriptor. The function shall fail when contains other values.
Upon successful completion, the function shall allocate a new
pseudo-terminal device and return a non-negative integer repre‐
senting a file descriptor, which is connected to its master de‐
vice. Otherwise, -1 shall be returned and errno set to indicate
the error. The function shall fail if: The system file table is
full. The value of is not valid. Out of pseudo-terminal re‐
sources. The function conforms to The ability to use is an ex‐
tension to the standard. The function appeared in In this func‐
tion was changed to a system call. The flag is included for com‐
patibility; in opening a terminal does not cause it to become a
process's controlling terminal.