oscall 0.1.1

Low-level cross-platform interface to operating system services: files, memory mapping, networking and more, with no libc on Linux
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
//! The arguments and the environment without a system: there are none to
//! ask for.

use crate::{ErrorKind, Result};

pub(crate) fn args(_buf: &mut [u8]) -> Result<usize> {
    Err(ErrorKind::Unsupported.into())
}

pub(crate) fn vars(_buf: &mut [u8]) -> Result<usize> {
    Err(ErrorKind::Unsupported.into())
}