re18.html 3.2 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768
  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;%GLibFileTest&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="re17.html" title="&lt;%GLibFileSetContentsFlags&gt;">
  10. <link rel="next" href="re19.html" title="&lt;%GLibFormatSizeFlags&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="re17.html"><img src="left.png" width="16" height="16" border="0" alt="Prev"></a></td>
  20. <td><a accesskey="n" href="re19.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.19"></a><div class="titlepage"></div>
  24. <div class="refnamediv">
  25. <h2>&lt;%GLibFileTest&gt;</h2>
  26. <p>&lt;%GLibFileTest&gt;</p>
  27. </div>
  28. <div class="refsect1">
  29. <a name="id-1.1.19.2"></a><h2>Description</h2>
  30. <p>A test to perform on a file using <code class="function">g_file_test()</code>.</p>
  31. </div>
  32. <div class="refsect1">
  33. <a name="id-1.1.19.3"></a><h2>Members</h2>
  34. <div class="refsect2">
  35. <a name="id-1.1.19.3.2"></a><h3>is-regular</h3>
  36. <p class="remark"><em><span class="remark">alias <code class="code">G_FILE_TEST_IS_REGULAR</code></span></em></p>
  37. <p><code class="constant">TRUE</code> if the file is a regular file
  38. (not a directory). Note that this test will also return <code class="constant">TRUE</code>
  39. if the tested file is a symlink to a regular file.</p>
  40. </div>
  41. <div class="refsect2">
  42. <a name="id-1.1.19.3.3"></a><h3>is-symlink</h3>
  43. <p class="remark"><em><span class="remark">alias <code class="code">G_FILE_TEST_IS_SYMLINK</code></span></em></p>
  44. <p><code class="constant">TRUE</code> if the file is a symlink.</p>
  45. </div>
  46. <div class="refsect2">
  47. <a name="id-1.1.19.3.4"></a><h3>is-dir</h3>
  48. <p class="remark"><em><span class="remark">alias <code class="code">G_FILE_TEST_IS_DIR</code></span></em></p>
  49. <p><code class="constant">TRUE</code> if the file is a directory.</p>
  50. </div>
  51. <div class="refsect2">
  52. <a name="id-1.1.19.3.5"></a><h3>is-executable</h3>
  53. <p class="remark"><em><span class="remark">alias <code class="code">G_FILE_TEST_IS_EXECUTABLE</code></span></em></p>
  54. <p><code class="constant">TRUE</code> if the file is executable.</p>
  55. </div>
  56. <div class="refsect2">
  57. <a name="id-1.1.19.3.6"></a><h3>exists</h3>
  58. <p class="remark"><em><span class="remark">alias <code class="code">G_FILE_TEST_EXISTS</code></span></em></p>
  59. <p><code class="constant">TRUE</code> if the file exists. It may or may not
  60. be a regular file.</p>
  61. </div>
  62. </div>
  63. </div>
  64. <div class="footer">
  65. <hr>Generated by GTK-Doc V1.33.1</div>
  66. </body>
  67. </html>