Set the type for S_ISUID, S_ISGID and S_ISVTX correctly

This commit is contained in:
Mathias Svensson 2019-03-03 20:22:54 +01:00
parent 8d94e00051
commit 457b0f9902

View File

@ -230,9 +230,9 @@ pub const GRPQUOTA: ::c_int = 1;
pub const SIGIOT: ::c_int = 6;
pub const S_ISUID: ::c_int = 0x800;
pub const S_ISGID: ::c_int = 0x400;
pub const S_ISVTX: ::c_int = 0x200;
pub const S_ISUID: ::mode_t = 0x800;
pub const S_ISGID: ::mode_t = 0x400;
pub const S_ISVTX: ::mode_t = 0x200;
pub const IF_NAMESIZE: ::size_t = 16;
pub const IFNAMSIZ: ::size_t = IF_NAMESIZE;