Hash :
2a99a564
Author :
Date :
2024-12-27T23:41:53
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.
Description:
setenv() function: set an environment variable.
Files:
lib/setenv.c
m4/setenv.m4
Depends-on:
stdlib-h
malloca [test $HAVE_SETENV = 0 || test $REPLACE_SETENV = 1]
alloca-opt [test $HAVE_SETENV = 0 || test $REPLACE_SETENV = 1]
malloc-posix [test $HAVE_SETENV = 0 || test $REPLACE_SETENV = 1]
unistd-h [test $HAVE_SETENV = 0 || test $REPLACE_SETENV = 1]
environ [test $HAVE_SETENV = 0 || test $REPLACE_SETENV = 1]
configure.ac:
gl_FUNC_SETENV
gl_CONDITIONAL([GL_COND_OBJ_SETENV],
[test $HAVE_SETENV = 0 || test $REPLACE_SETENV = 1])
gl_STDLIB_MODULE_INDICATOR([setenv])
Makefile.am:
if GL_COND_OBJ_SETENV
lib_SOURCES += setenv.c
endif
Include:
<stdlib.h>
License:
LGPLv2+
Maintainer:
all