\doxysection{Qore\+::Stat\+Info Struct Reference}
\hypertarget{struct_qore_1_1_stat_info}{}\label{struct_qore_1_1_stat_info}\index{Qore::StatInfo@{Qore::StatInfo}}


file status information hash as returned from \doxylink{group__filesystem__functions_gae2beafb85bdfb88495f1645605a96b0a}{hstat()}, \doxylink{group__filesystem__functions_gabb441e137499385661b294f05e1b18fe}{hlstat()}, \doxylink{class_qore_1_1_dir_ab2ce53e16b1b2eb0d9ebd58fa3390fda}{Dir\+::hstat()}, \doxylink{class_qore_1_1_file_line_iterator_a380f6f72150723ecdc2a81f0d56d5b73}{File\+Line\+Iterator\+::hstat()}, \doxylink{class_qore_1_1_read_only_file_a649f32981a2419c6d0e335ee4b310bf1}{Read\+Only\+File\+::hstat()}, and \doxylink{class_qore_1_1_read_only_file_acc4469d7f06423f58d9bf4bee20765b4}{Read\+Only\+File\+::hlstat()}  




{\ttfamily \#include $<$ql\+\_\+file.\+dox.\+h$>$}

\doxysubsubsection*{Public Attributes}
\begin{DoxyCompactItemize}
\item 
\Hypertarget{struct_qore_1_1_stat_info_afb1d4b0d7f687e33c58a0b3433fba313}\label{struct_qore_1_1_stat_info_afb1d4b0d7f687e33c58a0b3433fba313} 
\mbox{\hyperlink{group__date__and__time__functions_gaa80ee453b6a5653ac685d7e290c74e3f}{date}} {\bfseries atime}
\begin{DoxyCompactList}\small\item\em last access time of the file \end{DoxyCompactList}\item 
\Hypertarget{struct_qore_1_1_stat_info_abf38473311c4bcfd7eb15e1f2053aa5f}\label{struct_qore_1_1_stat_info_abf38473311c4bcfd7eb15e1f2053aa5f} 
\mbox{\hyperlink{group__type__conversion__functions_ga2de8717e92c5f97ccc6511f6062d6502}{int}} {\bfseries blksize}
\begin{DoxyCompactList}\small\item\em block size; may be zero if the platform\textquotesingle{}s internal stat() (2) function does not provide this info \end{DoxyCompactList}\item 
\Hypertarget{struct_qore_1_1_stat_info_affd611414ae7ca2e1379e79a3263b001}\label{struct_qore_1_1_stat_info_affd611414ae7ca2e1379e79a3263b001} 
\mbox{\hyperlink{group__type__conversion__functions_ga2de8717e92c5f97ccc6511f6062d6502}{int}} {\bfseries blocks}
\begin{DoxyCompactList}\small\item\em blocks allocated for the file; may be zero if the platform\textquotesingle{}s internal stat() (2) function does not provide this info \end{DoxyCompactList}\item 
\Hypertarget{struct_qore_1_1_stat_info_a1b956b5e923e6c9d00537872c770a430}\label{struct_qore_1_1_stat_info_a1b956b5e923e6c9d00537872c770a430} 
\mbox{\hyperlink{group__date__and__time__functions_gaa80ee453b6a5653ac685d7e290c74e3f}{date}} {\bfseries ctime}
\begin{DoxyCompactList}\small\item\em last change time of the file\textquotesingle{}s inode \end{DoxyCompactList}\item 
\Hypertarget{struct_qore_1_1_stat_info_aeb7e5f7c536c1b8b3f6493073a246cc3}\label{struct_qore_1_1_stat_info_aeb7e5f7c536c1b8b3f6493073a246cc3} 
\mbox{\hyperlink{group__type__conversion__functions_ga2de8717e92c5f97ccc6511f6062d6502}{int}} {\bfseries dev}
\begin{DoxyCompactList}\small\item\em device inode number the file is on \end{DoxyCompactList}\item 
\Hypertarget{struct_qore_1_1_stat_info_acc85072e4038105272c47656d431ea3a}\label{struct_qore_1_1_stat_info_acc85072e4038105272c47656d431ea3a} 
\mbox{\hyperlink{group__type__conversion__functions_ga2de8717e92c5f97ccc6511f6062d6502}{int}} {\bfseries gid}
\begin{DoxyCompactList}\small\item\em group ID of the owner \end{DoxyCompactList}\item 
\Hypertarget{struct_qore_1_1_stat_info_a95aaa8d1c10093399bc79dd5cf8a3f05}\label{struct_qore_1_1_stat_info_a95aaa8d1c10093399bc79dd5cf8a3f05} 
\mbox{\hyperlink{group__type__conversion__functions_ga2de8717e92c5f97ccc6511f6062d6502}{int}} {\bfseries inode}
\begin{DoxyCompactList}\small\item\em inode of the file \end{DoxyCompactList}\item 
\Hypertarget{struct_qore_1_1_stat_info_af496211dc9a070a072582b6bc082be19}\label{struct_qore_1_1_stat_info_af496211dc9a070a072582b6bc082be19} 
\mbox{\hyperlink{group__type__conversion__functions_ga2de8717e92c5f97ccc6511f6062d6502}{int}} {\bfseries mode}
\begin{DoxyCompactList}\small\item\em inode protection mode \end{DoxyCompactList}\item 
\Hypertarget{struct_qore_1_1_stat_info_a6115de9e4438d1681a1d68f911cf72ba}\label{struct_qore_1_1_stat_info_a6115de9e4438d1681a1d68f911cf72ba} 
\mbox{\hyperlink{group__date__and__time__functions_gaa80ee453b6a5653ac685d7e290c74e3f}{date}} {\bfseries mtime}
\begin{DoxyCompactList}\small\item\em last modified time of the file \end{DoxyCompactList}\item 
\Hypertarget{struct_qore_1_1_stat_info_a39e882057d9c19e28cd09fdf3b675f84}\label{struct_qore_1_1_stat_info_a39e882057d9c19e28cd09fdf3b675f84} 
\mbox{\hyperlink{group__type__conversion__functions_ga2de8717e92c5f97ccc6511f6062d6502}{int}} {\bfseries nlink}
\begin{DoxyCompactList}\small\item\em number of hard links to this file \end{DoxyCompactList}\item 
\Hypertarget{struct_qore_1_1_stat_info_a659e8f8acc54be3dbf1273c0c4f12392}\label{struct_qore_1_1_stat_info_a659e8f8acc54be3dbf1273c0c4f12392} 
\mbox{\hyperlink{group__type__conversion__functions_gacf16b4126b795f4b6933ef3425cadae3}{string}} {\bfseries perm}
\begin{DoxyCompactList}\small\item\em a string giving UNIX-\/style permissions for the file (ex\+: {\ttfamily "{}-\/rwxr-\/xr-\/x"{}}) \end{DoxyCompactList}\item 
\Hypertarget{struct_qore_1_1_stat_info_a45cae9cc8814b6853d7cc5ed5362ea58}\label{struct_qore_1_1_stat_info_a45cae9cc8814b6853d7cc5ed5362ea58} 
\mbox{\hyperlink{group__type__conversion__functions_ga2de8717e92c5f97ccc6511f6062d6502}{int}} {\bfseries rdev}
\begin{DoxyCompactList}\small\item\em device type number \end{DoxyCompactList}\item 
\Hypertarget{struct_qore_1_1_stat_info_a5e52a8110fc4d969b59bd8fa7cde6b98}\label{struct_qore_1_1_stat_info_a5e52a8110fc4d969b59bd8fa7cde6b98} 
\mbox{\hyperlink{group__type__conversion__functions_ga2de8717e92c5f97ccc6511f6062d6502}{int}} {\bfseries size}
\begin{DoxyCompactList}\small\item\em file size in bytes \end{DoxyCompactList}\item 
\Hypertarget{struct_qore_1_1_stat_info_a18cf1386b9853803830938518642797d}\label{struct_qore_1_1_stat_info_a18cf1386b9853803830938518642797d} 
\mbox{\hyperlink{group__type__conversion__functions_gacf16b4126b795f4b6933ef3425cadae3}{string}} {\bfseries type}
\begin{DoxyCompactList}\small\item\em a string giving the file type; one of\+:~\newline
 -\/ {\ttfamily "{}\+BLOCK-\/\+DEVICE"{}} ~\newline
 -\/ {\ttfamily "{}\+DIRECTORY"{}} ~\newline
 -\/ {\ttfamily "{}\+CHARACTER-\/\+DEVICE"{}} ~\newline
 -\/ {\ttfamily "{}\+FIFO"{}} ~\newline
 -\/ {\ttfamily "{}\+SYMBOLIC-\/\+LINK"{}} ~\newline
 -\/ {\ttfamily "{}\+SOCKET"{}} ~\newline
 -\/ {\ttfamily "{}\+REGULAR"{}} ~\newline
 -\/ {\ttfamily "{}\+UNKNOWN"{}} \end{DoxyCompactList}\item 
\Hypertarget{struct_qore_1_1_stat_info_a4326276309f6527e355b78caaa978b4b}\label{struct_qore_1_1_stat_info_a4326276309f6527e355b78caaa978b4b} 
\mbox{\hyperlink{group__type__conversion__functions_ga2de8717e92c5f97ccc6511f6062d6502}{int}} {\bfseries uid}
\begin{DoxyCompactList}\small\item\em user ID of the owner \end{DoxyCompactList}\end{DoxyCompactItemize}


\doxysubsection{Detailed Description}
file status information hash as returned from \doxylink{group__filesystem__functions_gae2beafb85bdfb88495f1645605a96b0a}{hstat()}, \doxylink{group__filesystem__functions_gabb441e137499385661b294f05e1b18fe}{hlstat()}, \doxylink{class_qore_1_1_dir_ab2ce53e16b1b2eb0d9ebd58fa3390fda}{Dir\+::hstat()}, \doxylink{class_qore_1_1_file_line_iterator_a380f6f72150723ecdc2a81f0d56d5b73}{File\+Line\+Iterator\+::hstat()}, \doxylink{class_qore_1_1_read_only_file_a649f32981a2419c6d0e335ee4b310bf1}{Read\+Only\+File\+::hstat()}, and \doxylink{class_qore_1_1_read_only_file_acc4469d7f06423f58d9bf4bee20765b4}{Read\+Only\+File\+::hlstat()} 

\begin{DoxySince}{Since}
Qore 0.\+8.\+13 
\end{DoxySince}
