Skip to content

Commit ad1bd7e

Browse files
committed
Match the freebsd types
1 parent c6f899c commit ad1bd7e

File tree

1 file changed

+4
-4
lines changed
  • src/unix/bsd/freebsdlike

1 file changed

+4
-4
lines changed

src/unix/bsd/freebsdlike/mod.rs

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1245,10 +1245,10 @@ extern {
12451245
pub fn uselocale(loc: ::locale_t) -> ::locale_t;
12461246
pub fn utimensat(dirfd: ::c_int, path: *const ::c_char,
12471247
times: *const ::timespec, flag: ::c_int) -> ::c_int;
1248-
pub fn sendmmsg(sockfd: ::c_int, msgvec: *mut ::mmsghdr, vlen: ::c_uint,
1249-
flags: ::c_int) -> ::c_int;
1250-
pub fn recvmmsg(sockfd: ::c_int, msgvec: *mut ::mmsghdr, vlen: ::c_uint,
1251-
flags: ::c_int, timeout: *mut ::timespec) -> ::c_int;
1248+
pub fn sendmmsg(sockfd: ::c_int, msgvec: *mut ::mmsghdr, vlen: ::size_t,
1249+
flags: ::c_int) -> ::ssize_t;
1250+
pub fn recvmmsg(sockfd: ::c_int, msgvec: *mut ::mmsghdr, vlen: ::size_t,
1251+
flags: ::c_int, timeout: *mut ::timespec) -> ::ssize_t;
12521252
}
12531253

12541254
#[link(name = "util")]

0 commit comments

Comments
 (0)