Skip to content

Commit 0524637

Browse files
committed
haiku adding accept4 posix call
1 parent b94681f commit 0524637

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

src/unix/haiku/mod.rs

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1779,6 +1779,13 @@ extern "C" {
17791779
address_len: crate::socklen_t,
17801780
) -> c_int;
17811781

1782+
pub fn accept4(
1783+
socket: c_int,
1784+
address: *mut crate::sockaddr,
1785+
addressLength: *mut crate::socklen_t,
1786+
flags: c_int,
1787+
) -> c_int;
1788+
17821789
pub fn writev(fd: c_int, iov: *const crate::iovec, count: c_int) -> ssize_t;
17831790
pub fn readv(fd: c_int, iov: *const crate::iovec, count: c_int) -> ssize_t;
17841791

0 commit comments

Comments
 (0)