Socket module

gethostbyaddr_r

procedureforeign2 overloadsSource
gethostbyaddr_r :: (
    __addr: *void,
    __len: u32,
    __type: s32,
    __result_buf: *hostent,
    __buf: *u8,
    __buflen: u64,
    __result: **hostent,
    __h_errnop: *s32
) -> s32 #foreign

Parameters

__addr: *void
__len: u32
__type: s32
__result_buf: *hostent
__buf: *u8
__buflen: u64
__result: **hostent
__h_errnop: *s32

Returns

s32
gethostbyaddr_r :: (
    __addr: *void,
    __length: socklen_t,
    __type: s32,
    __ret: *hostent,
    __buf: *u8,
    __buf_size: u64,
    __result: **hostent,
    __h_errno_ptr: *s32
) -> s32 #foreign

Parameters

__addr: *void
__length: socklen_t
__type: s32
__ret: *hostent
__buf: *u8
__buf_size: u64
__result: **hostent
__h_errno_ptr: *s32

Returns

s32

See also