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-h
extensions
pt_chown        [test $HAVE_GRANTPT = 0]
waitpid         [test $HAVE_GRANTPT = 0]
configmake      [test $HAVE_GRANTPT = 0]

configure.ac:
gl_FUNC_GRANTPT
gl_CONDITIONAL([GL_COND_OBJ_GRANTPT], [test $HAVE_GRANTPT = 0])
AM_COND_IF([GL_COND_OBJ_GRANTPT], [
  gl_PREREQ_GRANTPT
])
gl_STDLIB_MODULE_INDICATOR([grantpt])

Makefile.am:
if GL_COND_OBJ_GRANTPT
lib_SOURCES += grantpt.c
endif

Include:
<stdlib.h>

License:
LGPLv2+

Maintainer:
all
