Skip to content

Commit

Permalink
Merge pull request rust-lang#83 from bossmc/add-umask
Browse files Browse the repository at this point in the history
Add umask (POSIX.1-2001)
  • Loading branch information
alexcrichton committed Nov 30, 2015
2 parents 2a5f445 + dd54f29 commit c7a7f4e
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/unix/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -292,6 +292,7 @@ extern {
link_name = "pwrite$UNIX2003")]
pub fn pwrite(fd: ::c_int, buf: *const ::c_void, count: ::size_t,
offset: off_t) -> ::ssize_t;
pub fn umask(mask: mode_t) -> mode_t;
pub fn utime(file: *const c_char, buf: *const utimbuf) -> ::c_int;

#[cfg_attr(all(target_os = "macos", target_arch = "x86"),
Expand Down

0 comments on commit c7a7f4e

Please sign in to comment.