re26.html 4.7 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798
  1. <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
  2. <html>
  3. <head>
  4. <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
  5. <title>&lt;%GLibIOFlags&gt;: </title>
  6. <meta name="generator" content="DocBook XSL Stylesheets V1.79.2">
  7. <link rel="home" href="index.html" title="">
  8. <link rel="up" href="ch01.html" title="GLib">
  9. <link rel="prev" href="re25.html" title="&lt;%GLibIOError&gt;">
  10. <link rel="next" href="re27.html" title="&lt;%GLibIOStatus&gt;">
  11. <meta name="generator" content="GTK-Doc V1.33.1 (XML mode)">
  12. <link rel="stylesheet" href="style.css" type="text/css">
  13. </head>
  14. <body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
  15. <table class="navigation" id="top" width="100%" summary="Navigation header" cellpadding="2" cellspacing="5"><tr valign="middle">
  16. <td width="100%" align="left" class="shortcuts"></td>
  17. <td><a accesskey="h" href="index.html"><img src="home.png" width="16" height="16" border="0" alt="Home"></a></td>
  18. <td><img src="up-insensitive.png" width="16" height="16" border="0"></td>
  19. <td><a accesskey="p" href="re25.html"><img src="left.png" width="16" height="16" border="0" alt="Prev"></a></td>
  20. <td><a accesskey="n" href="re27.html"><img src="right.png" width="16" height="16" border="0" alt="Next"></a></td>
  21. </tr></table>
  22. <div class="refentry">
  23. <a name="id-1.1.27"></a><div class="titlepage"></div>
  24. <div class="refnamediv">
  25. <h2>&lt;%GLibIOFlags&gt;</h2>
  26. <p>&lt;%GLibIOFlags&gt;</p>
  27. </div>
  28. <div class="refsect1">
  29. <a name="id-1.1.27.2"></a><h2>Description</h2>
  30. <p>Specifies properties of a <span class="type">GIOChannel</span>. Some of the flags can only be
  31. read with <code class="function">g_io_channel_get_flags()</code>, but not changed with
  32. <code class="function">g_io_channel_set_flags()</code>.</p>
  33. </div>
  34. <div class="refsect1">
  35. <a name="id-1.1.27.3"></a><h2>Members</h2>
  36. <div class="refsect2">
  37. <a name="id-1.1.27.3.2"></a><h3>append</h3>
  38. <p class="remark"><em><span class="remark">alias <code class="code">G_IO_FLAG_APPEND</code></span></em></p>
  39. <p>turns on append mode, corresponds to <code class="constant">O_APPEND</code>
  40. (see the documentation of the UNIX <code class="function">open()</code> syscall)</p>
  41. </div>
  42. <div class="refsect2">
  43. <a name="id-1.1.27.3.3"></a><h3>nonblock</h3>
  44. <p class="remark"><em><span class="remark">alias <code class="code">G_IO_FLAG_NONBLOCK</code></span></em></p>
  45. <p>turns on nonblocking mode, corresponds to
  46. <code class="constant">O_NONBLOCK</code>/<code class="constant">O_NDELAY</code> (see the documentation of the UNIX <code class="function">open()</code>
  47. syscall)</p>
  48. </div>
  49. <div class="refsect2">
  50. <a name="id-1.1.27.3.4"></a><h3>is-readable</h3>
  51. <p class="remark"><em><span class="remark">alias <code class="code">G_IO_FLAG_IS_READABLE</code></span></em></p>
  52. <p>indicates that the io channel is readable.
  53. This flag cannot be changed.</p>
  54. </div>
  55. <div class="refsect2">
  56. <a name="id-1.1.27.3.5"></a><h3>is-writable</h3>
  57. <p class="remark"><em><span class="remark">alias <code class="code">G_IO_FLAG_IS_WRITABLE</code></span></em></p>
  58. <p>indicates that the io channel is writable.
  59. This flag cannot be changed.</p>
  60. </div>
  61. <div class="refsect2">
  62. <a name="id-1.1.27.3.6"></a><h3>is-writeable</h3>
  63. <p class="remark"><em><span class="remark">alias <code class="code">G_IO_FLAG_IS_WRITEABLE</code></span></em></p>
  64. <p>a misspelled version of <em class="parameter"><code>G_IO_FLAG_IS_WRITABLE</code></em>
  65. that existed before the spelling was fixed in GLib 2.30. It is kept
  66. here for compatibility reasons. Deprecated since 2.30</p>
  67. </div>
  68. <div class="refsect2">
  69. <a name="id-1.1.27.3.7"></a><h3>is-seekable</h3>
  70. <p class="remark"><em><span class="remark">alias <code class="code">G_IO_FLAG_IS_SEEKABLE</code></span></em></p>
  71. <p>indicates that the io channel is seekable,
  72. i.e. that <code class="function">g_io_channel_seek_position()</code> can be used on it.
  73. This flag cannot be changed.</p>
  74. </div>
  75. <div class="refsect2">
  76. <a name="id-1.1.27.3.8"></a><h3>mask</h3>
  77. <p class="remark"><em><span class="remark">alias <code class="code">G_IO_FLAG_MASK</code></span></em></p>
  78. <p>the mask that specifies all the valid flags.</p>
  79. </div>
  80. <div class="refsect2">
  81. <a name="id-1.1.27.3.9"></a><h3>get-mask</h3>
  82. <p class="remark"><em><span class="remark">alias <code class="code">G_IO_FLAG_GET_MASK</code></span></em></p>
  83. <p>the mask of the flags that are returned from
  84. <code class="function">g_io_channel_get_flags()</code></p>
  85. </div>
  86. <div class="refsect2">
  87. <a name="id-1.1.27.3.10"></a><h3>set-mask</h3>
  88. <p class="remark"><em><span class="remark">alias <code class="code">G_IO_FLAG_SET_MASK</code></span></em></p>
  89. <p>the mask of the flags that the user can modify
  90. with <code class="function">g_io_channel_set_flags()</code></p>
  91. </div>
  92. </div>
  93. </div>
  94. <div class="footer">
  95. <hr>Generated by GTK-Doc V1.33.1</div>
  96. </body>
  97. </html>