Function psp::sys::sceNetAdhocctlGetAddrByName

source ·
#[no_mangle]
pub unsafe extern "C" fn sceNetAdhocctlGetAddrByName(
    nickname: *mut u8,
    length: *mut i32,
    buf: *mut c_void
) -> i32
Expand description

Get mac address from nickname

§Parameters

  • nickname: The nickname.
  • length: The length of the list.
  • buf: An allocated area of size length.

§Return Value

0 on success, < 0 on error.