//! Header: `sys/stat.h`
use super ::super ::*;
use crate ::prelude::*;
// File type constants for stat.st_mode
pub const S_IFMT: mode_t = 0 o170000;
pub const S_IFSOCK: mode_t = 0 o140000;
pub const S_IFLNK: mode_t = 0 o120000;
pub const S_IFREG: mode_t = 0 o100000;
pub const S_IFBLK: mode_t = 0 o060000;
pub const S_IFDIR: mode_t = 0 o040000;
pub const S_IFCHR: mode_t = 0 o020000;
pub const S_IFIFO: mode_t = 0 o010000;
// File permission constants
pub const S_ISUID: mode_t = 0 o4000;
pub const S_ISGID: mode_t = 0 o2000;
pub const S_ISVTX: mode_t = 0 o1000;
pub const S_IRWXU: mode_t = 0 o0700;
pub const S_IRUSR: mode_t = 0 o0400;
pub const S_IWUSR: mode_t = 0 o0200;
pub const S_IXUSR: mode_t = 0 o0100;
pub const S_IRWXG: mode_t = 0 o0070;
pub const S_IRGRP: mode_t = 0 o0040;
pub const S_IWGRP: mode_t = 0 o0020;
pub const S_IXGRP: mode_t = 0 o0010;
pub const S_IRWXO: mode_t = 0 o0007;
pub const S_IROTH: mode_t = 0 o0004;
pub const S_IWOTH: mode_t = 0 o0002;
pub const S_IXOTH: mode_t = 0 o0001;
extern "C" {
pub fn stat(pathname: *const c_char, statbuf: *mut stat) -> c_int;
pub fn fstat(fd: c_int, statbuf: *mut stat) -> c_int;
}
Messung V0.5 in Prozent C=92 H=100 G=95
¤ Dauer der Verarbeitung: 0.2 Sekunden
(vorverarbeitet am 2026-08-25)
¤
*© Formatika GbR, Deutschland