i_002fo-Errors.html 3.9 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162
  1. <html lang="en">
  2. <head>
  3. <title>i/o Errors - avram - a virtual machine code interpreter</title>
  4. <meta http-equiv="Content-Type" content="text/html">
  5. <meta name="description" content="avram - a virtual machine code interpreter">
  6. <meta name="generator" content="makeinfo 4.13">
  7. <link title="Top" rel="start" href="index.html#Top">
  8. <link rel="up" href="Diagnostics.html#Diagnostics" title="Diagnostics">
  9. <link rel="prev" href="Internal-Errors.html#Internal-Errors" title="Internal Errors">
  10. <link rel="next" href="Overflow-Errors.html#Overflow-Errors" title="Overflow Errors">
  11. <link href="http://www.gnu.org/software/texinfo/" rel="generator-home" title="Texinfo Homepage">
  12. <meta http-equiv="Content-Style-Type" content="text/css">
  13. <style type="text/css"><!--
  14. pre.display { font-family:inherit }
  15. pre.format { font-family:inherit }
  16. pre.smalldisplay { font-family:inherit; font-size:smaller }
  17. pre.smallformat { font-family:inherit; font-size:smaller }
  18. pre.smallexample { font-size:smaller }
  19. pre.smalllisp { font-size:smaller }
  20. span.sc { font-variant:small-caps }
  21. span.roman { font-family:serif; font-weight:normal; }
  22. span.sansserif { font-family:sans-serif; font-weight:normal; }
  23. --></style>
  24. </head>
  25. <body>
  26. <div class="node">
  27. <a name="i%2fo-Errors"></a>
  28. <a name="i_002fo-Errors"></a>
  29. <p>
  30. Next:&nbsp;<a rel="next" accesskey="n" href="Overflow-Errors.html#Overflow-Errors">Overflow Errors</a>,
  31. Previous:&nbsp;<a rel="previous" accesskey="p" href="Internal-Errors.html#Internal-Errors">Internal Errors</a>,
  32. Up:&nbsp;<a rel="up" accesskey="u" href="Diagnostics.html#Diagnostics">Diagnostics</a>
  33. <hr>
  34. </div>
  35. <h4 class="subsection">1.6.2 i/o Errors</h4>
  36. <p><a name="index-i_002fo-errors-59"></a>These error messages are prefaced with the name of the
  37. application. A further explanation as to the
  38. <a name="index-g_t_0040code_007bstrerror_007d-60"></a>reason, obtained from the standard <code>strerror()</code> utility, is
  39. appended to the messages below if possible.
  40. <dl>
  41. <dt><var>application-name</var><code>: can't read </code><var>filename</var><dd><a name="index-file-names-61"></a><a name="index-g_t_0040code_007bcan_0027t-read_007d-62"></a><a name="index-environment-63"></a><a name="index-g_t_0040code_007bAVMINPUTS_007d-64"></a>A file was not able to be opened for reading, typically because it was
  42. not found or because the user does not have permission. The file name is
  43. displayed with special characters expanded but without any default
  44. extensions or search paths that may have been tried. If you think a file
  45. exists and should have been found, there may be a problem with your
  46. <samp><span class="env">AVMINPUTS</span></samp> environment variable (<a href="Environment.html#Environment">Environment</a>).
  47. <br><dt><var>application-name</var><code>: can't write </code><var>filename</var><dd><a name="index-g_t_0040code_007bcan_0027t-write_007d-65"></a>A file was not able to be opened for writing.
  48. <br><dt><var>application-name</var><code>: can't write to </code><var>filename</var><dd>A file was successfully opened for writing but became impossible to
  49. write thereafter.
  50. <br><dt><var>application-name</var><code>: can't spawn </code><var>command</var><dd><a name="index-shell-66"></a><a name="index-expect-67"></a><a name="index-libexpect-68"></a><a name="index-g_t_0040code_007bcan_0027t-spawn_007d-69"></a><a name="index-g_t_0040code_007bexp_005fpopen_007d-70"></a><a name="index-spawning-processes-71"></a>An attempt to execute a shell command on behalf of an interactive
  51. application failed during the <code>exp_popen()</code> call to the
  52. <code>libexpect</code> library.
  53. <br><dt><var>application-name</var><code>: can't close </code><var>filename</var><dd><a name="index-g_t_0040code_007bcan_0027t-close_007d-72"></a>A call to the standard C procedure <code>fclose()</code> failed due to
  54. unforeseen circumstances. The error is non-fatal but the file should be
  55. checked for missing data.
  56. </dl>
  57. </body></html>