summaryrefslogtreecommitdiffstats
path: root/third_party/rust/redox_syscall/src/arch/nonredox.rs
blob: f99a7148cf0215d6c8fe648316f81b40b2fdd0de (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
use super::error::{Error, Result, ENOSYS};

pub unsafe fn syscall0(_a: usize) -> Result<usize> {
    Err(Error::new(ENOSYS))
}

pub unsafe fn syscall1(_a: usize, _b: usize) -> Result<usize> {
    Err(Error::new(ENOSYS))
}

pub unsafe fn syscall2(_a: usize, _b: usize, _c: usize) -> Result<usize> {
    Err(Error::new(ENOSYS))
}

pub unsafe fn syscall3(_a: usize, _b: usize, _c: usize, _d: usize) -> Result<usize> {
    Err(Error::new(ENOSYS))
}

pub unsafe fn syscall4(_a: usize, _b: usize, _c: usize, _d: usize, _e: usize) -> Result<usize> {
    Err(Error::new(ENOSYS))
}

pub unsafe fn syscall5(_a: usize, _b: usize, _c: usize, _d: usize, _e: usize, _f: usize)
                       -> Result<usize> {
    Err(Error::new(ENOSYS))
}