Branch
Hash :
60e90236
Author :
Date :
2024-12-27T23:28:45
Rename module stdlib to stdlib-h. * modules/stdlib-h: Renamed from modules/stdlib. * modules/stdlib-h-tests: Renamed from modules/stdlib-tests. * modules/stdlib-h-c++-tests: Renamed from modules/stdlib-c++-tests. * tests/test-stdlib-h.c: Renamed from tests/test-stdlib.c. * tests/test-stdlib-h-c++.cc: Renamed from tests/test-stdlib-c++.cc. * tests/test-stdlib-h-c++2.cc: Renamed from tests/test-stdlib-c++2.cc. * doc/posix-headers/stdlib.texi: Update. * doc/posix-functions/exit.texi: Update. * modules/* (Depends-on): Update. * modules/stdlib: New file.
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