67
69
<div class="dyncontent">
68
70
<div class="center"><img src="classGlib_1_1FileError__inherit__graph.png" border="0" usemap="#Glib_1_1FileError_inherit__map" alt="Inheritance graph"/></div>
69
71
<map name="Glib_1_1FileError_inherit__map" id="Glib_1_1FileError_inherit__map">
70
<area shape="rect" id="node2" href="classGlib_1_1Error.html" title="Glib::Error" alt="" coords="20,83,105,112"/><area shape="rect" id="node4" href="classGlib_1_1Exception.html" title="Glib::Exception" alt="" coords="5,5,120,35"/></map>
71
73
<center><span class="legend">[<a href="graph_legend.html">legend</a>]</span></center></div>
72
74
<table class="memberdecls">
73
75
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-types"></a>
74
76
Public Types</h2></td></tr>
75
77
<tr class="memitem:a0bdb855c813c7d07a424009706fc8f0b"><td class="memItemLeft" align="right" valign="top">enum  </td><td class="memItemRight" valign="bottom"><a class="el" href="classGlib_1_1FileError.html#a0bdb855c813c7d07a424009706fc8f0b">Code</a> { <br/>
76
  <a class="el" href="classGlib_1_1FileError.html#a0bdb855c813c7d07a424009706fc8f0ba01ff8868a0b220c86c9324c99d3cd4fe">EXISTS</a>, <br/>
77
  <a class="el" href="classGlib_1_1FileError.html#a0bdb855c813c7d07a424009706fc8f0baff115ce7e218cc5a4aae85ec8890ab94">IS_DIRECTORY</a>, <br/>
78
  <a class="el" href="classGlib_1_1FileError.html#a0bdb855c813c7d07a424009706fc8f0baa2e3135e38ebcc80a494528091ebd8de">ACCESS_DENIED</a>, <br/>
79
  <a class="el" href="classGlib_1_1FileError.html#a0bdb855c813c7d07a424009706fc8f0ba8643f49fdab6a5ff782084c67135e1e1">NAME_TOO_LONG</a>, <br/>
80
  <a class="el" href="classGlib_1_1FileError.html#a0bdb855c813c7d07a424009706fc8f0baeda2e83b22b1f6dc1da2694f1644e564">NO_SUCH_ENTITY</a>, <br/>
81
  <a class="el" href="classGlib_1_1FileError.html#a0bdb855c813c7d07a424009706fc8f0baa4f3b9115752cd9cf52a5b59f8909991">NOT_DIRECTORY</a>, <br/>
82
  <a class="el" href="classGlib_1_1FileError.html#a0bdb855c813c7d07a424009706fc8f0babb6c725bc086a2d279e757457b030571">NO_SUCH_DEVICE</a>, <br/>
83
  <a class="el" href="classGlib_1_1FileError.html#a0bdb855c813c7d07a424009706fc8f0badd3c96afe2ba945bb3560e16a9b93d59">NOT_DEVICE</a>, <br/>
84
  <a class="el" href="classGlib_1_1FileError.html#a0bdb855c813c7d07a424009706fc8f0babeea9fce53d4885b4051984276f15a8b">READONLY_FILESYSTEM</a>, <br/>
85
  <a class="el" href="classGlib_1_1FileError.html#a0bdb855c813c7d07a424009706fc8f0ba7e4dc1f2fd34848b7bc3000c272e1372">TEXT_FILE_BUSY</a>, <br/>
86
  <a class="el" href="classGlib_1_1FileError.html#a0bdb855c813c7d07a424009706fc8f0badc06f883f118f4890129663191c6c17f">FAULTY_ADDRESS</a>, <br/>
87
  <a class="el" href="classGlib_1_1FileError.html#a0bdb855c813c7d07a424009706fc8f0ba162e633cd38eab5d522270c9a3ebcea2">SYMLINK_LOOP</a>, <br/>
88
  <a class="el" href="classGlib_1_1FileError.html#a0bdb855c813c7d07a424009706fc8f0bab01ef9f764fd9b893ce8642c41e767d8">NO_SPACE_LEFT</a>, <br/>
89
  <a class="el" href="classGlib_1_1FileError.html#a0bdb855c813c7d07a424009706fc8f0ba370079127964629a1632d9ddb9e1675e">NOT_ENOUGH_MEMORY</a>, <br/>
90
  <a class="el" href="classGlib_1_1FileError.html#a0bdb855c813c7d07a424009706fc8f0bae6695b16a229d85ed7fe04998ded8e69">TOO_MANY_OPEN_FILES</a>, <br/>
91
  <a class="el" href="classGlib_1_1FileError.html#a0bdb855c813c7d07a424009706fc8f0ba270fd5509672b5315c89ba895cf0a03b">FILE_TABLE_OVERFLOW</a>, <br/>
92
  <a class="el" href="classGlib_1_1FileError.html#a0bdb855c813c7d07a424009706fc8f0ba4fc249f01958f2637485f137984a2ef5">BAD_FILE_DESCRIPTOR</a>, <br/>
93
  <a class="el" href="classGlib_1_1FileError.html#a0bdb855c813c7d07a424009706fc8f0ba9c342ad59c861942248c7c4f9856ffa3">INVALID_ARGUMENT</a>, <br/>
94
  <a class="el" href="classGlib_1_1FileError.html#a0bdb855c813c7d07a424009706fc8f0ba7973f973a753e33f7334606a7b94a484">BROKEN_PIPE</a>, <br/>
95
  <a class="el" href="classGlib_1_1FileError.html#a0bdb855c813c7d07a424009706fc8f0ba394d8e382562d6a1d98eeb324f7bb3ef">TRYAGAIN</a>, <br/>
96
  <a class="el" href="classGlib_1_1FileError.html#a0bdb855c813c7d07a424009706fc8f0badddd41967fb43bd5299d7ca081e1fb2f">INTERRUPTED</a>, <br/>
97
  <a class="el" href="classGlib_1_1FileError.html#a0bdb855c813c7d07a424009706fc8f0ba9f036a8ebefce2b3e4d6212a81391f41">IO_ERROR</a>, <br/>
98
  <a class="el" href="classGlib_1_1FileError.html#a0bdb855c813c7d07a424009706fc8f0baa10eb3f9c67a9d359927839c800e9d62">NOT_OWNER</a>, <br/>
99
  <a class="el" href="classGlib_1_1FileError.html#a0bdb855c813c7d07a424009706fc8f0ba35c967e08b486a0e88197f5753d2df1a">NOSYS</a>, <br/>
78
  <a class="el" href="classGlib_1_1FileError.html#a0bdb855c813c7d07a424009706fc8f0ba01ff8868a0b220c86c9324c99d3cd4fe">EXISTS</a>,
80
  <a class="el" href="classGlib_1_1FileError.html#a0bdb855c813c7d07a424009706fc8f0baff115ce7e218cc5a4aae85ec8890ab94">IS_DIRECTORY</a>,
82
  <a class="el" href="classGlib_1_1FileError.html#a0bdb855c813c7d07a424009706fc8f0baa2e3135e38ebcc80a494528091ebd8de">ACCESS_DENIED</a>,
84
  <a class="el" href="classGlib_1_1FileError.html#a0bdb855c813c7d07a424009706fc8f0ba8643f49fdab6a5ff782084c67135e1e1">NAME_TOO_LONG</a>,
86
  <a class="el" href="classGlib_1_1FileError.html#a0bdb855c813c7d07a424009706fc8f0baeda2e83b22b1f6dc1da2694f1644e564">NO_SUCH_ENTITY</a>,
88
  <a class="el" href="classGlib_1_1FileError.html#a0bdb855c813c7d07a424009706fc8f0baa4f3b9115752cd9cf52a5b59f8909991">NOT_DIRECTORY</a>,
90
  <a class="el" href="classGlib_1_1FileError.html#a0bdb855c813c7d07a424009706fc8f0babb6c725bc086a2d279e757457b030571">NO_SUCH_DEVICE</a>,
92
  <a class="el" href="classGlib_1_1FileError.html#a0bdb855c813c7d07a424009706fc8f0badd3c96afe2ba945bb3560e16a9b93d59">NOT_DEVICE</a>,
94
  <a class="el" href="classGlib_1_1FileError.html#a0bdb855c813c7d07a424009706fc8f0babeea9fce53d4885b4051984276f15a8b">READONLY_FILESYSTEM</a>,
96
  <a class="el" href="classGlib_1_1FileError.html#a0bdb855c813c7d07a424009706fc8f0ba7e4dc1f2fd34848b7bc3000c272e1372">TEXT_FILE_BUSY</a>,
98
  <a class="el" href="classGlib_1_1FileError.html#a0bdb855c813c7d07a424009706fc8f0badc06f883f118f4890129663191c6c17f">FAULTY_ADDRESS</a>,
100
  <a class="el" href="classGlib_1_1FileError.html#a0bdb855c813c7d07a424009706fc8f0ba162e633cd38eab5d522270c9a3ebcea2">SYMLINK_LOOP</a>,
102
  <a class="el" href="classGlib_1_1FileError.html#a0bdb855c813c7d07a424009706fc8f0bab01ef9f764fd9b893ce8642c41e767d8">NO_SPACE_LEFT</a>,
104
  <a class="el" href="classGlib_1_1FileError.html#a0bdb855c813c7d07a424009706fc8f0ba370079127964629a1632d9ddb9e1675e">NOT_ENOUGH_MEMORY</a>,
106
  <a class="el" href="classGlib_1_1FileError.html#a0bdb855c813c7d07a424009706fc8f0bae6695b16a229d85ed7fe04998ded8e69">TOO_MANY_OPEN_FILES</a>,
108
  <a class="el" href="classGlib_1_1FileError.html#a0bdb855c813c7d07a424009706fc8f0ba270fd5509672b5315c89ba895cf0a03b">FILE_TABLE_OVERFLOW</a>,
110
  <a class="el" href="classGlib_1_1FileError.html#a0bdb855c813c7d07a424009706fc8f0ba4fc249f01958f2637485f137984a2ef5">BAD_FILE_DESCRIPTOR</a>,
112
  <a class="el" href="classGlib_1_1FileError.html#a0bdb855c813c7d07a424009706fc8f0ba9c342ad59c861942248c7c4f9856ffa3">INVALID_ARGUMENT</a>,
114
  <a class="el" href="classGlib_1_1FileError.html#a0bdb855c813c7d07a424009706fc8f0ba7973f973a753e33f7334606a7b94a484">BROKEN_PIPE</a>,
116
  <a class="el" href="classGlib_1_1FileError.html#a0bdb855c813c7d07a424009706fc8f0ba394d8e382562d6a1d98eeb324f7bb3ef">TRYAGAIN</a>,
118
  <a class="el" href="classGlib_1_1FileError.html#a0bdb855c813c7d07a424009706fc8f0badddd41967fb43bd5299d7ca081e1fb2f">INTERRUPTED</a>,
120
  <a class="el" href="classGlib_1_1FileError.html#a0bdb855c813c7d07a424009706fc8f0ba9f036a8ebefce2b3e4d6212a81391f41">IO_ERROR</a>,
122
  <a class="el" href="classGlib_1_1FileError.html#a0bdb855c813c7d07a424009706fc8f0baa10eb3f9c67a9d359927839c800e9d62">NOT_OWNER</a>,
124
  <a class="el" href="classGlib_1_1FileError.html#a0bdb855c813c7d07a424009706fc8f0ba35c967e08b486a0e88197f5753d2df1a">NOSYS</a>,
100
126
  <a class="el" href="classGlib_1_1FileError.html#a0bdb855c813c7d07a424009706fc8f0ba1ff00bae55bf88a6bd4f5c70b78324b9">FAILED</a>
103
<tr class="memdesc:a0bdb855c813c7d07a424009706fc8f0b"><td class="mdescLeft"> </td><td class="mdescRight">Values corresponding to <code>errno</code> codes returned from file operations on UNIX. <a href="classGlib_1_1FileError.html#a0bdb855c813c7d07a424009706fc8f0b">More...</a><br/></td></tr>
129
<tr class="memdesc:a0bdb855c813c7d07a424009706fc8f0b"><td class="mdescLeft"> </td><td class="mdescRight">Values corresponding to <code>errno</code> codes returned from file operations on UNIX. <a href="classGlib_1_1FileError.html#a0bdb855c813c7d07a424009706fc8f0b">More...</a><br/></td></tr>
104
130
<tr class="separator:a0bdb855c813c7d07a424009706fc8f0b"><td class="memSeparator" colspan="2"> </td></tr>
105
131
</table><table class="memberdecls">
106
132
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-methods"></a>
162
188
<p>Values corresponding to <code>errno</code> codes returned from file operations on UNIX. </p>
163
189
<p>Unlike <code>errno</code> codes, <a class="el" href="classGlib_1_1FileError.html#a0bdb855c813c7d07a424009706fc8f0b" title="Values corresponding to errno codes returned from file operations on UNIX.">FileError::Code</a> values are available on all systems, even Windows. The exact meaning of each code depends on what sort of file operation you were performing; the UNIX documentation gives more details. The following error code descriptions come from the GNU C Library manual, and are under the copyright of that manual.</p>
164
190
<p>It's not very portable to make detailed assumptions about exactly which errors will be returned from a given operation. Some errors don't occur on some systems, etc., sometimes there are subtle differences in when a system will report a given error, etc. </p>
165
<dl><dt><b>Enumerator: </b></dt><dd><table border="0" cellspacing="2" cellpadding="0">
166
<tr><td valign="top"><em><a class="anchor" id="a0bdb855c813c7d07a424009706fc8f0ba01ff8868a0b220c86c9324c99d3cd4fe"></a>EXISTS</em> </td><td>
167
<p><code>(EEXIST)</code> Operation not permitted; only the owner of the file (or other resource) or processes with special privileges can perform the operation. </p>
172
<tr><td valign="top"><em><a class="anchor" id="a0bdb855c813c7d07a424009706fc8f0baff115ce7e218cc5a4aae85ec8890ab94"></a>IS_DIRECTORY</em> </td><td>
173
<p><code>(EISDIR)</code> File is a directory; you cannot open a directory for writing, or create or remove hard links to it. </p>
178
<tr><td valign="top"><em><a class="anchor" id="a0bdb855c813c7d07a424009706fc8f0baa2e3135e38ebcc80a494528091ebd8de"></a>ACCESS_DENIED</em> </td><td>
179
<p><code>(EACCES)</code> Permission denied; the file permissions do not allow the attempted operation. </p>
184
<tr><td valign="top"><em><a class="anchor" id="a0bdb855c813c7d07a424009706fc8f0ba8643f49fdab6a5ff782084c67135e1e1"></a>NAME_TOO_LONG</em> </td><td>
185
<p><code>(ENAMETOOLONG)</code> Filename too long. </p>
190
<tr><td valign="top"><em><a class="anchor" id="a0bdb855c813c7d07a424009706fc8f0baeda2e83b22b1f6dc1da2694f1644e564"></a>NO_SUCH_ENTITY</em> </td><td>
191
<p><code>(ENOENT)</code> No such file or directory. </p>
191
<table class="fieldtable">
192
<tr><th colspan="2">Enumerator</th></tr><tr><td class="fieldname"><em><a class="anchor" id="a0bdb855c813c7d07a424009706fc8f0ba01ff8868a0b220c86c9324c99d3cd4fe"></a>EXISTS</em> </td><td class="fielddoc">
193
<p>Operation not permitted; only the owner of the file (or other resource) or processes with special privileges can perform the operation. </p>
194
<p><code>(EEXIST)</code> Operation not permitted; only the owner of the file (or other resource) or processes with special privileges can perform the operation.</p>
199
<tr><td class="fieldname"><em><a class="anchor" id="a0bdb855c813c7d07a424009706fc8f0baff115ce7e218cc5a4aae85ec8890ab94"></a>IS_DIRECTORY</em> </td><td class="fielddoc">
200
<p>File is a directory; you cannot open a directory for writing, or create or remove hard links to it. </p>
201
<p><code>(EISDIR)</code> File is a directory; you cannot open a directory for writing, or create or remove hard links to it.</p>
206
<tr><td class="fieldname"><em><a class="anchor" id="a0bdb855c813c7d07a424009706fc8f0baa2e3135e38ebcc80a494528091ebd8de"></a>ACCESS_DENIED</em> </td><td class="fielddoc">
207
<p>Permission denied; the file permissions do not allow the attempted operation. </p>
208
<p><code>(EACCES)</code> Permission denied; the file permissions do not allow the attempted operation.</p>
213
<tr><td class="fieldname"><em><a class="anchor" id="a0bdb855c813c7d07a424009706fc8f0ba8643f49fdab6a5ff782084c67135e1e1"></a>NAME_TOO_LONG</em> </td><td class="fielddoc">
214
<p>Filename too long. </p>
215
<p><code>(ENAMETOOLONG)</code> Filename too long.</p>
220
<tr><td class="fieldname"><em><a class="anchor" id="a0bdb855c813c7d07a424009706fc8f0baeda2e83b22b1f6dc1da2694f1644e564"></a>NO_SUCH_ENTITY</em> </td><td class="fielddoc">
221
<p>No such file or directory. </p>
222
<p><code>(ENOENT)</code> No such file or directory.</p>
224
doesn't exist" error for ordinary files that are referenced in contexts where they are expected to already exist.</p>
192
225
<p>This is a "file doesn't exist" error for ordinary files that are referenced in contexts where they are expected to already exist. <br/>
196
<tr><td valign="top"><em><a class="anchor" id="a0bdb855c813c7d07a424009706fc8f0baa4f3b9115752cd9cf52a5b59f8909991"></a>NOT_DIRECTORY</em> </td><td>
197
<p><code>(ENOTDIR)</code> A file that isn't a directory was specified when a directory is required. </p>
229
<tr><td class="fieldname"><em><a class="anchor" id="a0bdb855c813c7d07a424009706fc8f0baa4f3b9115752cd9cf52a5b59f8909991"></a>NOT_DIRECTORY</em> </td><td class="fielddoc">
230
<p>A file that isn't a directory was specified when a directory is required. </p>
231
<p><code>(ENOTDIR)</code> A file that isn't a directory was specified when a directory is required.</p>
202
<tr><td valign="top"><em><a class="anchor" id="a0bdb855c813c7d07a424009706fc8f0babb6c725bc086a2d279e757457b030571"></a>NO_SUCH_DEVICE</em> </td><td>
203
<p><code>(ENXIO)</code> No such device or address. </p>
236
<tr><td class="fieldname"><em><a class="anchor" id="a0bdb855c813c7d07a424009706fc8f0babb6c725bc086a2d279e757457b030571"></a>NO_SUCH_DEVICE</em> </td><td class="fielddoc">
237
<p>No such device or address. </p>
238
<p><code>(ENXIO)</code> No such device or address.</p>
239
<p>The system tried to use the device represented by a file you specified, and it couldn't find the device. This can mean that the device file was installed incorrectly, or that the physical device is missing or not correctly attached to the computer.</p>
204
240
<p>The system tried to use the device represented by a file you specified, and it couldn't find the device. This can mean that the device file was installed incorrectly, or that the physical device is missing or not correctly attached to the computer. <br/>
208
<tr><td valign="top"><em><a class="anchor" id="a0bdb855c813c7d07a424009706fc8f0badd3c96afe2ba945bb3560e16a9b93d59"></a>NOT_DEVICE</em> </td><td>
209
<p><code>(ENODEV)</code> This file is of a type that doesn't support mapping. </p>
214
<tr><td valign="top"><em><a class="anchor" id="a0bdb855c813c7d07a424009706fc8f0babeea9fce53d4885b4051984276f15a8b"></a>READONLY_FILESYSTEM</em> </td><td>
215
<p><code>(EROFS)</code> The directory containing the new link can't be modified because it's on a read-only file system. </p>
220
<tr><td valign="top"><em><a class="anchor" id="a0bdb855c813c7d07a424009706fc8f0ba7e4dc1f2fd34848b7bc3000c272e1372"></a>TEXT_FILE_BUSY</em> </td><td>
221
<p><code>(ETXTBSY)</code> Text file busy. </p>
226
<tr><td valign="top"><em><a class="anchor" id="a0bdb855c813c7d07a424009706fc8f0badc06f883f118f4890129663191c6c17f"></a>FAULTY_ADDRESS</em> </td><td>
227
<p><code>(EFAULT)</code> You passed in a pointer to bad memory. </p>
244
<tr><td class="fieldname"><em><a class="anchor" id="a0bdb855c813c7d07a424009706fc8f0badd3c96afe2ba945bb3560e16a9b93d59"></a>NOT_DEVICE</em> </td><td class="fielddoc">
245
<p>The underlying file system of the specified file does not support memory mapping. </p>
246
<p><code>(ENODEV)</code> This file is of a type that doesn't support mapping.</p>
251
<tr><td class="fieldname"><em><a class="anchor" id="a0bdb855c813c7d07a424009706fc8f0babeea9fce53d4885b4051984276f15a8b"></a>READONLY_FILESYSTEM</em> </td><td class="fielddoc">
252
<p>The directory containing the new link can't be modified because it's on a read-only file system. </p>
253
<p><code>(EROFS)</code> The directory containing the new link can't be modified because it's on a read-only file system.</p>
258
<tr><td class="fieldname"><em><a class="anchor" id="a0bdb855c813c7d07a424009706fc8f0ba7e4dc1f2fd34848b7bc3000c272e1372"></a>TEXT_FILE_BUSY</em> </td><td class="fielddoc">
259
<p>Text file busy. </p>
260
<p><code>(ETXTBSY)</code> Text file busy.</p>
265
<tr><td class="fieldname"><em><a class="anchor" id="a0bdb855c813c7d07a424009706fc8f0badc06f883f118f4890129663191c6c17f"></a>FAULTY_ADDRESS</em> </td><td class="fielddoc">
266
<p>You passed in a pointer to bad memory. </p>
267
<p><code>(EFAULT)</code> You passed in a pointer to bad memory.</p>
268
<p>(GLib won't reliably return this, don't pass in pointers to bad memory.)</p>
228
269
<p>(<a class="el" href="namespaceGlib.html">Glib</a> won't reliably return this, don't pass in pointers to bad memory.) <br/>
232
<tr><td valign="top"><em><a class="anchor" id="a0bdb855c813c7d07a424009706fc8f0ba162e633cd38eab5d522270c9a3ebcea2"></a>SYMLINK_LOOP</em> </td><td>
233
<p><code>(ELOOP)</code> Too many levels of symbolic links were encountered in looking up a file name. </p>
273
<tr><td class="fieldname"><em><a class="anchor" id="a0bdb855c813c7d07a424009706fc8f0ba162e633cd38eab5d522270c9a3ebcea2"></a>SYMLINK_LOOP</em> </td><td class="fielddoc">
274
<p>Too many levels of symbolic links were encountered in looking up a file name. </p>
275
<p><code>(ELOOP)</code> Too many levels of symbolic links were encountered in looking up a file name.</p>
276
<p>This often indicates a cycle of symbolic links.</p>
234
277
<p>This often indicates a cycle of symbolic links. <br/>
238
<tr><td valign="top"><em><a class="anchor" id="a0bdb855c813c7d07a424009706fc8f0bab01ef9f764fd9b893ce8642c41e767d8"></a>NO_SPACE_LEFT</em> </td><td>
239
<p><code>(ENOSPC)</code> No space left on device; write operation on a file failed because the disk is full. </p>
281
<tr><td class="fieldname"><em><a class="anchor" id="a0bdb855c813c7d07a424009706fc8f0bab01ef9f764fd9b893ce8642c41e767d8"></a>NO_SPACE_LEFT</em> </td><td class="fielddoc">
282
<p>No space left on device; write operation on a file failed because the disk is full. </p>
283
<p><code>(ENOSPC)</code> No space left on device; write operation on a file failed because the disk is full.</p>
244
<tr><td valign="top"><em><a class="anchor" id="a0bdb855c813c7d07a424009706fc8f0ba370079127964629a1632d9ddb9e1675e"></a>NOT_ENOUGH_MEMORY</em> </td><td>
245
<p><code>(ENOMEM)</code> No memory available. </p>
288
<tr><td class="fieldname"><em><a class="anchor" id="a0bdb855c813c7d07a424009706fc8f0ba370079127964629a1632d9ddb9e1675e"></a>NOT_ENOUGH_MEMORY</em> </td><td class="fielddoc">
289
<p>No memory available. </p>
290
<p><code>(ENOMEM)</code> No memory available.</p>
291
<p>The system cannot allocate more virtual memory because its capacity is full.</p>
246
292
<p>The system cannot allocate more virtual memory because its capacity is full. <br/>
250
<tr><td valign="top"><em><a class="anchor" id="a0bdb855c813c7d07a424009706fc8f0bae6695b16a229d85ed7fe04998ded8e69"></a>TOO_MANY_OPEN_FILES</em> </td><td>
251
<p><code>(EMFILE)</code> The current process has too many files open and can't open any more. </p>
296
<tr><td class="fieldname"><em><a class="anchor" id="a0bdb855c813c7d07a424009706fc8f0bae6695b16a229d85ed7fe04998ded8e69"></a>TOO_MANY_OPEN_FILES</em> </td><td class="fielddoc">
297
<p>The current process has too many files open and can't open any more. </p>
298
<p><code>(EMFILE)</code> The current process has too many files open and can't open any more.</p>
299
<p>Duplicate descriptors do count toward this limit.</p>
252
300
<p>Duplicate descriptors do count toward this limit. <br/>
256
<tr><td valign="top"><em><a class="anchor" id="a0bdb855c813c7d07a424009706fc8f0ba270fd5509672b5315c89ba895cf0a03b"></a>FILE_TABLE_OVERFLOW</em> </td><td>
257
<p><code>(ENFILE)</code> There are too many distinct file openings in the entire system. </p>
262
<tr><td valign="top"><em><a class="anchor" id="a0bdb855c813c7d07a424009706fc8f0ba4fc249f01958f2637485f137984a2ef5"></a>BAD_FILE_DESCRIPTOR</em> </td><td>
263
<p><code>(EBADF)</code> Bad file descriptor; for example, I/O on a descriptor that has been closed or reading from a descriptor open only for writing (or vice versa). </p>
268
<tr><td valign="top"><em><a class="anchor" id="a0bdb855c813c7d07a424009706fc8f0ba9c342ad59c861942248c7c4f9856ffa3"></a>INVALID_ARGUMENT</em> </td><td>
269
<p><code>(EINVAL)</code> Invalid argument. </p>
304
<tr><td class="fieldname"><em><a class="anchor" id="a0bdb855c813c7d07a424009706fc8f0ba270fd5509672b5315c89ba895cf0a03b"></a>FILE_TABLE_OVERFLOW</em> </td><td class="fielddoc">
305
<p>There are too many distinct file openings in the entire system. </p>
306
<p><code>(ENFILE)</code> There are too many distinct file openings in the entire system.</p>
311
<tr><td class="fieldname"><em><a class="anchor" id="a0bdb855c813c7d07a424009706fc8f0ba4fc249f01958f2637485f137984a2ef5"></a>BAD_FILE_DESCRIPTOR</em> </td><td class="fielddoc">
312
<p>Bad file descriptor; for example, I/O on a descriptor that has been closed or reading from a descriptor open only for writing (or vice versa). </p>
313
<p><code>(EBADF)</code> Bad file descriptor; for example, I/O on a descriptor that has been closed or reading from a descriptor open only for writing (or vice versa).</p>
318
<tr><td class="fieldname"><em><a class="anchor" id="a0bdb855c813c7d07a424009706fc8f0ba9c342ad59c861942248c7c4f9856ffa3"></a>INVALID_ARGUMENT</em> </td><td class="fielddoc">
319
<p>Invalid argument. </p>
320
<p><code>(EINVAL)</code> Invalid argument.</p>
321
<p>This is used to indicate various kinds of problems with passing the wrong argument to a library function.</p>
270
322
<p>This is used to indicate various kinds of problems with passing the wrong argument to a library function. <br/>
274
<tr><td valign="top"><em><a class="anchor" id="a0bdb855c813c7d07a424009706fc8f0ba7973f973a753e33f7334606a7b94a484"></a>BROKEN_PIPE</em> </td><td>
275
<p><code>(EPIPE)</code> Broken pipe; there is no process reading from the other end of a pipe. </p>
326
<tr><td class="fieldname"><em><a class="anchor" id="a0bdb855c813c7d07a424009706fc8f0ba7973f973a753e33f7334606a7b94a484"></a>BROKEN_PIPE</em> </td><td class="fielddoc">
327
<p>Broken pipe; there is no process reading from the other end of a pipe. </p>
328
<p><code>(EPIPE)</code> Broken pipe; there is no process reading from the other end of a pipe.</p>
329
<p>Every library function that returns this error code also generates a `SIGPIPE' signal; this signal terminates the program if not handled or blocked. Thus, your program will never actually see this code unless it has handled or blocked `SIGPIPE'.</p>
276
330
<p>Every library function that returns this error code also generates a <code>SIGPIPE</code> signal; this signal terminates the program if not handled or blocked. Thus, your program will never actually see this code unless it has handled or blocked <code>SIGPIPE</code>. <br/>
280
<tr><td valign="top"><em><a class="anchor" id="a0bdb855c813c7d07a424009706fc8f0ba394d8e382562d6a1d98eeb324f7bb3ef"></a>TRYAGAIN</em> </td><td>
281
<p><code>(EAGAIN)</code> Resource temporarily unavailable; the call might work if you try again later. </p>
334
<tr><td class="fieldname"><em><a class="anchor" id="a0bdb855c813c7d07a424009706fc8f0ba394d8e382562d6a1d98eeb324f7bb3ef"></a>TRYAGAIN</em> </td><td class="fielddoc">
335
<p>Resource temporarily unavailable; the call might work if you try again later. </p>
336
<p><code>(EAGAIN)</code> Resource temporarily unavailable; the call might work if you try again later.</p>
282
337
<p>We used TRYAGAIN instead of TRY_AGAIN, because that is a defined as a macro by a Unix header. <br/>
286
<tr><td valign="top"><em><a class="anchor" id="a0bdb855c813c7d07a424009706fc8f0badddd41967fb43bd5299d7ca081e1fb2f"></a>INTERRUPTED</em> </td><td>
287
<p><code>(EINTR)</code> Interrupted function call; an asynchronous signal occurred and prevented completion of the call. </p>
341
<tr><td class="fieldname"><em><a class="anchor" id="a0bdb855c813c7d07a424009706fc8f0badddd41967fb43bd5299d7ca081e1fb2f"></a>INTERRUPTED</em> </td><td class="fielddoc">
342
<p>Interrupted function call; an asynchronous signal occurred and prevented completion of the call. </p>
343
<p><code>(EINTR)</code> Interrupted function call; an asynchronous signal occurred and prevented completion of the call.</p>
344
<p>When this happens, you should try the call again.</p>
288
345
<p>When this happens, you should try the call again. <br/>
292
<tr><td valign="top"><em><a class="anchor" id="a0bdb855c813c7d07a424009706fc8f0ba9f036a8ebefce2b3e4d6212a81391f41"></a>IO_ERROR</em> </td><td>
293
<p><code>(EIO)</code> Input/output error; usually used for physical read or write errors. </p>
349
<tr><td class="fieldname"><em><a class="anchor" id="a0bdb855c813c7d07a424009706fc8f0ba9f036a8ebefce2b3e4d6212a81391f41"></a>IO_ERROR</em> </td><td class="fielddoc">
350
<p>Input/output error; usually used for physical read or write errors. </p>
351
<p><code>(EIO)</code> Input/output error; usually used for physical read or write errors.</p>
352
<p>i.e. the disk or other physical device hardware is returning errors.</p>
294
353
<p>I.e. the disk or other physical device hardware is returning errors. <br/>
298
<tr><td valign="top"><em><a class="anchor" id="a0bdb855c813c7d07a424009706fc8f0baa10eb3f9c67a9d359927839c800e9d62"></a>NOT_OWNER</em> </td><td>
299
<p><code>(EPERM)</code> Operation not permitted; only the owner of the file (or other resource) or processes with special privileges can perform the operation. </p>
357
<tr><td class="fieldname"><em><a class="anchor" id="a0bdb855c813c7d07a424009706fc8f0baa10eb3f9c67a9d359927839c800e9d62"></a>NOT_OWNER</em> </td><td class="fielddoc">
358
<p>Operation not permitted; only the owner of the file (or other resource) or processes with special privileges can perform the operation. </p>
359
<p><code>(EPERM)</code> Operation not permitted; only the owner of the file (or other resource) or processes with special privileges can perform the operation.</p>
304
<tr><td valign="top"><em><a class="anchor" id="a0bdb855c813c7d07a424009706fc8f0ba35c967e08b486a0e88197f5753d2df1a"></a>NOSYS</em> </td><td>
364
<tr><td class="fieldname"><em><a class="anchor" id="a0bdb855c813c7d07a424009706fc8f0ba35c967e08b486a0e88197f5753d2df1a"></a>NOSYS</em> </td><td class="fielddoc">
365
<p>Function not implemented; this indicates that the system is missing some functionality. </p>
306
<tr><td valign="top"><em><a class="anchor" id="a0bdb855c813c7d07a424009706fc8f0ba1ff00bae55bf88a6bd4f5c70b78324b9"></a>FAILED</em> </td><td>
367
<tr><td class="fieldname"><em><a class="anchor" id="a0bdb855c813c7d07a424009706fc8f0ba1ff00bae55bf88a6bd4f5c70b78324b9"></a>FAILED</em> </td><td class="fielddoc">
368
<p>Does not correspond to a UNIX error code; this is the standard "failed for unspecified reason" error code present in all <a class="el" href="classGlib_1_1Error.html">Error</a> error code enumerations. </p>
307
369
<p>Does not correspond to a UNIX error code; this is the standard "failed for
308
unspecified reason" error code present in all <a class="el" href="classGlib_1_1Error.html">Glib::Error</a> error code enumerations. </p>
370
unspecified reason" error code present in all <a class="el" href="classGlib_1_1Error.html">Glib::Error</a> error code enumerations.</p>
309
371
<p>Returned if no specific code applies. </p>