Lines Matching refs:mode_t

39 pub type mode_t = u32;  typedef
1336 pub const S_ISUID: mode_t = 0o4000;
1337 pub const S_ISGID: mode_t = 0o2000;
1338 pub const S_ISVTX: mode_t = 0o1000;
1469 pub const S_IFIFO: mode_t = 0o1_0000;
1470 pub const S_IFCHR: mode_t = 0o2_0000;
1471 pub const S_IFBLK: mode_t = 0o6_0000;
1472 pub const S_IFDIR: mode_t = 0o4_0000;
1473 pub const S_IFREG: mode_t = 0o10_0000;
1474 pub const S_IFLNK: mode_t = 0o12_0000;
1475 pub const S_IFSOCK: mode_t = 0o14_0000;
1476 pub const S_IFMT: mode_t = 0o17_0000;
1477 pub const S_IRWXU: mode_t = 0o0700;
1478 pub const S_IXUSR: mode_t = 0o0100;
1479 pub const S_IWUSR: mode_t = 0o0200;
1480 pub const S_IRUSR: mode_t = 0o0400;
1481 pub const S_IRWXG: mode_t = 0o0070;
1482 pub const S_IXGRP: mode_t = 0o0010;
1483 pub const S_IWGRP: mode_t = 0o0020;
1484 pub const S_IRGRP: mode_t = 0o0040;
1485 pub const S_IRWXO: mode_t = 0o0007;
1486 pub const S_IXOTH: mode_t = 0o0001;
1487 pub const S_IWOTH: mode_t = 0o0002;
1488 pub const S_IROTH: mode_t = 0o0004;
2285 pub const S_IEXEC: mode_t = 0o0100;
2286 pub const S_IWRITE: mode_t = 0o0200;
2287 pub const S_IREAD: mode_t = 0o0400;
3582 pub fn chmod(path: *const c_char, mode: mode_t) -> c_int; in chmod()
3583 pub fn fchmod(fd: c_int, mode: mode_t) -> c_int; in fchmod()
3587 pub fn mkdir(path: *const c_char, mode: mode_t) -> c_int; in mkdir()
3596 pub fn creat(path: *const c_char, mode: mode_t) -> c_int; in creat()
3610 pub fn fchmodat(dirfd: c_int, pathname: *const c_char, mode: mode_t, flags: c_int) -> c_int; in fchmodat() argument
3627 pub fn mkdirat(dirfd: c_int, pathname: *const c_char, mode: mode_t) -> c_int; in mkdirat()
3705 pub fn umask(mask: mode_t) -> mode_t; in umask() argument
3845 pub fn mknod(pathname: *const c_char, mode: mode_t, dev: crate::dev_t) -> c_int; in mknod() argument
3891 pub fn mkfifo(path: *const c_char, mode: mode_t) -> c_int; in mkfifo()
3965 pub fn mknodat(dirfd: c_int, pathname: *const c_char, mode: mode_t, dev: dev_t) -> c_int; in mknodat() argument
4028 pub fn shm_open(name: *const c_char, oflag: c_int, mode: mode_t) -> c_int; in shm_open()
4092 pub fn mkfifoat(dirfd: c_int, pathname: *const c_char, mode: mode_t) -> c_int; in mkfifoat()