Function sys_info::linux_os_release [−][src]
pub fn linux_os_release() -> Result<LinuxOSReleaseInfo, Error>
Get the os release note of Linux
Information in /etc/os-release, such as name and version of distribution.
pub fn linux_os_release() -> Result<LinuxOSReleaseInfo, Error>
Get the os release note of Linux
Information in /etc/os-release, such as name and version of distribution.