1use crate::backend; 2 3/// `EXIT_SUCCESS` for use with [`exit`]. 4/// 5/// [`exit`]: std::process::exit 6/// 7/// # References 8/// - [POSIX] 9/// - [Linux] 10/// 11/// [POSIX]: https://pubs.opengroup.org/onlinepubs/9699919799/basedefs/stdlib.h.html 12/// [Linux]: https://man7.org/linux/man-pages/man3/exit.3.html 13pub const EXIT_SUCCESS: i32 = backend::process::types::EXIT_SUCCESS; 14 15/// `EXIT_FAILURE` for use with [`exit`]. 16/// 17/// [`exit`]: std::process::exit 18/// 19/// # References 20/// - [POSIX] 21/// - [Linux] 22/// 23/// [POSIX]: https://pubs.opengroup.org/onlinepubs/9699919799/basedefs/stdlib.h.html 24/// [Linux]: https://man7.org/linux/man-pages/man3/exit.3.html 25pub const EXIT_FAILURE: i32 = backend::process::types::EXIT_FAILURE; 26 27/// The exit status used by a process terminated with `SIGABRT` signal. 28/// 29/// # References 30/// - [Linux] 31/// 32/// [Linux]: https://tldp.org/LDP/abs/html/exitcodes.html 33#[cfg(not(target_os = "wasi"))] 34pub const EXIT_SIGNALED_SIGABRT: i32 = backend::process::types::EXIT_SIGNALED_SIGABRT; 35