1<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
2<html xml:lang="en-US" lang="en-US" xmlns="http://www.w3.org/1999/xhtml">
3  <head>
4    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
5    <meta http-equiv="Content-Style-Type" content="text/css" />
6    <link rel="stylesheet" href="../../css/manpage.css" type="text/css" />
7    <title>OpenMode</title>
8  </head>
9  <body>
10    <h1><CODE>nn::fs::OpenMode</CODE> Enumerated Type</h1>
11    <h2>Syntax</h2>
12    <div class="section">
13      <pre class="definition">
14enum OpenMode;
15</pre>
16    </div>
17    <h2>Value</h2>
18    <div class="section">
19      <table class="arguments">
20        <thead>
21          <tr>
22            <th>Value</th>
23            <td>Description</td>
24          </tr>
25        </thead>
26        <tr>
27          <th><CODE>OPEN_MODE_READ</CODE></th>
28          <td>Open in read mode.</td>
29        </tr>
30        <tr>
31          <th><CODE>OPEN_MODE_WRITE</CODE></th>
32          <td>Open in write mode.</td>
33        </tr>
34        <tr>
35          <th><CODE>OPEN_MODE_CREATE</CODE></th>
36          <td>Create a file if it doesn't exist. You must specify <CODE>OPEN_MODE_WRITE</CODE> at the same time.</td>
37        </tr>
38      </table> </div>
39    <h2>Description</h2>
40    <div class="section">
41      <p>An enumeration of constants that specify file open modes.</p><p>A file open mode is specified by a bitwise OR of these values.</p><!-- write here --></div>
42    <h2>Revision History</h2>
43    <div class="section">
44      <dl class="history">
45        <dt>2010/11/09</dt>
46        <dd>Initial version.<br />
47        </dd>
48      </dl>
49    </div>
50  <hr><p>CONFIDENTIAL</p></body>
51</html>