Skip to content

Commit

Permalink
linux musl adding PIDFD_NONBLOCK constant.
Browse files Browse the repository at this point in the history
closes #3002
  • Loading branch information
devnexen committed Nov 17, 2022
1 parent bbf929d commit 515a816
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/unix/linux_like/linux/musl/mod.rs
Expand Up @@ -590,6 +590,9 @@ pub const EFD_NONBLOCK: ::c_int = ::O_NONBLOCK;

pub const SFD_NONBLOCK: ::c_int = ::O_NONBLOCK;

pub const SOCK_NONBLOCK: ::c_int = O_NONBLOCK;
pub const PIDFD_NONBLOCK: ::c_uint = O_NONBLOCK as ::c_uint;

pub const TCSANOW: ::c_int = 0;
pub const TCSADRAIN: ::c_int = 1;
pub const TCSAFLUSH: ::c_int = 2;
Expand Down

0 comments on commit 515a816

Please sign in to comment.