We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 87fa730 + e572408 commit 2d00dc3Copy full SHA for 2d00dc3
src/liblibc/lib.rs
@@ -6037,7 +6037,6 @@ pub mod funcs {
6037
use types::common::c95::{c_void};
6038
use types::os::common::bsd44::{socklen_t, sockaddr, SOCKET};
6039
use types::os::arch::c95::c_int;
6040
- use types::os::arch::posix88::ssize_t;
6041
6042
extern "system" {
6043
pub fn socket(domain: c_int, ty: c_int, protocol: c_int) -> SOCKET;
@@ -6062,7 +6061,7 @@ pub mod funcs {
6062
6061
flags: c_int) -> c_int;
6063
pub fn recvfrom(socket: SOCKET, buf: *mut c_void, len: c_int,
6064
flags: c_int, addr: *mut sockaddr,
6065
- addrlen: *mut c_int) -> ssize_t;
+ addrlen: *mut c_int) -> c_int;
6066
pub fn sendto(socket: SOCKET, buf: *const c_void, len: c_int,
6067
flags: c_int, addr: *const sockaddr,
6068
addrlen: c_int) -> c_int;
0 commit comments