Contents

PTY

PTY

__PTY_pipe

Syntax

int __PTY_pipe(int filedes[2])

Description

This is like pipe() except that it opens a pair of bidirection pipes using psuedo-tty's. filedes[0] is the master tty, and filedes[1] is the slave tty.

Return Value

Returns 0 on success otherwise -1 on error


Author: Randall Maastop