view modules/posix_openpt @ 15961:27cc5b08d442

posix_openpt: new module * modules/posix_openpt: New module. * m4/posix_openpt.m4: New file. * lib/posix_openpt.c: Likewise. * m4/stdlib_h.m4 (gl_STDLIB_H): Check for decl. (gl_STDLIB_H_DEFAULTS): Set defaults. * modules/stdlib (Makefile.am): Substitute macros. * lib/stdlib.in.h (posix_openpt): Declare. * MODULES.html.sh (systems lacking POSIX:2008): Document it. * doc/posix-functions/posix_openpt.texi (posix_openpt): Likewise. * modules/posix_openpt-tests: New test module. * tests/test-posix_openpt.c: New test.
author Eric Blake <eblake@redhat.com>
date Mon, 17 Oct 2011 17:19:41 -0600
parents
children
line wrap: on
line source

Description:
posix_openpt() function: Open the master side of a pseudo-terminal.

Files:
lib/posix_openpt.c
m4/posix_openpt.m4

Depends-on:
extensions
stdlib

configure.ac:
gl_FUNC_POSIX_OPENPT
if test $HAVE_POSIX_OPENPT = 0; then
  AC_LIBOBJ([posix_openpt])
fi
gl_STDLIB_MODULE_INDICATOR([posix_openpt])

Makefile.am:

Include:
<stdlib.h>

License:
LGPLv2+

Maintainer:
Eric Blake