HEX
Server: Apache
System: Windows NT MAGNETO-ARM 10.0 build 22000 (Windows 10) AMD64
User: Michel (0)
PHP: 7.4.7
Disabled: NONE
Upload Files
File: C:/Ruby27-x64/share/doc/ruby/html/File/File/Constants.html
<!DOCTYPE html>

<html>
<head>
<meta charset="UTF-8">

<title>module File::File::Constants - RDoc Documentation</title>

<script type="text/javascript">
  var rdoc_rel_prefix = "../../";
  var index_rel_prefix = "../../";
</script>

<script src="../../js/navigation.js" defer></script>
<script src="../../js/search.js" defer></script>
<script src="../../js/search_index.js" defer></script>
<script src="../../js/searcher.js" defer></script>
<script src="../../js/darkfish.js" defer></script>

<link href="../../css/fonts.css" rel="stylesheet">
<link href="../../css/rdoc.css" rel="stylesheet">




<body id="top" role="document" class="module">
<nav role="navigation">
  <div id="project-navigation">
    <div id="home-section" role="region" title="Quick navigation" class="nav-section">
  <h2>
    <a href="../../index.html" rel="home">Home</a>
  </h2>

  <div id="table-of-contents-navigation">
    <a href="../../table_of_contents.html#pages">Pages</a>
    <a href="../../table_of_contents.html#classes">Classes</a>
    <a href="../../table_of_contents.html#methods">Methods</a>
  </div>
</div>

    <div id="search-section" role="search" class="project-section initially-hidden">
  <form action="#" method="get" accept-charset="utf-8">
    <div id="search-field-wrapper">
      <input id="search-field" role="combobox" aria-label="Search"
             aria-autocomplete="list" aria-controls="search-results"
             type="text" name="search" placeholder="Search" spellcheck="false"
             title="Type to search, Up and Down to navigate, Enter to load">
    </div>

    <ul id="search-results" aria-label="Search Results"
        aria-busy="false" aria-expanded="false"
        aria-atomic="false" class="initially-hidden"></ul>
  </form>
</div>

  </div>

  

  <div id="class-metadata">
    
    
    
    
    
  </div>
</nav>

<main role="main" aria-labelledby="module-File::File::Constants">
  <h1 id="module-File::File::Constants" class="module">
    module File::File::Constants
  </h1>

  <section class="description">
    
<p>Document-module: <a href="Constants.html"><code>File::Constants</code></a></p>

<p><a href="Constants.html"><code>File::Constants</code></a> provides file-related constants.  All possible file constants are listed in the documentation but they may not all be present on your platform.</p>

<p>If the underlying platform doesn&#39;t define a constant the corresponding Ruby constant is not defined.</p>

