Hash :
3b50d196
Author :
Date :
2011-10-20T17:44:40
posix_openpt: Support for OpenBSD. * lib/posix_openpt.c [OpenBSD]: Include <sys/ioctl.h>, <sys/tty.h>. (posix_openpt) [OpenBSD]: New code. * lib/grantpt.c: Include <fcntl.h>. (grantpt) [OpenBSD]: Only test whether fd is valid, nothing else. * modules/grantpt (Depends-on): Add fcntl-h.
Description:
grantpt() function: Acquire ownership of the slave side of a pseudo-terminal.
Files:
lib/grantpt.c
lib/pty-private.h
m4/grantpt.m4
Depends-on:
stdlib
extensions
fcntl-h [test $HAVE_GRANTPT = 0]
pt_chown [test $HAVE_GRANTPT = 0]
waitpid [test $HAVE_GRANTPT = 0]
configmake [test $HAVE_GRANTPT = 0]
configure.ac:
gl_FUNC_GRANTPT
if test $HAVE_GRANTPT = 0; then
AC_LIBOBJ([grantpt])
gl_PREREQ_GRANTPT
fi
gl_STDLIB_MODULE_INDICATOR([grantpt])
Makefile.am:
Include:
<stdlib.h>
License:
LGPLv2+
Maintainer:
Bruno Haible