Merge pull request #43 from MggMuggins/master

Imp va_arg for fcntl; fcntl test
This commit is contained in:
Jeremy Soller
2018-03-08 21:07:39 -07:00
committed by GitHub
6 changed files with 27 additions and 4 deletions
+1 -1
View File
@@ -37,7 +37,7 @@ pub extern "C" fn creat(path: *const c_char, mode: mode_t) -> c_int {
}
#[no_mangle]
pub extern "C" fn fcntl(fildes: c_int, cmd: c_int, arg: c_int) -> c_int {
pub extern "C" fn sys_fcntl(fildes: c_int, cmd: c_int, arg: c_int) -> c_int {
platform::fcntl(fildes, cmd, arg)
}