Lines Matching defs:mode_t
47 pub type mode_t = u32;
1470 pub const S_IFIFO: ::mode_t = 4096;
1471 pub const S_IFCHR: ::mode_t = 8192;
1472 pub const S_IFBLK: ::mode_t = 24576;
1473 pub const S_IFDIR: ::mode_t = 16384;
1474 pub const S_IFREG: ::mode_t = 32768;
1475 pub const S_IFLNK: ::mode_t = 40960;
1476 pub const S_IFSOCK: ::mode_t = 49152;
1477 pub const S_IFMT: ::mode_t = 61440;
1478 pub const S_IRWXU: ::mode_t = 448;
1479 pub const S_IXUSR: ::mode_t = 64;
1480 pub const S_IWUSR: ::mode_t = 128;
1481 pub const S_IRUSR: ::mode_t = 256;
1482 pub const S_IRWXG: ::mode_t = 56;
1483 pub const S_IXGRP: ::mode_t = 8;
1484 pub const S_IWGRP: ::mode_t = 16;
1485 pub const S_IRGRP: ::mode_t = 32;
1486 pub const S_IRWXO: ::mode_t = 7;
1487 pub const S_IXOTH: ::mode_t = 1;
1488 pub const S_IWOTH: ::mode_t = 2;
1489 pub const S_IROTH: ::mode_t = 4;
2286 pub const S_IEXEC: mode_t = 64;
2287 pub const S_IWRITE: mode_t = 128;
2288 pub const S_IREAD: mode_t = 256;
3510 pub fn chmod(path: *const c_char, mode: mode_t) -> ::c_int;
3511 pub fn fchmod(fd: ::c_int, mode: mode_t) -> ::c_int;
3515 pub fn mkdir(path: *const c_char, mode: mode_t) -> ::c_int;
3524 pub fn creat(path: *const c_char, mode: mode_t) -> ::c_int;
3538 mode: ::mode_t,
3562 pub fn mkdirat(dirfd: ::c_int, pathname: *const ::c_char, mode: ::mode_t) -> ::c_int;
3640 pub fn umask(mask: mode_t) -> mode_t;
3774 pub fn mknod(pathname: *const ::c_char, mode: ::mode_t, dev: ::dev_t) -> ::c_int;
3820 pub fn mkfifo(path: *const c_char, mode: mode_t) -> ::c_int;
3897 mode: ::mode_t,
3952 pub fn shm_open(name: *const c_char, oflag: ::c_int, mode: mode_t) -> ::c_int;
4027 pub fn mkfifoat(dirfd: ::c_int, pathname: *const ::c_char, mode: ::mode_t) -> ::c_int;