Skip to content

Commit

Permalink
Auto merge of #504 - Idolf:tmpfile, r=alexcrichton
Browse files Browse the repository at this point in the history
Add O_TMPFILE constant
  • Loading branch information
bors committed Jan 30, 2017
2 parents bce927b + 6207166 commit 43f1d3f
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/unix/notbsd/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -253,6 +253,7 @@ pub const RUSAGE_SELF: ::c_int = 0;
pub const O_RDONLY: ::c_int = 0;
pub const O_WRONLY: ::c_int = 1;
pub const O_RDWR: ::c_int = 2;
pub const O_TMPFILE: ::c_int = 0o20000000 | O_DIRECTORY;

pub const SOCK_CLOEXEC: ::c_int = O_CLOEXEC;

Expand Down

0 comments on commit 43f1d3f

Please sign in to comment.