W3cubDocs

/Rust

Constant std::env::consts::FAMILY

pub const FAMILY: &'static str = os::FAMILY

The family of the operating system. Example value is unix.

Some possible values:

  • unix
  • windows

© 2010 The Rust Project Developers
Licensed under the Apache License, Version 2.0 or the MIT license, at your option.
https://doc.rust-lang.org/std/env/consts/constant.FAMILY.html