avoid some overlong lines from posix urls, etc.
[gnulib.git] / doc / posix-functions / unsetenv.texi
1 @node unsetenv
2 @section @code{unsetenv}
3 @findex unsetenv
4
5 POSIX specification:@* @url{http://www.opengroup.org/onlinepubs/9699919799/functions/unsetenv.html}
6
7 Gnulib module: setenv
8
9 Portability problems fixed by Gnulib:
10 @itemize
11 @item
12 This function is missing on some platforms:
13 AIX 5.1, HP-UX 11, IRIX 6.5, Solaris 9, mingw, BeOS.
14 @item
15 This function has the return type @samp{void} instead of @samp{int} on some
16 platforms:
17 MacOS X 10.3, FreeBSD 6.0, NetBSD 1.6, OpenBSD 3.8, OSF/1 5.1.
18 @item
19 On some platforms, this function does not fail with @samp{EINVAL} when
20 passed an empty string or a string containing @samp{=}:
21 FreeBSD 6.0, NetBSD 1.6, OpenBSD 3.8.
22 @item
23 This function removes only the first value association for the given
24 environment variable, not all of them, on some platforms:
25 Solaris 10.
26 @end itemize
27
28 Portability problems not fixed by Gnulib:
29 @itemize
30 @item
31 Older versions of POSIX required that @code{unsetenv(NULL)} gracefully
32 fail with @code{EINVAL}, but not all implementations guarantee this,
33 and the requirement was removed.
34 @end itemize