Next: tan
, Previous: syslog
, Up: ISO C and POSIX Function Substitutes [Contents][Index]
system
POSIX specification:
https://pubs.opengroup.org/onlinepubs/9699919799/functions/system.html
LSB specification:
https://refspecs.linuxbase.org/LSB_5.0.0/LSB-Core-generic/LSB-Core-generic/baselib-system-3.html
Gnulib module: system-posix
Portability problems fixed by Gnulib:
WIFSIGNALED
, WIFEXITED
, WIFSTOPPED
,
WTERMSIG
, WEXITSTATUS
, WNOHANG
, WUNTRACED
,
WSTOPSIG
are not defined in <stdlib.h>
(only in
<sys/wait.h>
) on some platforms:
MirBSD 10.
Portability problems not fixed by Gnulib:
system
function is cmd.exe, not /bin/sh. Accordingly,
the rules for quoting shell arguments containing spaces, quote or other special
characters are different.