]>
git.proxmox.com Git - rustc.git/blob - vendor/rustix-0.36.5/src/process/exit.rs
3 /// `EXIT_SUCCESS` for use with [`exit`].
5 /// [`exit`]: std::process::exit
11 /// [POSIX]: https://pubs.opengroup.org/onlinepubs/9699919799/basedefs/stdlib.h.html
12 /// [Linux]: https://man7.org/linux/man-pages/man3/exit.3.html
13 pub const EXIT_SUCCESS
: i32 = backend
::process
::types
::EXIT_SUCCESS
;
15 /// `EXIT_FAILURE` for use with [`exit`].
17 /// [`exit`]: std::process::exit
23 /// [POSIX]: https://pubs.opengroup.org/onlinepubs/9699919799/basedefs/stdlib.h.html
24 /// [Linux]: https://man7.org/linux/man-pages/man3/exit.3.html
25 pub const EXIT_FAILURE
: i32 = backend
::process
::types
::EXIT_FAILURE
;
27 /// The exit status used by a process terminated with `SIGABRT` signal.
32 /// [Linux]: https://tldp.org/LDP/abs/html/exitcodes.html
33 #[cfg(not(target_os = "wasi"))]
34 pub const EXIT_SIGNALED_SIGABRT
: i32 = backend
::process
::types
::EXIT_SIGNALED_SIGABRT
;