Description:
forkpty() function: Open a pseudo-terminal, fork, and connect the child process
to the pseudo-terminal's slave.

Files:
lib/forkpty.c
m4/pty.m4

Depends-on:
pty-h
unistd-h
openpty
login_tty

configure.ac:
gl_FUNC_FORKPTY
gl_CONDITIONAL([GL_COND_OBJ_FORKPTY],
               [test $HAVE_FORKPTY = 0 || test $REPLACE_FORKPTY = 1])
gl_PTY_MODULE_INDICATOR([forkpty])

Makefile.am:
if GL_COND_OBJ_FORKPTY
lib_SOURCES += forkpty.c
endif

Include:
<pty.h>

Link:
$(PTY_LIB)

License:
LGPL

Maintainer:
Simon Josefsson
