1
0
mirror of https://git.savannah.gnu.org/git/gnulib.git synced 2025-08-08 17:22:05 +03:00
Files
gnulib/modules/unsetenv
Bruno Haible 2a99a564a4 Rename module unistd to unistd-h.
* modules/unistd-h: Renamed from modules/unistd.
* modules/unistd-h-tests: Renamed from modules/unistd-tests.
* modules/unistd-h-c++-tests: Renamed from modules/unistd-c++-tests.
* tests/test-unistd-h.c: Renamed from tests/test-unistd.c.
* tests/test-unistd-h-c++.cc: Renamed from tests/test-unistd-c++.cc.
* doc/posix-headers/unistd.texi: Update.
* doc/posix-functions/_exit.texi: Update.
* modules/* (Depends-on): Update.
* modules/unistd: New file.
2024-12-27 23:42:32 +01:00

37 lines
781 B
Plaintext

Description:
unsetenv() function: remove an environment variable.
Files:
lib/unsetenv.c
m4/setenv.m4
Depends-on:
stdlib-h
unistd-h [test $HAVE_UNSETENV = 0 || test $REPLACE_UNSETENV = 1]
environ [test $HAVE_UNSETENV = 0 || test $REPLACE_UNSETENV = 1]
free-posix [test $HAVE_UNSETENV = 0 || test $REPLACE_UNSETENV = 1]
malloc-posix [test $HAVE_UNSETENV = 0 || test $REPLACE_UNSETENV = 1]
configure.ac:
gl_FUNC_UNSETENV
gl_CONDITIONAL([GL_COND_OBJ_UNSETENV],
[test $HAVE_UNSETENV = 0 || test $REPLACE_UNSETENV = 1])
AM_COND_IF([GL_COND_OBJ_UNSETENV], [
gl_PREREQ_UNSETENV
])
gl_STDLIB_MODULE_INDICATOR([unsetenv])
Makefile.am:
if GL_COND_OBJ_UNSETENV
lib_SOURCES += unsetenv.c
endif
Include:
<stdlib.h>
License:
LGPLv2+
Maintainer:
all