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