mirror of
https://git.savannah.gnu.org/git/gnulib.git
synced 2025-08-14 14:01:48 +03:00
* MODULES.html.sh (Extra functions based on ANSI C 89): Add secure_getenv. * doc/glibc-functions/secure_getenv.texi: New file. * doc/gnulib.texi: Include it. * lib/secure_getenv.c, m4/secure_getenv.m4, modules/secure_getenv: New files. * lib/stdlib.in.h (secure_getenv): New decl. * m4/stdlib_h.m4 (gl_STDLIB_H, gl_STDLIB_H_DEFAULTS): * modules/stdlib (stdlib.h): Add secure_getenv checks.
32 lines
415 B
Plaintext
32 lines
415 B
Plaintext
Description:
|
|
Look up an environment variable, returning 0 in insecure situations.
|
|
|
|
Files:
|
|
lib/secure_getenv.c
|
|
m4/secure_getenv.m4
|
|
|
|
Depends-on:
|
|
stdlib
|
|
extensions
|
|
|
|
configure.ac:
|
|
gl_FUNC_SECURE_GETENV
|
|
if test $HAVE_SECURE_GETENV = 0; then
|
|
AC_LIBOBJ([secure_getenv])
|
|
gl_PREREQ_SECURE_GETENV
|
|
fi
|
|
gl_STDLIB_MODULE_INDICATOR([secure_getenv])
|
|
|
|
Makefile.am:
|
|
|
|
Include:
|
|
<stdlib.h>
|
|
|
|
Link:
|
|
|
|
License:
|
|
LGPLv2+
|
|
|
|
Maintainer:
|
|
all
|