view modules/openpty @ 40244:c39a0edd90d7

fts: minor simplification * lib/fts.c (fts_safe_changedir): Remove redundant assignment.
author Paul Eggert <eggert@cs.ucla.edu>
date Sun, 17 Mar 2019 12:39:50 -0700
parents ca99be30d00b
children
line wrap: on
line source

Description:
openpty() function: Open a pseudo-terminal.

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

Depends-on:
pty
extensions
fcntl-h         [test $HAVE_OPENPTY = 0 || test $REPLACE_OPENPTY = 1]
posix_openpt    [test $HAVE_OPENPTY = 0 || test $REPLACE_OPENPTY = 1]
ioctl           [test $HAVE_OPENPTY = 0 || test $REPLACE_OPENPTY = 1]

configure.ac:
gl_FUNC_OPENPTY
if test $HAVE_OPENPTY = 0 || test $REPLACE_OPENPTY = 1; then
  AC_LIBOBJ([openpty])
fi
gl_PTY_MODULE_INDICATOR([openpty])

Makefile.am:

Include:
<pty.h>

Link:
$(PTY_LIB)

License:
LGPLv2+

Maintainer:
Simon Josefsson