Branch
Hash :
c36a0f21
Author :
Date :
2024-10-27T17:01:29
doc: Add a module index. * doc/Makefile (undocumented-modules.texi): New rule. (%.info, %.html, %.dvi, %.pdf): Depend on undocumented-modules.texi. (mostlyclean): Remove also *.m and *.tmp. (force): New rule. * doc/*.texi: Add module index entries. * doc/*/*.texi: Likewise.
@node putenv
@subsection @code{putenv}
@findex putenv
POSIX specification:@* @url{https://pubs.opengroup.org/onlinepubs/9799919799/functions/putenv.html},
amended through @url{https://www.austingroupbugs.net/view.php?id=1598}.
Documentation:@*
@ifinfo
@ref{Environment Access,,Environment Access,libc}.
@end ifinfo
@ifnotinfo
@url{https://www.gnu.org/software/libc/manual/html_node/Environment-Access.html}.
@end ifnotinfo
Note: POSIX @code{putenv} supports
adding or changing the value of an environment variable,
while glibc also supports removing an environment variable
(as if by @code{unsetenv}).
Gnulib module: putenv-gnu
@mindex putenv-gnu
Portability problems fixed by Gnulib:
@itemize
@item
This function does not support removing an environment variable
on some platforms:
macOS 14, FreeBSD 14.0, NetBSD 10.0, OpenBSD 7.5, AIX 7.3.1, HP-UX 11.31, Solaris 11.4, mingw, MSVC 14, Android 11.0.
@end itemize
Portability problems not fixed by Gnulib:
@itemize
@end itemize