Function arceos_posix_api::sys_getsockname
source · pub unsafe fn sys_getsockname(
sock_fd: c_int,
addr: *mut sockaddr,
addrlen: *mut socklen_t
) -> c_int
Available on crate feature
net
only.Expand description
Get current address to which the socket sockfd is bound.