Skip to content

Commit

Permalink
Auto merge of #3263 - tzneal:add-msg-nosignal, r=JohnTitor
Browse files Browse the repository at this point in the history
add MSG_NEEDSA and MSG_NOSIGNAL for macos

Add some more socket constants.
  • Loading branch information
bors committed Jun 4, 2023
2 parents 3b808cf + be93cda commit c2bfe30
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/unix/bsd/apple/mod.rs
Expand Up @@ -3851,7 +3851,8 @@ pub const MSG_HOLD: ::c_int = 0x800;
pub const MSG_SEND: ::c_int = 0x1000;
pub const MSG_HAVEMORE: ::c_int = 0x2000;
pub const MSG_RCVMORE: ::c_int = 0x4000;
// pub const MSG_COMPAT: ::c_int = 0x8000;
pub const MSG_NEEDSA: ::c_int = 0x10000;
pub const MSG_NOSIGNAL: ::c_int = 0x80000;

pub const SCM_TIMESTAMP: ::c_int = 0x02;
pub const SCM_CREDS: ::c_int = 0x03;
Expand Down

0 comments on commit c2bfe30

Please sign in to comment.