\section{P\+H\+Y\+S\+F\+S\+\_\+\+Stat Struct Reference}
\label{structPHYSFS__Stat}\index{P\+H\+Y\+S\+F\+S\+\_\+\+Stat@{P\+H\+Y\+S\+F\+S\+\_\+\+Stat}}


Meta data for a file or directory.  




{\ttfamily \#include $<$physfs.\+h$>$}

\subsection*{Data Fields}
\begin{DoxyCompactItemize}
\item 
\textbf{ P\+H\+Y\+S\+F\+S\+\_\+sint64} \textbf{ filesize}
\item 
\textbf{ P\+H\+Y\+S\+F\+S\+\_\+sint64} \textbf{ modtime}
\item 
\textbf{ P\+H\+Y\+S\+F\+S\+\_\+sint64} \textbf{ createtime}
\item 
\textbf{ P\+H\+Y\+S\+F\+S\+\_\+sint64} \textbf{ accesstime}
\item 
\textbf{ P\+H\+Y\+S\+F\+S\+\_\+\+File\+Type} \textbf{ filetype}
\item 
int \textbf{ readonly}
\end{DoxyCompactItemize}


\subsection{Detailed Description}
Meta data for a file or directory. 

Container for various meta data about a file in the virtual file system. \doxyref{P\+H\+Y\+S\+F\+S\+\_\+stat()}{p.}{physfs_8h_a7f5e23675c50ffe51ad00cceb5a65348} uses this structure for returning the information. The time data will be either the number of seconds since the Unix epoch (midnight, Jan 1, 1970), or -\/1 if the information isn\textquotesingle{}t available or applicable. The (filesize) field is measured in bytes. The (readonly) field tells you whether the archive thinks a file is not writable, but tends to be only an estimate (for example, your write dir might overlap with a .zip file, meaning you {\itshape can} successfully open that path for writing, as it gets created elsewhere.

\begin{DoxySeeAlso}{See also}
\doxyref{P\+H\+Y\+S\+F\+S\+\_\+stat}{p.}{physfs_8h_a7f5e23675c50ffe51ad00cceb5a65348} 

\doxyref{P\+H\+Y\+S\+F\+S\+\_\+\+File\+Type}{p.}{physfs_8h_ac83274ef7d83801a80563476516bfa15} 
\end{DoxySeeAlso}


\subsection{Field Documentation}
\mbox{\label{structPHYSFS__Stat_a44fb4639708661057fe12f11216cfd50}} 
\index{P\+H\+Y\+S\+F\+S\+\_\+\+Stat@{P\+H\+Y\+S\+F\+S\+\_\+\+Stat}!accesstime@{accesstime}}
\index{accesstime@{accesstime}!P\+H\+Y\+S\+F\+S\+\_\+\+Stat@{P\+H\+Y\+S\+F\+S\+\_\+\+Stat}}
\subsubsection{accesstime}
{\footnotesize\ttfamily \textbf{ P\+H\+Y\+S\+F\+S\+\_\+sint64} P\+H\+Y\+S\+F\+S\+\_\+\+Stat\+::accesstime}

like modtime, but for file access time \mbox{\label{structPHYSFS__Stat_a7e21fe2f13db72c6d0d13d400e9c125e}} 
\index{P\+H\+Y\+S\+F\+S\+\_\+\+Stat@{P\+H\+Y\+S\+F\+S\+\_\+\+Stat}!createtime@{createtime}}
\index{createtime@{createtime}!P\+H\+Y\+S\+F\+S\+\_\+\+Stat@{P\+H\+Y\+S\+F\+S\+\_\+\+Stat}}
\subsubsection{createtime}
{\footnotesize\ttfamily \textbf{ P\+H\+Y\+S\+F\+S\+\_\+sint64} P\+H\+Y\+S\+F\+S\+\_\+\+Stat\+::createtime}

like modtime, but for file creation time \mbox{\label{structPHYSFS__Stat_a60424e4f979a34580190d1c3f8a753c0}} 
\index{P\+H\+Y\+S\+F\+S\+\_\+\+Stat@{P\+H\+Y\+S\+F\+S\+\_\+\+Stat}!filesize@{filesize}}
\index{filesize@{filesize}!P\+H\+Y\+S\+F\+S\+\_\+\+Stat@{P\+H\+Y\+S\+F\+S\+\_\+\+Stat}}
\subsubsection{filesize}
{\footnotesize\ttfamily \textbf{ P\+H\+Y\+S\+F\+S\+\_\+sint64} P\+H\+Y\+S\+F\+S\+\_\+\+Stat\+::filesize}

size in bytes, -\/1 for non-\/files and unknown \mbox{\label{structPHYSFS__Stat_ab22cc29657e1049fe157d5379deb77a2}} 
\index{P\+H\+Y\+S\+F\+S\+\_\+\+Stat@{P\+H\+Y\+S\+F\+S\+\_\+\+Stat}!filetype@{filetype}}
\index{filetype@{filetype}!P\+H\+Y\+S\+F\+S\+\_\+\+Stat@{P\+H\+Y\+S\+F\+S\+\_\+\+Stat}}
\subsubsection{filetype}
{\footnotesize\ttfamily \textbf{ P\+H\+Y\+S\+F\+S\+\_\+\+File\+Type} P\+H\+Y\+S\+F\+S\+\_\+\+Stat\+::filetype}

File? Directory? Symlink? \mbox{\label{structPHYSFS__Stat_a7d2bab20e466bcc30cf2a811ac468cc8}} 
\index{P\+H\+Y\+S\+F\+S\+\_\+\+Stat@{P\+H\+Y\+S\+F\+S\+\_\+\+Stat}!modtime@{modtime}}
\index{modtime@{modtime}!P\+H\+Y\+S\+F\+S\+\_\+\+Stat@{P\+H\+Y\+S\+F\+S\+\_\+\+Stat}}
\subsubsection{modtime}
{\footnotesize\ttfamily \textbf{ P\+H\+Y\+S\+F\+S\+\_\+sint64} P\+H\+Y\+S\+F\+S\+\_\+\+Stat\+::modtime}

last modification time \mbox{\label{structPHYSFS__Stat_a61ac37f20c1e6e9a204ce19b8fc8e806}} 
\index{P\+H\+Y\+S\+F\+S\+\_\+\+Stat@{P\+H\+Y\+S\+F\+S\+\_\+\+Stat}!readonly@{readonly}}
\index{readonly@{readonly}!P\+H\+Y\+S\+F\+S\+\_\+\+Stat@{P\+H\+Y\+S\+F\+S\+\_\+\+Stat}}
\subsubsection{readonly}
{\footnotesize\ttfamily int P\+H\+Y\+S\+F\+S\+\_\+\+Stat\+::readonly}

non-\/zero if read only, zero if writable. 

The documentation for this struct was generated from the following file\+:\begin{DoxyCompactItemize}
\item 
\textbf{ physfs.\+h}\end{DoxyCompactItemize}
