summaryrefslogtreecommitdiff
path: root/modules/secure_getenv
blob: d322c5e370f08d1ef8eac1b409f78bee1eb97bfd (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
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
gl_CONDITIONAL([GL_COND_OBJ_SECURE_GETENV], [test $HAVE_SECURE_GETENV = 0])
AM_COND_IF([GL_COND_OBJ_SECURE_GETENV], [
  gl_PREREQ_SECURE_GETENV
])
gl_STDLIB_MODULE_INDICATOR([secure_getenv])

Makefile.am:
if GL_COND_OBJ_SECURE_GETENV
lib_SOURCES += secure_getenv.c
endif

Include:
<stdlib.h>

Link:

License:
LGPLv2+

Maintainer:
all