Qore Programming Language Reference Manual 1.19.2
Loading...
Searching...
No Matches
File Stat Constants

Variables

const Qore::S_IFBLK = S_IFBLK
 Bitmask signifying if the file is a block special (device) file.
 
const Qore::S_IFCHR = S_IFCHR
 Bit signifying if the file is a character special (device) file.
 
const Qore::S_IFDIR = S_IFDIR
 Bit signifying if the entry is a directory.
 
const Qore::S_IFLNK = S_IFLNK
 Bitmask signifying if the file is a symbolic link; equal to 0 on native Windows ports.
 
const Qore::S_IFMT = S_IFMT
 File type bitmask
 
const Qore::S_IFREG = S_IFREG
 Bit signifying if the file is a regular file.
 
const Qore::S_IFSOCK = S_IFSOCK
 Bitmask signifying if the file is a socket file; equal to 0 on native Windows ports.
 
const Qore::S_IFWHT = S_IFWHT
 Bitmask signifying if the file is a whiteout file; equal to 0 on native Windows ports.
 
const Qore::S_IRGRP = S_IRGRP
 Bit signifying if the file's group has read permissions; equal to 0 on native Windows ports.
 
const Qore::S_IROTH = S_IROTH
 Bit signifying if other has read permissions; equal to 0 on native Windows ports.
 
const Qore::S_IRUSR = S_IRUSR
 Bit signifying if the file's owner has read permissions.
 
const Qore::S_IRWXG = S_IRWXG
 Bitmask giving the RWX mask for the group; equal to 0 on native Windows ports.
 
const Qore::S_IRWXO = S_IRWXO
 Bitmask giving the RWX mask for other; equal to 0 on native Windows ports.
 
const Qore::S_IRWXU = S_IRWXU
 Bitmask giving the RWX mask for the owner.
 
const Qore::S_ISGID = S_ISGID
 Bit signifying set group id on execution; equal to 0 on native Windows ports.
 
const Qore::S_ISUID = S_ISUID
 Bit signifying set user id on execution; equal to 0 on native Windows ports.
 
const Qore::S_ISVTX = S_ISVTX
 Bit signifying restricted deletes for directories; equal to 0 on native Windows ports.
 
const Qore::S_IWGRP = S_IWGRP
 Bit signifying if the file's group has write permissions; equal to 0 on native Windows ports.
 
const Qore::S_IWOTH = S_IWOTH
 Bit signifying if other has write permissions; equal to 0 on native Windows ports.
 
const Qore::S_IWUSR = S_IWUSR
 Bit signifying if the file's owner has write permissions.
 
const Qore::S_IXGRP = S_IXGRP
 Bit signifying if the file's group has execute permissions; equal to 0 on native Windows ports.
 
const Qore::S_IXOTH = S_IXOTH
 Bit signifying if other has execute permissions; equal to 0 on native Windows ports.
 
const Qore::S_IXUSR = S_IXUSR
 Bit signifying if the file's owner has execute permissions.
 

Detailed Description

These are values that can be and'ed with the "mode" element of a file's status as returned by Qore::ReadOnlyFile::hstat(), Qore::hstat(), etc, or with element 2 of the status list as returned from Qore::ReadOnlyFile::stat(), Qore::stat(), etc.