Skip to content

Commit

Permalink
freebsd: add missing SCM_ constants
Browse files Browse the repository at this point in the history
  • Loading branch information
valpackett committed May 7, 2023
1 parent d596cdf commit 86bfc4e
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 1 deletion.
7 changes: 6 additions & 1 deletion libc-test/semver/freebsd.txt
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
4 changes: 4 additions & 0 deletions src/unix/bsd/freebsdlike/freebsd/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit 86bfc4e

Please sign in to comment.