Skip to content

Commit

Permalink
Add missing constant S_ISVTX for vxworks
Browse files Browse the repository at this point in the history
(backport <rust-lang#3768>)
[ Change to `c_int` rather than `mode_t`. We should make everything
  consistent at some point, just not a partial change here. - Trevor ]
(cherry picked from commit e9b1b9c)
  • Loading branch information
B I Mohammed Abbas authored and tgross35 committed Aug 29, 2024
1 parent 99bd0f5 commit 4c0eaac
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/vxworks/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -782,6 +782,7 @@ pub const S_IFSOCK: ::c_int = 0xc000;
pub const S_ISUID: ::c_int = 0x0800;
pub const S_ISGID: ::c_int = 0x0400;
pub const S_ISTXT: ::c_int = 0x0200;
pub const S_ISVTX: ::c_int = 0o1000;
pub const S_IRUSR: ::c_int = 0x0100;
pub const S_IWUSR: ::c_int = 0x0080;
pub const S_IXUSR: ::c_int = 0x0040;
Expand Down

0 comments on commit 4c0eaac

Please sign in to comment.