diff options
author | Val Packett <val@packett.cool> | 2023-05-07 04:15:41 -0300 |
---|---|---|
committer | Val Packett <val@packett.cool> | 2023-05-07 04:25:03 -0300 |
commit | 86bfc4eb2645863010330c2d05558bbe99cc31b4 (patch) | |
tree | f3146865e33896ea7aed0ab21e7564da80e9ae10 | |
parent | d596cdf62ba846a7d7ecb9cefd5e265c59cbf2c1 (diff) | |
download | rust-libc-86bfc4eb2645863010330c2d05558bbe99cc31b4.tar.gz |
freebsd: add missing SCM_ constants
-rw-r--r-- | libc-test/semver/freebsd.txt | 7 | ||||
-rw-r--r-- | src/unix/bsd/freebsdlike/freebsd/mod.rs | 4 |
2 files changed, 10 insertions, 1 deletions
diff --git a/libc-test/semver/freebsd.txt b/libc-test/semver/freebsd.txt index 77b35df6a1..e12a3642a8 100644 --- a/libc-test/semver/freebsd.txt +++ b/libc-test/semver/freebsd.txt @@ -1135,9 +1135,14 @@ SCALE_PPM SCHED_FIFO SCHED_OTHER SCHED_RR -SCM_CREDS SCM_RIGHTS SCM_TIMESTAMP +SCM_CREDS +SCM_BINTIME +SCM_REALTIME +SCM_MONOTONIC +SCM_TIME_INFO +SCM_CREDS2 SCTP_ACTIVE SCTP_ALL_ASSOC SCTP_ADAPTATION_LAYER 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; |