1
0
mirror of https://git.savannah.gnu.org/git/gnulib.git synced 2025-08-14 14:01:48 +03:00
Files
gnulib/modules/openpty
Bruno Haible 362dd1d5ec openpty, posix_openpt: Remove code duplication.
* lib/posix_openpt.c: Add comments about platforms, from lib/openpty.c.
* lib/openpty.c: Include <stdlib.h>.
(openpty): Use posix_openpt on all platforms except IRIX.
* modules/openpty (Depends-on): Add posix_openpt. Add conditions.
2011-10-21 02:45:21 +02:00

35 lines
577 B
Plaintext

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