view modules/forkpty @ 17935:0ad1f4c9eed5 default tip

tests: support stderr verification with returns_() * tests/init.sh (returns_): Disable tracing for this wrapper function, so that stderr of the wrapped command is unchanged, allowing for verification of the contents.
author Pádraig Brady <P@draigBrady.com>
date Mon, 16 Feb 2015 17:20:39 +0000
parents 580ad7c3aa8c
children
line wrap: on
line source

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
openpty
login_tty

configure.ac:
gl_FUNC_FORKPTY
if test $HAVE_FORKPTY = 0 || test $REPLACE_FORKPTY = 1; then
  AC_LIBOBJ([forkpty])
fi
gl_PTY_MODULE_INDICATOR([forkpty])

Makefile.am:

Include:
<pty.h>

Link:
$(PTY_LIB)

License:
LGPL

Maintainer:
Simon Josefsson