\hypertarget{group__file__stat__constants}{}\doxysection{File Stat Constants} \label{group__file__stat__constants}\index{File Stat Constants@{File Stat Constants}} \doxysubsection*{Variables} \begin{DoxyCompactItemize} \item \mbox{\Hypertarget{group__file__stat__constants_ga2c891c3130ae8a0d0d11784b2a42eeb9}\label{group__file__stat__constants_ga2c891c3130ae8a0d0d11784b2a42eeb9}} const \mbox{\hyperlink{group__file__stat__constants_ga2c891c3130ae8a0d0d11784b2a42eeb9}{Qore\+::\+S\+\_\+\+IFBLK}} = S\+\_\+\+IFBLK \begin{DoxyCompactList}\small\item\em Bitmask signifying if the file is a block special (device) file. \end{DoxyCompactList}\item \mbox{\Hypertarget{group__file__stat__constants_gaf248185504f0a91f493b267a9218750f}\label{group__file__stat__constants_gaf248185504f0a91f493b267a9218750f}} const \mbox{\hyperlink{group__file__stat__constants_gaf248185504f0a91f493b267a9218750f}{Qore\+::\+S\+\_\+\+IFCHR}} = S\+\_\+\+IFCHR \begin{DoxyCompactList}\small\item\em Bit signifying if the file is a character special (device) file. \end{DoxyCompactList}\item \mbox{\Hypertarget{group__file__stat__constants_gab7e858523e9e02b72379879d2a84f9b5}\label{group__file__stat__constants_gab7e858523e9e02b72379879d2a84f9b5}} const \mbox{\hyperlink{group__file__stat__constants_gab7e858523e9e02b72379879d2a84f9b5}{Qore\+::\+S\+\_\+\+IFDIR}} = S\+\_\+\+IFDIR \begin{DoxyCompactList}\small\item\em Bit signifying if the entry is a directory. \end{DoxyCompactList}\item \mbox{\Hypertarget{group__file__stat__constants_ga2bea1d763aafb758ccb9dd2a4a31552a}\label{group__file__stat__constants_ga2bea1d763aafb758ccb9dd2a4a31552a}} const \mbox{\hyperlink{group__file__stat__constants_ga2bea1d763aafb758ccb9dd2a4a31552a}{Qore\+::\+S\+\_\+\+IFLNK}} = S\+\_\+\+IFLNK \begin{DoxyCompactList}\small\item\em Bitmask signifying if the file is a symbolic link; equal to 0 on native Windows ports. \end{DoxyCompactList}\item \mbox{\Hypertarget{group__file__stat__constants_ga0e71d3a1ee084309a8718f18d3dc95dc}\label{group__file__stat__constants_ga0e71d3a1ee084309a8718f18d3dc95dc}} const \mbox{\hyperlink{group__file__stat__constants_ga0e71d3a1ee084309a8718f18d3dc95dc}{Qore\+::\+S\+\_\+\+IFMT}} = S\+\_\+\+IFMT \begin{DoxyCompactList}\small\item\em File type bitmask \end{DoxyCompactList}\item \mbox{\Hypertarget{group__file__stat__constants_ga7f44a136184e71b62d91bd776ed40d6f}\label{group__file__stat__constants_ga7f44a136184e71b62d91bd776ed40d6f}} const \mbox{\hyperlink{group__file__stat__constants_ga7f44a136184e71b62d91bd776ed40d6f}{Qore\+::\+S\+\_\+\+IFREG}} = S\+\_\+\+IFREG \begin{DoxyCompactList}\small\item\em Bit signifying if the file is a regular file. \end{DoxyCompactList}\item \mbox{\Hypertarget{group__file__stat__constants_ga1b1a9147a783b67902717fe840bc4086}\label{group__file__stat__constants_ga1b1a9147a783b67902717fe840bc4086}} const \mbox{\hyperlink{group__file__stat__constants_ga1b1a9147a783b67902717fe840bc4086}{Qore\+::\+S\+\_\+\+IFSOCK}} = S\+\_\+\+IFSOCK \begin{DoxyCompactList}\small\item\em Bitmask signifying if the file is a socket file; equal to 0 on native Windows ports. \end{DoxyCompactList}\item \mbox{\Hypertarget{group__file__stat__constants_ga17069d0ba50fdbb0ab3c0b80d324cc6d}\label{group__file__stat__constants_ga17069d0ba50fdbb0ab3c0b80d324cc6d}} const \mbox{\hyperlink{group__file__stat__constants_ga17069d0ba50fdbb0ab3c0b80d324cc6d}{Qore\+::\+S\+\_\+\+IFWHT}} = S\+\_\+\+IFWHT \begin{DoxyCompactList}\small\item\em Bitmask signifying if the file is a whiteout file; equal to 0 on native Windows ports. \end{DoxyCompactList}\item \mbox{\Hypertarget{group__file__stat__constants_ga49f1e458770fef9f6d4687a4cfbaac82}\label{group__file__stat__constants_ga49f1e458770fef9f6d4687a4cfbaac82}} const \mbox{\hyperlink{group__file__stat__constants_ga49f1e458770fef9f6d4687a4cfbaac82}{Qore\+::\+S\+\_\+\+IRGRP}} = S\+\_\+\+IRGRP \begin{DoxyCompactList}\small\item\em Bit signifying if the file\textquotesingle{}s group has read permissions; equal to 0 on native Windows ports. \end{DoxyCompactList}\item \mbox{\Hypertarget{group__file__stat__constants_gad730b6b55d082561d725650f59559ba4}\label{group__file__stat__constants_gad730b6b55d082561d725650f59559ba4}} const \mbox{\hyperlink{group__file__stat__constants_gad730b6b55d082561d725650f59559ba4}{Qore\+::\+S\+\_\+\+IROTH}} = S\+\_\+\+IROTH \begin{DoxyCompactList}\small\item\em Bit signifying if other has read permissions; equal to 0 on native Windows ports. \end{DoxyCompactList}\item \mbox{\Hypertarget{group__file__stat__constants_ga7ed514c724be3988906c816c5374659f}\label{group__file__stat__constants_ga7ed514c724be3988906c816c5374659f}} const \mbox{\hyperlink{group__file__stat__constants_ga7ed514c724be3988906c816c5374659f}{Qore\+::\+S\+\_\+\+IRUSR}} = S\+\_\+\+IRUSR \begin{DoxyCompactList}\small\item\em Bit signifying if the file\textquotesingle{}s owner has read permissions. \end{DoxyCompactList}\item \mbox{\Hypertarget{group__file__stat__constants_ga7a681a17d0e9d9ff3ccbeef067194e7c}\label{group__file__stat__constants_ga7a681a17d0e9d9ff3ccbeef067194e7c}} const \mbox{\hyperlink{group__file__stat__constants_ga7a681a17d0e9d9ff3ccbeef067194e7c}{Qore\+::\+S\+\_\+\+IRWXG}} = S\+\_\+\+IRWXG \begin{DoxyCompactList}\small\item\em Bitmask giving the RWX mask for the group; equal to 0 on native Windows ports. \end{DoxyCompactList}\item \mbox{\Hypertarget{group__file__stat__constants_gab5933856472006ad8d1c5d43e4c1db4f}\label{group__file__stat__constants_gab5933856472006ad8d1c5d43e4c1db4f}} const \mbox{\hyperlink{group__file__stat__constants_gab5933856472006ad8d1c5d43e4c1db4f}{Qore\+::\+S\+\_\+\+IRWXO}} = S\+\_\+\+IRWXO \begin{DoxyCompactList}\small\item\em Bitmask giving the RWX mask for other; equal to 0 on native Windows ports. \end{DoxyCompactList}\item \mbox{\Hypertarget{group__file__stat__constants_gad3055b7e1b13a2f1e814ba2c71a5a852}\label{group__file__stat__constants_gad3055b7e1b13a2f1e814ba2c71a5a852}} const \mbox{\hyperlink{group__file__stat__constants_gad3055b7e1b13a2f1e814ba2c71a5a852}{Qore\+::\+S\+\_\+\+IRWXU}} = S\+\_\+\+IRWXU \begin{DoxyCompactList}\small\item\em Bitmask giving the RWX mask for the owner. \end{DoxyCompactList}\item \mbox{\Hypertarget{group__file__stat__constants_ga4e1cd8d467a5a7eb43a6318c5dafd2d2}\label{group__file__stat__constants_ga4e1cd8d467a5a7eb43a6318c5dafd2d2}} const \mbox{\hyperlink{group__file__stat__constants_ga4e1cd8d467a5a7eb43a6318c5dafd2d2}{Qore\+::\+S\+\_\+\+ISGID}} = S\+\_\+\+ISGID \begin{DoxyCompactList}\small\item\em Bit signifying set group id on execution; equal to 0 on native Windows ports. \end{DoxyCompactList}\item \mbox{\Hypertarget{group__file__stat__constants_ga4dff870bd5c526f49b99688313cb4df1}\label{group__file__stat__constants_ga4dff870bd5c526f49b99688313cb4df1}} const \mbox{\hyperlink{group__file__stat__constants_ga4dff870bd5c526f49b99688313cb4df1}{Qore\+::\+S\+\_\+\+ISUID}} = S\+\_\+\+ISUID \begin{DoxyCompactList}\small\item\em Bit signifying set user id on execution; equal to 0 on native Windows ports. \end{DoxyCompactList}\item \mbox{\Hypertarget{group__file__stat__constants_ga34ec75099fd680a217e72629eca966d9}\label{group__file__stat__constants_ga34ec75099fd680a217e72629eca966d9}} const \mbox{\hyperlink{group__file__stat__constants_ga34ec75099fd680a217e72629eca966d9}{Qore\+::\+S\+\_\+\+ISVTX}} = S\+\_\+\+ISVTX \begin{DoxyCompactList}\small\item\em Bit signifying restricted deletes for directories; equal to 0 on native Windows ports. \end{DoxyCompactList}\item \mbox{\Hypertarget{group__file__stat__constants_ga592399622ad8a25a74510a0daa2e439e}\label{group__file__stat__constants_ga592399622ad8a25a74510a0daa2e439e}} const \mbox{\hyperlink{group__file__stat__constants_ga592399622ad8a25a74510a0daa2e439e}{Qore\+::\+S\+\_\+\+IWGRP}} = S\+\_\+\+IWGRP \begin{DoxyCompactList}\small\item\em Bit signifying if the file\textquotesingle{}s group has write permissions; equal to 0 on native Windows ports. \end{DoxyCompactList}\item \mbox{\Hypertarget{group__file__stat__constants_gac5d5e6b448289323e591945d291e4032}\label{group__file__stat__constants_gac5d5e6b448289323e591945d291e4032}} const \mbox{\hyperlink{group__file__stat__constants_gac5d5e6b448289323e591945d291e4032}{Qore\+::\+S\+\_\+\+IWOTH}} = S\+\_\+\+IWOTH \begin{DoxyCompactList}\small\item\em Bit signifying if other has write permissions; equal to 0 on native Windows ports. \end{DoxyCompactList}\item \mbox{\Hypertarget{group__file__stat__constants_ga086cdc31b11ba396d6d8743eb0ab85c2}\label{group__file__stat__constants_ga086cdc31b11ba396d6d8743eb0ab85c2}} const \mbox{\hyperlink{group__file__stat__constants_ga086cdc31b11ba396d6d8743eb0ab85c2}{Qore\+::\+S\+\_\+\+IWUSR}} = S\+\_\+\+IWUSR \begin{DoxyCompactList}\small\item\em Bit signifying if the file\textquotesingle{}s owner has write permissions. \end{DoxyCompactList}\item \mbox{\Hypertarget{group__file__stat__constants_gad2469f0282852af931e8f7974847c53a}\label{group__file__stat__constants_gad2469f0282852af931e8f7974847c53a}} const \mbox{\hyperlink{group__file__stat__constants_gad2469f0282852af931e8f7974847c53a}{Qore\+::\+S\+\_\+\+IXGRP}} = S\+\_\+\+IXGRP \begin{DoxyCompactList}\small\item\em Bit signifying if the file\textquotesingle{}s group has execute permissions; equal to 0 on native Windows ports. \end{DoxyCompactList}\item \mbox{\Hypertarget{group__file__stat__constants_gad0591ad36e753abc88c0e155b2132058}\label{group__file__stat__constants_gad0591ad36e753abc88c0e155b2132058}} const \mbox{\hyperlink{group__file__stat__constants_gad0591ad36e753abc88c0e155b2132058}{Qore\+::\+S\+\_\+\+IXOTH}} = S\+\_\+\+IXOTH \begin{DoxyCompactList}\small\item\em Bit signifying if other has execute permissions; equal to 0 on native Windows ports. \end{DoxyCompactList}\item \mbox{\Hypertarget{group__file__stat__constants_ga58f071a14cec07cb61fdbc06d16eab01}\label{group__file__stat__constants_ga58f071a14cec07cb61fdbc06d16eab01}} const \mbox{\hyperlink{group__file__stat__constants_ga58f071a14cec07cb61fdbc06d16eab01}{Qore\+::\+S\+\_\+\+IXUSR}} = S\+\_\+\+IXUSR \begin{DoxyCompactList}\small\item\em Bit signifying if the file\textquotesingle{}s owner has execute permissions. \end{DoxyCompactList}\end{DoxyCompactItemize} \doxysubsection{Detailed Description} These are values that can be and\textquotesingle{}ed with the {\ttfamily \char`\"{}mode\char`\"{}} element of a file\textquotesingle{}s status as returned by \mbox{\hyperlink{class_qore_1_1_read_only_file_a1de2cddec975057ca61f3c5621256833}{Qore\+::\+Read\+Only\+File\+::hstat()}}, \mbox{\hyperlink{namespace_qore_ab4342a698010e75e90cd3fba39a46993}{Qore\+::hstat()}}, etc, or with element 2 of the status list as returned from \mbox{\hyperlink{class_qore_1_1_read_only_file_a0cf734a177ff5efd3efb2366dddd8c33}{Qore\+::\+Read\+Only\+File\+::stat()}}, \mbox{\hyperlink{namespace_qore_ab58a26fdb5c2e9935729993e688bd5a8}{Qore\+::stat()}}, etc.