1use arceos_posix_api::sys_sysconf; 2use core::ffi::{c_int, c_long}; 3 4/// Return system configuration infomation 5/// 6/// Notice: currently only support what unikraft covers 7#[unsafe(no_mangle)] 8pub unsafe extern "C" fn sysconf(name: c_int) -> c_long { 9 sys_sysconf(name) 10}