\hypertarget{group__file__open__constants}{}\doxysection{File Open Constants}
\label{group__file__open__constants}\index{File Open Constants@{File Open Constants}}


These are the possible values that can be or\textquotesingle{}ed together when calling \mbox{\hyperlink{class_qore_1_1_file_a0f0e402ebce26412fa854b3647a13c15}{File\+::open()}} or \mbox{\hyperlink{class_qore_1_1_file_acb397de36027a83129823742ac97c157}{File\+::open2()}}  


\doxysubsection*{Variables}
\begin{DoxyCompactItemize}
\item 
\mbox{\Hypertarget{group__file__open__constants_ga8e48617453f7fd321bcceee8816bf23d}\label{group__file__open__constants_ga8e48617453f7fd321bcceee8816bf23d}} 
const \mbox{\hyperlink{group__file__open__constants_ga8e48617453f7fd321bcceee8816bf23d}{Qore\+::\+O\+\_\+\+A\+C\+C\+M\+O\+DE}} = O\+\_\+\+A\+C\+C\+M\+O\+DE
\begin{DoxyCompactList}\small\item\em Mask for access modes (O\+\_\+\+R\+D\+O\+N\+L\+Y$\vert$\+O\+\_\+\+W\+R\+O\+N\+L\+Y$\vert$\+O\+\_\+\+R\+D\+WR) \end{DoxyCompactList}\item 
\mbox{\Hypertarget{group__file__open__constants_gab47c6691139c37e08761a808d16ede1d}\label{group__file__open__constants_gab47c6691139c37e08761a808d16ede1d}} 
const \mbox{\hyperlink{group__file__open__constants_gab47c6691139c37e08761a808d16ede1d}{Qore\+::\+O\+\_\+\+A\+P\+P\+E\+ND}} = O\+\_\+\+A\+P\+P\+E\+ND
\begin{DoxyCompactList}\small\item\em Open the file in append mode (append on each write) \end{DoxyCompactList}\item 
\mbox{\Hypertarget{group__file__open__constants_ga9af988b09d302ec0ae8605d5610e1e9a}\label{group__file__open__constants_ga9af988b09d302ec0ae8605d5610e1e9a}} 
const \mbox{\hyperlink{group__file__open__constants_ga9af988b09d302ec0ae8605d5610e1e9a}{Qore\+::\+O\+\_\+\+C\+R\+E\+AT}} = O\+\_\+\+C\+R\+E\+AT
\begin{DoxyCompactList}\small\item\em Create the file if it doesn\textquotesingle{}t exist. \end{DoxyCompactList}\item 
\mbox{\Hypertarget{group__file__open__constants_ga682b263ef12018bfd33ca8ba8bc8fd16}\label{group__file__open__constants_ga682b263ef12018bfd33ca8ba8bc8fd16}} 
const \mbox{\hyperlink{group__file__open__constants_ga682b263ef12018bfd33ca8ba8bc8fd16}{Qore\+::\+O\+\_\+\+D\+I\+R\+E\+CT}} = O\+\_\+\+D\+I\+R\+E\+CT
\begin{DoxyCompactList}\small\item\em direct disk access hint (0 on platforms where this is not available) \end{DoxyCompactList}\item 
\mbox{\Hypertarget{group__file__open__constants_ga5be496ec4bdff357baf0e742139c74b1}\label{group__file__open__constants_ga5be496ec4bdff357baf0e742139c74b1}} 
const \mbox{\hyperlink{group__file__open__constants_ga5be496ec4bdff357baf0e742139c74b1}{Qore\+::\+O\+\_\+\+D\+I\+R\+E\+C\+T\+O\+RY}} = O\+\_\+\+D\+I\+R\+E\+C\+T\+O\+RY
\begin{DoxyCompactList}\small\item\em must be a directory (0 on platforms where this is not available) \end{DoxyCompactList}\item 
\mbox{\Hypertarget{group__file__open__constants_ga4ba47557022312d11d81f171fbb2e9ba}\label{group__file__open__constants_ga4ba47557022312d11d81f171fbb2e9ba}} 
const \mbox{\hyperlink{group__file__open__constants_ga4ba47557022312d11d81f171fbb2e9ba}{Qore\+::\+O\+\_\+\+E\+X\+CL}} = O\+\_\+\+E\+X\+CL
\begin{DoxyCompactList}\small\item\em Raise an error if used with O\+\_\+\+C\+R\+E\+AT and the file exists. \end{DoxyCompactList}\item 
\mbox{\Hypertarget{group__file__open__constants_gaef24f5eb3bd3bd4dd9d4658577376715}\label{group__file__open__constants_gaef24f5eb3bd3bd4dd9d4658577376715}} 
const \mbox{\hyperlink{group__file__open__constants_gaef24f5eb3bd3bd4dd9d4658577376715}{Qore\+::\+O\+\_\+\+N\+D\+E\+L\+AY}} = O\+\_\+\+N\+D\+E\+L\+AY
\begin{DoxyCompactList}\small\item\em synonym for O\+\_\+\+N\+O\+N\+B\+L\+O\+CK (untested with \mbox{\hyperlink{namespace_qore}{Qore}}; 0 on platforms where this is not available) \end{DoxyCompactList}\item 
\mbox{\Hypertarget{group__file__open__constants_ga107ba322507fc52fe0c4a6537ded406a}\label{group__file__open__constants_ga107ba322507fc52fe0c4a6537ded406a}} 
const \mbox{\hyperlink{group__file__open__constants_ga107ba322507fc52fe0c4a6537ded406a}{Qore\+::\+O\+\_\+\+N\+O\+C\+T\+TY}} = O\+\_\+\+N\+O\+C\+T\+TY
\begin{DoxyCompactList}\small\item\em don\textquotesingle{}t allocate controlling tty (0 on platforms where this is not available) \end{DoxyCompactList}\item 
\mbox{\Hypertarget{group__file__open__constants_ga3452d00ede9696d75d1062d95da9449a}\label{group__file__open__constants_ga3452d00ede9696d75d1062d95da9449a}} 
const \mbox{\hyperlink{group__file__open__constants_ga3452d00ede9696d75d1062d95da9449a}{Qore\+::\+O\+\_\+\+N\+O\+F\+O\+L\+L\+OW}} = O\+\_\+\+N\+O\+F\+O\+L\+L\+OW
\begin{DoxyCompactList}\small\item\em don\textquotesingle{}t follow links (0 on platforms where this is not available) \end{DoxyCompactList}\item 
\mbox{\Hypertarget{group__file__open__constants_gad5c43d9d32ea2b08ebbdfe70aa84710a}\label{group__file__open__constants_gad5c43d9d32ea2b08ebbdfe70aa84710a}} 
const \mbox{\hyperlink{group__file__open__constants_gad5c43d9d32ea2b08ebbdfe70aa84710a}{Qore\+::\+O\+\_\+\+N\+O\+N\+B\+L\+O\+CK}} = O\+\_\+\+N\+O\+N\+B\+L\+O\+CK
\begin{DoxyCompactList}\small\item\em non-\/blocking I/O (untested with \mbox{\hyperlink{namespace_qore}{Qore}}; 0 on platforms where this is not available) \end{DoxyCompactList}\item 
\mbox{\Hypertarget{group__file__open__constants_ga1ab351549a0b39d1492dc0a48d199f64}\label{group__file__open__constants_ga1ab351549a0b39d1492dc0a48d199f64}} 
const \mbox{\hyperlink{group__file__open__constants_ga1ab351549a0b39d1492dc0a48d199f64}{Qore\+::\+O\+\_\+\+R\+D\+O\+N\+LY}} = O\+\_\+\+R\+D\+O\+N\+LY
\begin{DoxyCompactList}\small\item\em Open the file read-\/only. \end{DoxyCompactList}\item 
\mbox{\Hypertarget{group__file__open__constants_ga0d2a9837762a26e27fb666fa44358c37}\label{group__file__open__constants_ga0d2a9837762a26e27fb666fa44358c37}} 
const \mbox{\hyperlink{group__file__open__constants_ga0d2a9837762a26e27fb666fa44358c37}{Qore\+::\+O\+\_\+\+R\+D\+WR}} = O\+\_\+\+R\+D\+WR
\begin{DoxyCompactList}\small\item\em Open for reading and writing. \end{DoxyCompactList}\item 
\mbox{\Hypertarget{group__file__open__constants_gacb2f3e1944dae38a5c4363ba21bbca11}\label{group__file__open__constants_gacb2f3e1944dae38a5c4363ba21bbca11}} 
const \mbox{\hyperlink{group__file__open__constants_gacb2f3e1944dae38a5c4363ba21bbca11}{Qore\+::\+O\+\_\+\+S\+Y\+NC}} = O\+\_\+\+S\+Y\+NC
\begin{DoxyCompactList}\small\item\em synchronized file update option (0 on platforms where this is not available) \end{DoxyCompactList}\item 
\mbox{\Hypertarget{group__file__open__constants_gaeee59f4f7458e6d022dc84da0b9817af}\label{group__file__open__constants_gaeee59f4f7458e6d022dc84da0b9817af}} 
const \mbox{\hyperlink{group__file__open__constants_gaeee59f4f7458e6d022dc84da0b9817af}{Qore\+::\+O\+\_\+\+T\+R\+U\+NC}} = O\+\_\+\+T\+R\+U\+NC
\begin{DoxyCompactList}\small\item\em Truncate the size to zero. \end{DoxyCompactList}\item 
\mbox{\Hypertarget{group__file__open__constants_ga24d94df00b8914ad6459e39cddfe15bf}\label{group__file__open__constants_ga24d94df00b8914ad6459e39cddfe15bf}} 
const \mbox{\hyperlink{group__file__open__constants_ga24d94df00b8914ad6459e39cddfe15bf}{Qore\+::\+O\+\_\+\+W\+R\+O\+N\+LY}} = O\+\_\+\+W\+R\+O\+N\+LY
\begin{DoxyCompactList}\small\item\em Open the file write-\/only. \end{DoxyCompactList}\end{DoxyCompactItemize}


\doxysubsection{Detailed Description}
These are the possible values that can be or\textquotesingle{}ed together when calling \mbox{\hyperlink{class_qore_1_1_file_a0f0e402ebce26412fa854b3647a13c15}{File\+::open()}} or \mbox{\hyperlink{class_qore_1_1_file_acb397de36027a83129823742ac97c157}{File\+::open2()}} 

