summaryrefslogtreecommitdiffstats
path: root/vendor/redox_syscall-0.2.16/src/arch/nonredox.rs
diff options
context:
space:
mode:
Diffstat (limited to 'vendor/redox_syscall-0.2.16/src/arch/nonredox.rs')
-rw-r--r--vendor/redox_syscall-0.2.16/src/arch/nonredox.rs26
1 files changed, 26 insertions, 0 deletions
diff --git a/vendor/redox_syscall-0.2.16/src/arch/nonredox.rs b/vendor/redox_syscall-0.2.16/src/arch/nonredox.rs
new file mode 100644
index 000000000..f99a7148c
--- /dev/null
+++ b/vendor/redox_syscall-0.2.16/src/arch/nonredox.rs
@@ -0,0 +1,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))
+}