summaryrefslogtreecommitdiff
path: root/src/unix/bsd/freebsdlike/dragonfly/mod.rs
diff options
context:
space:
mode:
authorYuki Okushi <yuki.okushi@huawei.com>2021-11-17 14:53:50 +0900
committerYuki Okushi <yuki.okushi@huawei.com>2021-11-17 14:53:50 +0900
commit9f350fc1173298c6200e9fa817beae01c49b31ce (patch)
treeb4f444df6a746e0552db3349d602da434dc47206 /src/unix/bsd/freebsdlike/dragonfly/mod.rs
parent38c0eaf87f06a42a03a58d6bb30e18c46e449f0b (diff)
downloadrust-libc-9f350fc1173298c6200e9fa817beae01c49b31ce.tar.gz
Add FreeBSD 14 module
Diffstat (limited to 'src/unix/bsd/freebsdlike/dragonfly/mod.rs')
-rw-r--r--src/unix/bsd/freebsdlike/dragonfly/mod.rs2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/unix/bsd/freebsdlike/dragonfly/mod.rs b/src/unix/bsd/freebsdlike/dragonfly/mod.rs
index e9dfc8a68f..21b99f8a22 100644
--- a/src/unix/bsd/freebsdlike/dragonfly/mod.rs
+++ b/src/unix/bsd/freebsdlike/dragonfly/mod.rs
@@ -1299,6 +1299,8 @@ pub const SF_XLINK: ::c_ulong = 0x01000000;
pub const UTIME_OMIT: c_long = -2;
pub const UTIME_NOW: c_long = -1;
+pub const MINCORE_SUPER: ::c_int = 0x20;
+
const_fn! {
{const} fn _CMSG_ALIGN(n: usize) -> usize {
(n + 3) & !3