gettimeofday: port recent C++ fix to Emacs
[gnulib.git] / doc / posix-functions / system.texi
1 @node system
2 @section @code{system}
3 @findex system
4
5 POSIX specification:@* @url{http://www.opengroup.org/onlinepubs/9699919799/functions/system.html}
6
7 Gnulib module: system-posix
8
9 Portability problems fixed by Gnulib:
10 @itemize
11 @item
12 The macros @code{WIFSIGNALED}, @code{WIFEXITED}, @code{WIFSTOPPED},
13 @code{WTERMSIG}, @code{WEXITSTATUS}, @code{WNOHANG}, @code{WUNTRACED},
14 @code{WSTOPSIG} are not defined in @code{<stdlib.h>} (only in
15 @code{<sys/wait.h>}) on some platforms:
16 MirBSD 10.
17 @end itemize
18
19 Portability problems not fixed by Gnulib:
20 @itemize
21 @item
22 On Windows platforms (excluding Cygwin), the command processor used by the
23 @code{system} function is @file{cmd.exe}, not @file{/bin/sh}.  Accordingly,
24 the rules for quoting shell arguments containing spaces, quote or other special
25 characters are different.
26 @end itemize