Skip to content

Commit 4c0eaac

Browse files
B I Mohammed Abbastgross35
B I Mohammed Abbas
authored andcommitted
Add missing constant S_ISVTX for vxworks
(backport <#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)
1 parent 99bd0f5 commit 4c0eaac

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/vxworks/mod.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -782,6 +782,7 @@ pub const S_IFSOCK: ::c_int = 0xc000;
782782
pub const S_ISUID: ::c_int = 0x0800;
783783
pub const S_ISGID: ::c_int = 0x0400;
784784
pub const S_ISTXT: ::c_int = 0x0200;
785+
pub const S_ISVTX: ::c_int = 0o1000;
785786
pub const S_IRUSR: ::c_int = 0x0100;
786787
pub const S_IWUSR: ::c_int = 0x0080;
787788
pub const S_IXUSR: ::c_int = 0x0040;

0 commit comments

Comments
 (0)