\hypertarget{group__file__open__constants}{}\doxysection{File Open Constants}
\label{group__file__open__constants}\index{File Open Constants@{File Open Constants}}
\doxysubsection*{Variables}
\begin{DoxyCompactItemize}
\item 
\mbox{\Hypertarget{group__file__open__constants_ga8e48617453f7fd321bcceee8816bf23d}\label{group__file__open__constants_ga8e48617453f7fd321bcceee8816bf23d}} 
const {\bfseries Qore\+::\+O\+\_\+\+ACCMODE} = O\+\_\+\+ACCMODE
\begin{DoxyCompactList}\small\item\em Mask for access modes (O\+\_\+\+RDONLY$\vert$\+O\+\_\+\+WRONLY$\vert$\+O\+\_\+\+RDWR) \end{DoxyCompactList}\item 
\mbox{\Hypertarget{group__file__open__constants_gab47c6691139c37e08761a808d16ede1d}\label{group__file__open__constants_gab47c6691139c37e08761a808d16ede1d}} 
const {\bfseries Qore\+::\+O\+\_\+\+APPEND} = O\+\_\+\+APPEND
\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 {\bfseries Qore\+::\+O\+\_\+\+CREAT} = O\+\_\+\+CREAT
\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 {\bfseries Qore\+::\+O\+\_\+\+DIRECT} = O\+\_\+\+DIRECT
\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 {\bfseries Qore\+::\+O\+\_\+\+DIRECTORY} = O\+\_\+\+DIRECTORY
\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 {\bfseries Qore\+::\+O\+\_\+\+EXCL} = O\+\_\+\+EXCL
\begin{DoxyCompactList}\small\item\em Raise an error if used with O\+\_\+\+CREAT and the file exists. \end{DoxyCompactList}\item 
\mbox{\Hypertarget{group__file__open__constants_gaef24f5eb3bd3bd4dd9d4658577376715}\label{group__file__open__constants_gaef24f5eb3bd3bd4dd9d4658577376715}} 
const {\bfseries Qore\+::\+O\+\_\+\+NDELAY} = O\+\_\+\+NDELAY
\begin{DoxyCompactList}\small\item\em synonym for O\+\_\+\+NONBLOCK (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 {\bfseries Qore\+::\+O\+\_\+\+NOCTTY} = O\+\_\+\+NOCTTY
\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 {\bfseries Qore\+::\+O\+\_\+\+NOFOLLOW} = O\+\_\+\+NOFOLLOW
\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 {\bfseries Qore\+::\+O\+\_\+\+NONBLOCK} = O\+\_\+\+NONBLOCK
\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 {\bfseries Qore\+::\+O\+\_\+\+RDONLY} = O\+\_\+\+RDONLY
\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 {\bfseries Qore\+::\+O\+\_\+\+RDWR} = O\+\_\+\+RDWR
\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 {\bfseries Qore\+::\+O\+\_\+\+SYNC} = O\+\_\+\+SYNC
\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 {\bfseries Qore\+::\+O\+\_\+\+TRUNC} = O\+\_\+\+TRUNC
\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 {\bfseries Qore\+::\+O\+\_\+\+WRONLY} = O\+\_\+\+WRONLY
\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()}} 