<p>Your platform documentations (e.g. man open(2)) may describe more detailed information.</p>

  </section>

  
  <section id="5Buntitled-5D" class="documentation-section">
    

    

    
    <section class="constants-list">
      <header>
        <h3>Constants</h3>
      </header>
      <dl>
      
        <dt id="APPEND">APPEND
        
        <dd><p>append on each write</p>
        
      
        <dt id="BINARY">BINARY
        
        <dd><p>disable line code conversion</p>
        
      
        <dt id="CREAT">CREAT
        
        <dd><p>create file if it does not exist</p>
        
      
        <dt id="DIRECT">DIRECT
        
        <dd><p>Try to minimize cache effects of the I/O to and from this file.</p>
        
      
        <dt id="DSYNC">DSYNC
        
        <dd><p>any write operation perform synchronously except some meta data</p>
        
      
        <dt id="EXCL">EXCL
        
        <dd><p>error if <a href="Constants.html#CREAT"><code>CREAT</code></a> and the file exists</p>
        
      
        <dt id="FNM_CASEFOLD">FNM_CASEFOLD
        
        <dd><p>Makes <a href="../../File.html#method-c-fnmatch"><code>File.fnmatch</code></a> patterns case insensitive (but not <a href="../../Dir.html#method-c-glob"><code>Dir.glob</code></a> patterns).</p>
        
      
        <dt id="FNM_DOTMATCH">FNM_DOTMATCH
        
        <dd><p>The &#39;*&#39; wildcard matches filenames starting with “.” in <a href="../../File.html#method-c-fnmatch"><code>File.fnmatch</code></a> and <a href="../../Dir.html#method-c-glob"><code>Dir.glob</code></a> patterns</p>
        
      
        <dt id="FNM_EXTGLOB">FNM_EXTGLOB
        
        <dd><p>Allows file globbing through “{a,b}” in <a href="../../File.html#method-c-fnmatch"><code>File.fnmatch</code></a> patterns.</p>
        
      
        <dt id="FNM_NOESCAPE">FNM_NOESCAPE
        
        <dd><p>Disables escapes in <a href="../../File.html#method-c-fnmatch"><code>File.fnmatch</code></a> and <a href="../../Dir.html#method-c-glob"><code>Dir.glob</code></a> patterns</p>
        
      
        <dt id="FNM_PATHNAME">FNM_PATHNAME
        
        <dd><p>Wildcards in <a href="../../File.html#method-c-fnmatch"><code>File.fnmatch</code></a> and <a href="../../Dir.html#method-c-glob"><code>Dir.glob</code></a> patterns do not match directory separators</p>
        
      
        <dt id="FNM_SHORTNAME">FNM_SHORTNAME
        
        <dd><p>Makes patterns to match short names if existing.  Valid only on Microsoft Windows.</p>
        
      
        <dt id="FNM_SYSCASE">FNM_SYSCASE
        
        <dd><p>System default case insensitiveness, equals to <a href="Constants.html#FNM_CASEFOLD"><code>FNM_CASEFOLD</code></a> or 0.</p>
        
      
        <dt id="LOCK_EX">LOCK_EX
        
        <dd><p>exclusive lock. see <a href="../../File.html#method-i-flock"><code>File#flock</code></a></p>
        
      
        <dt id="LOCK_NB">LOCK_NB
        
        <dd><p>non-blocking lock. used with <a href="Constants.html#LOCK_SH"><code>LOCK_SH</code></a> or <a href="Constants.html#LOCK_EX"><code>LOCK_EX</code></a>. see <a href="../../File.html#method-i-flock"><code>File#flock</code></a> </p>
        
      
        <dt id="LOCK_SH">LOCK_SH
        
        <dd><p>shared lock. see <a href="../../File.html#method-i-flock"><code>File#flock</code></a></p>
        
      
        <dt id="LOCK_UN">LOCK_UN
        
        <dd><p>unlock. see <a href="../../File.html#method-i-flock"><code>File#flock</code></a></p>
        
      
        <dt id="NOATIME">NOATIME
        
        <dd><p>do not change atime</p>
        
      
        <dt id="NOCTTY">NOCTTY
        
        <dd><p>not to make opened <a href="../../IO.html"><code>IO</code></a> the controlling terminal device</p>
        
      
        <dt id="NOFOLLOW">NOFOLLOW
        
        <dd><p>do not follow symlinks</p>
        
      
        <dt id="NONBLOCK">NONBLOCK
        
        <dd><p>do not block on open or for data to become available</p>
        
      
        <dt id="NULL">NULL
        
        <dd><p>Name of the null device</p>
        
      
        <dt id="RDONLY">RDONLY
        
        <dd><p>open for reading only</p>
        
      
        <dt id="RDWR">RDWR
        
        <dd><p>open for reading and writing</p>
        
      
        <dt id="RSYNC">RSYNC
        
        <dd><p>any read operation perform synchronously. used with <a href="Constants.html#SYNC"><code>SYNC</code></a> or <a href="Constants.html#DSYNC"><code>DSYNC</code></a>.</p>
        
      
        <dt id="SHARE_DELETE">SHARE_DELETE
        
        <dd><p>can delete opened file</p>
        
      
        <dt id="SYNC">SYNC
        
        <dd><p>any write operation perform synchronously</p>
        
      
        <dt id="TMPFILE">TMPFILE
        
        <dd><p>Create an unnamed temporary file</p>
        
      
        <dt id="TRUNC">TRUNC
        
        <dd><p>truncate size to 0</p>
        
      
        <dt id="WRONLY">WRONLY
        
        <dd><p>open for writing only</p>
        
      
      </dl>
    </section>
    

    

    
  </section>

</main>


<footer id="validator-badges" role="contentinfo">
  <p><a href="https://validator.w3.org/check/referer">Validate</a>
  <p>Generated by <a href="https://ruby.github.io/rdoc/">RDoc</a> 6.2.1.1.
  <p>Based on <a href="http://deveiate.org/projects/Darkfish-RDoc/">Darkfish</a> by <a href="http://deveiate.org">Michael Granger</a>.
</footer>