mirror of
https://github.com/fluencelabs/wasmer
synced 2024-12-13 06:15:33 +00:00
getnameinfo()
This commit is contained in:
parent
ad8178bb2a
commit
7690febe77
@ -228,6 +228,20 @@ pub fn _getloadavg(_ctx: &mut Ctx, _loadavg: i32, _nelem: i32) -> i32 {
|
||||
debug!("emscripten::getloadavg");
|
||||
0
|
||||
}
|
||||
pub fn _getnameinfo(
|
||||
_ctx: &mut Ctx,
|
||||
_addr: i32,
|
||||
_addrlen: i32,
|
||||
_host: i32,
|
||||
_hostlen: i32,
|
||||
_serv: i32,
|
||||
_servlen: i32,
|
||||
_flags: i32
|
||||
) -> i32 {
|
||||
debug!("emscripten::_getnameinfo({}, {}, {}, {}, {}, {}, {})",
|
||||
_addr, _addrlen, _host, _hostlen, _serv, _servlen, _flags);
|
||||
0
|
||||
}
|
||||
|
||||
// Invoke functions
|
||||
// They save the stack to allow unwinding
|
||||
|
@ -780,6 +780,7 @@ pub fn generate_emscripten_env(globals: &mut EmscriptenGlobals) -> ImportObject
|
||||
"_gethostbyaddr" => func!(crate::emscripten_target::_gethostbyaddr),
|
||||
"_gethostbyname_r" => func!(crate::emscripten_target::_gethostbyname_r),
|
||||
"_getloadavg" => func!(crate::emscripten_target::_getloadavg),
|
||||
"_getnameinfo" => func!(crate::emscripten_target::_getnameinfo),
|
||||
"invoke_dii" => func!(crate::emscripten_target::invoke_dii),
|
||||
"invoke_diiii" => func!(crate::emscripten_target::invoke_diiii),
|
||||
"invoke_iiiii" => func!(crate::emscripten_target::invoke_iiiii),
|
||||
|
Loading…
Reference in New Issue
Block a user