diff options
author | Torbjørn Birch Moltu <t.b.moltu@lyse.net> | 2019-03-27 14:31:57 +0100 |
---|---|---|
committer | Torbjørn Birch Moltu <t.b.moltu@lyse.net> | 2019-03-27 15:09:49 +0100 |
commit | 75c71f996386f7ab702c636739dfc89ecee1cd25 (patch) | |
tree | ad39f0a772e93e75a15007c8f11df0faec707d04 | |
parent | 600f635072005a59140de119fd4defc79f569d54 (diff) | |
download | rust-libc-75c71f996386f7ab702c636739dfc89ecee1cd25.tar.gz |
Add mq_getfd_np() for FreeBSD
-rw-r--r-- | src/unix/bsd/freebsdlike/freebsd/mod.rs | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/unix/bsd/freebsdlike/freebsd/mod.rs b/src/unix/bsd/freebsdlike/freebsd/mod.rs index 85816e97c3..f1a1be78d3 100644 --- a/src/unix/bsd/freebsdlike/freebsd/mod.rs +++ b/src/unix/bsd/freebsdlike/freebsd/mod.rs @@ -1332,6 +1332,7 @@ extern { pub fn aio_waitcomplete(iocbp: *mut *mut aiocb, timeout: *mut ::timespec) -> ::ssize_t; + pub fn mq_getfd_np(mqd: ::mqd_t) -> ::c_int; pub fn freelocale(loc: ::locale_t) -> ::c_int; pub fn waitid(idtype: idtype_t, id: ::id_t, infop: *mut ::siginfo_t, |