avoid some overlong lines from posix urls, etc.
[gnulib.git] / doc / posix-functions / setenv.texi
1 @node setenv
2 @section @code{setenv}
3 @findex setenv
4
5 POSIX specification:@* @url{http://www.opengroup.org/onlinepubs/9699919799/functions/setenv.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 4.3.2, HP-UX 11, IRIX 6.5, Solaris 9, mingw, BeOS.
14 @item
15 On some platforms, this function does not fail with @samp{EINVAL} when
16 passed an empty string or a string containing @samp{=}:
17 MacOS X 10.5, FreeBSD 6.0, NetBSD 1.6, OpenBSD 3.8, Cygwin 1.5.x.
18 @item
19 On some platforms, this function removes a leading @samp{=} from the
20 value argument:
21 Cygwin 1.5.x.
22 @end itemize
23
24 Portability problems not fixed by Gnulib:
25 @itemize
26 @item
27 Older versions of POSIX required that @code{setenv(NULL,"",0)} gracefully
28 fail with @code{EINVAL}, but not all implementations guarantee this,
29 and the requirement was removed.
30 @end itemize