view modules/forkpty @ 40246:c34f677e6117 default tip master

_Noreturn: GCC 4.7 does not support [[noreturn]] in C++11 mode * lib/_Noreturn.h, m4/gnulib-common.m4: Don't use [[noreturn]] before GCC 4.8.
author Akim Demaille <akim.demaille@gmail.com>
date Sun, 17 Mar 2019 19:27:20 +0100
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