Available on crate feature
os only.Expand description
Operating system specific functionality.
Modules§
- unix
Unix - Low level Unix like operating system support.
Constants§
- NSTD_
OS_ ANDROID Non-Android - Constant that is only set if the target operating system is Android.
- NSTD_
OS_ BSD Neither DragonFly BSD nor FreeBSD nor NetBSD nor OpenBSD - Constant that is only set if the target operating system is BSD based.
- NSTD_
OS_ DRAGONFLY Non-DragonFly BSD - Constant that is only set if the target operating system is DragonFly BSD.
- NSTD_
OS_ FREEBSD Non-FreeBSD - Constant that is only set if the target operating system is FreeBSD.
- NSTD_
OS_ HAIKU Non-Haiku - Constant that is only set if the target operating system is Haiku.
- NSTD_
OS_ IOS Non-iOS - Constant that is only set if the target operating system is iOS.
- NSTD_
OS_ LINUX Linux - Constant that is only set if the target operating system is Linux.
- NSTD_
OS_ MACOS Non-macOS - Constant that is only set if the target operating system is macOS.
- NSTD_
OS_ NETBSD Non-NetBSD - Constant that is only set if the target operating system is NetBSD.
- NSTD_
OS_ NTO Non- target_os=nto - Constant that is only set if the target operating system is QNX Neutrino.
- NSTD_
OS_ OPENBSD Non-OpenBSD - Constant that is only set if the target operating system is OpenBSD.
- NSTD_
OS_ SOLARIS Non-Solaris - Constant that is only set if the target operating system is Solaris.
- NSTD_
OS_ UNIX Unix - Constant that is only set if the target operating system is Unix based.
- NSTD_
OS_ WINDOWS Non-Windows - Constant that is only set if the target operating system is Windows.