From 3ccd24c50efd448de95da827cfdfa5718701cde1 Mon Sep 17 00:00:00 2001 From: Paul Sajna <paulsajna@gmail.com> Date: Fri, 2 Mar 2018 17:30:20 -0800 Subject: [PATCH] mman --- mman/lib.rs | 51 +++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 51 insertions(+) create mode 100644 mman/lib.rs diff --git a/mman/lib.rs b/mman/lib.rs new file mode 100644 index 00000000..c27fbd90 --- /dev/null +++ b/mman/lib.rs @@ -0,0 +1,51 @@ +pub extern "C" fn mlock(arg1: *const libc::c_void, arg2: usize) + -> libc::c_int { + unimplemented!(); +} + +pub extern "C" fn mlockall(arg1: libc::c_int) -> libc::c_int { + unimplemented!(); +} + +pub extern "C" fn mmap(arg1: *mut libc::c_void, arg2: usize, + arg3: libc::c_int, arg4: libc::c_int, + arg5: libc::c_int, arg6: off_t) + -> *mut libc::c_void { + unimplemented!(); +} + +pub extern "C" fn mprotect(arg1: *mut libc::c_void, arg2: usize, + arg3: libc::c_int) -> libc::c_int { + unimplemented!(); +} + +pub extern "C" fn msync(arg1: *mut libc::c_void, arg2: usize, + arg3: libc::c_int) -> libc::c_int { + unimplemented!(); +} + +pub extern "C" fn munlock(arg1: *const libc::c_void, arg2: usize) + -> libc::c_int { + unimplemented!(); +} + +pub extern "C" fn munlockall() -> libc::c_int { + unimplemented!(); +} + +pub extern "C" fn munmap(arg1: *mut libc::c_void, arg2: usize) + -> libc::c_int { + unimplemented!(); +} + +pub extern "C" fn shm_open(arg1: *const libc::c_char, + arg2: libc::c_int, arg3: mode_t) + -> libc::c_int { + unimplemented!(); +} + +pub extern "C" fn shm_unlink(arg1: *const libc::c_char) + -> libc::c_int { + unimplemented!(); +} + -- GitLab