/** Returns the exit status from a process for which `WIFEXITED` is true. */ #define WEXITSTATUS(__status) (((__status) & 0xff00) >> 8)
/** Returns true if a process dumped core. */ #define WCOREDUMP(__status) ((__status) & 0x80)
/** Returns the terminating signal from a process, or 0 if it exited normally. */ #define WTERMSIG(__status) ((__status) & 0x7f)
/** Returns the signal that stopped the process, if `WIFSTOPPED` is true. */ #define WSTOPSIG(__status) WEXITSTATUS(__status)
/** Returns true if the process exited normally. */ #define WIFEXITED(__status) (WTERMSIG(__status) == 0)
/** Returns true if the process was stopped by a signal. */ #define WIFSTOPPED(__status) (((__status) & 0xff) == 0x7f)
/** Returns true if the process was terminated by a signal. */ #define WIFSIGNALED(__status) (WTERMSIG((__status)+1) >= 2)
/** Returns true if the process was resumed . */ #define WIFCONTINUED(__status) ((__status) == 0xffff)
/** Constructs a status value from the given exit code and signal number. */ #define W_EXITCODE(__exit_code, __signal_number) ((__exit_code) << 8 | (__signal_number))
/** Constructs a status value for a process stopped by the given signal. */ #define W_STOPCODE(__signal_number) ((__signal_number) << 8 | 0x7f)
__END_DECLS
Messung V0.5 in Prozent
¤ Dauer der Verarbeitung: 0.10 Sekunden
(vorverarbeitet am 2026-06-28)
¤
Die Informationen auf dieser Webseite wurden
nach bestem Wissen sorgfältig zusammengestellt. Es wird jedoch weder Vollständigkeit, noch Richtigkeit,
noch Qualität der bereit gestellten Informationen zugesichert.
Bemerkung:
Die farbliche Syntaxdarstellung und die Messung sind noch experimentell.