Write "Mac OS X" instead of "MacOS X".
[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.23, IRIX 6.5, Solaris 9, mingw, MSVC 9, BeOS.
14 @item
15 This function is not declared on some platforms:
16 OSF/1 5.1.
17 @item
18 On some platforms, this function does not fail with @samp{EINVAL} when
19 passed an empty string or a string containing @samp{=}:
20 Mac OS X 10.5, FreeBSD 6.0, NetBSD 1.6, OpenBSD 3.8, Cygwin 1.5.x.
21 @item
22 On some platforms, this function removes a leading @samp{=} from the
23 value argument:
24 Cygwin 1.5.x.
25 @end itemize
26
27 Portability problems not fixed by Gnulib:
28 @itemize
29 @item
30 Older versions of POSIX required that @code{setenv(NULL,"",0)} gracefully
31 fail with @code{EINVAL}, but not all implementations guarantee this,
32 and the requirement was removed.
33 @end itemize