summaryrefslogtreecommitdiff
path: root/src/unix/bsd
diff options
context:
space:
mode:
authorVal Packett <val@packett.cool>2023-05-07 04:15:41 -0300
committerVal Packett <val@packett.cool>2023-05-07 04:25:03 -0300
commit86bfc4eb2645863010330c2d05558bbe99cc31b4 (patch)
treef3146865e33896ea7aed0ab21e7564da80e9ae10 /src/unix/bsd
parentd596cdf62ba846a7d7ecb9cefd5e265c59cbf2c1 (diff)
downloadrust-libc-86bfc4eb2645863010330c2d05558bbe99cc31b4.tar.gz
freebsd: add missing SCM_ constants
Diffstat (limited to 'src/unix/bsd')
-rw-r--r--src/unix/bsd/freebsdlike/freebsd/mod.rs4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/unix/bsd/freebsdlike/freebsd/mod.rs b/src/unix/bsd/freebsdlike/freebsd/mod.rs
index f3dad2caa1..6db9fa2c74 100644
--- a/src/unix/bsd/freebsdlike/freebsd/mod.rs
+++ b/src/unix/bsd/freebsdlike/freebsd/mod.rs
@@ -2997,6 +2997,10 @@ pub const MNT_SNAPSHOT: ::c_int = 0x01000000;
pub const MNT_UNION: ::c_int = 0x00000020;
pub const MNT_NONBUSY: ::c_int = 0x04000000;
+pub const SCM_BINTIME: ::c_int = 0x04;
+pub const SCM_REALTIME: ::c_int = 0x05;
+pub const SCM_MONOTONIC: ::c_int = 0x06;
+pub const SCM_TIME_INFO: ::c_int = 0x07;
pub const SCM_CREDS2: ::c_int = 0x08;
pub const SO_BINTIME: ::c_int = 0x2000;