Hash :
7517e2fd
Author :
Date :
2013-02-04T18:33:23
secure_getenv: new module * 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.
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