We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 39abcef commit 494901aCopy full SHA for 494901a
src/liblibc/lib.rs
@@ -6043,7 +6043,6 @@ pub mod funcs {
6043
use types::common::c95::{c_void};
6044
use types::os::common::bsd44::{socklen_t, sockaddr, SOCKET};
6045
use types::os::arch::c95::c_int;
6046
- use types::os::arch::posix88::ssize_t;
6047
6048
extern "system" {
6049
pub fn socket(domain: c_int, ty: c_int, protocol: c_int) -> SOCKET;
@@ -6068,7 +6067,7 @@ pub mod funcs {
6068
6067
flags: c_int) -> c_int;
6069
pub fn recvfrom(socket: SOCKET, buf: *mut c_void, len: c_int,
6070
flags: c_int, addr: *mut sockaddr,
6071
- addrlen: *mut c_int) -> ssize_t;
+ addrlen: *mut c_int) -> c_int;
6072
pub fn sendto(socket: SOCKET, buf: *const c_void, len: c_int,
6073
flags: c_int, addr: *const sockaddr,
6074
addrlen: c_int) -> c_int;
0 commit comments