Edit D:\app\Administrator\product\11.2.0\dbhome_1\perl\html\lib\Fcntl.html
<?xml version="1.0" ?> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <title>Fcntl - load the C Fcntl.h defines</title> <meta http-equiv="content-type" content="text/html; charset=utf-8" /> <link rev="made" href="mailto:" /> </head> <body style="background-color: white"> <table border="0" width="100%" cellspacing="0" cellpadding="3"> <tr><td class="block" style="background-color: #cccccc" valign="middle"> <big><strong><span class="block"> Fcntl - load the C Fcntl.h defines</span></strong></big> </td></tr> </table> <!-- INDEX BEGIN --> <div name="index"> <p><a name="__index__"></a></p> <ul> <li><a href="#name">NAME</a></li> <li><a href="#synopsis">SYNOPSIS</a></li> <li><a href="#description">DESCRIPTION</a></li> <li><a href="#note">NOTE</a></li> <li><a href="#exported_symbols">EXPORTED SYMBOLS</a></li> </ul> <hr name="index" /> </div> <!-- INDEX END --> <p> </p> <h1><a name="name">NAME</a></h1> <p>Fcntl - load the C Fcntl.h defines</p> <p> </p> <hr /> <h1><a name="synopsis">SYNOPSIS</a></h1> <pre> use Fcntl; use Fcntl qw(:DEFAULT :flock);</pre> <p> </p> <hr /> <h1><a name="description">DESCRIPTION</a></h1> <p>This module is just a translation of the C <em class="file">fcntl.h</em> file. Unlike the old mechanism of requiring a translated <em class="file">fcntl.ph</em> file, this uses the <strong>h2xs</strong> program (see the Perl source distribution) and your native C compiler. This means that it has a far more likely chance of getting the numbers right.</p> <p> </p> <hr /> <h1><a name="note">NOTE</a></h1> <p>Only <code>#define</code> symbols get translated; you must still correctly pack up your own arguments to pass as args for locking functions, etc.</p> <p> </p> <hr /> <h1><a name="exported_symbols">EXPORTED SYMBOLS</a></h1> <p>By default your system's F_* and O_* constants (eg, F_DUPFD and O_CREAT) and the FD_CLOEXEC constant are exported into your namespace.</p> <p>You can request that the <a href="file://C|\ADE\aime_smenon_perl_090715\perl\html/pod/perlfunc.html#flock"><code>flock()</code></a> constants (LOCK_SH, LOCK_EX, LOCK_NB and LOCK_UN) be provided by using the tag <a href="file://C|\ADE\aime_smenon_perl_090715\perl\html/pod/perlfunc.html#flock"><code>:flock</code></a>. See <a href="file://C|\ADE\aime_smenon_perl_090715\perl\html/lib/Exporter.html">the Exporter manpage</a>.</p> <p>You can request that the old constants (FAPPEND, FASYNC, FCREAT, FDEFER, FEXCL, FNDELAY, FNONBLOCK, FSYNC, FTRUNC) be provided for compatibility reasons by using the tag <code>:Fcompat</code>. For new applications the newer versions of these constants are suggested (O_APPEND, O_ASYNC, O_CREAT, O_DEFER, O_EXCL, O_NDELAY, O_NONBLOCK, O_SYNC, O_TRUNC).</p> <p>For ease of use also the SEEK_* constants (for <a href="file://C|\ADE\aime_smenon_perl_090715\perl\html/pod/perlfunc.html#seek"><code>seek()</code></a> and <a href="file://C|\ADE\aime_smenon_perl_090715\perl\html/pod/perlfunc.html#sysseek"><code>sysseek()</code></a>, e.g. SEEK_END) and the S_I* constants (for <a href="file://C|\ADE\aime_smenon_perl_090715\perl\html/pod/perlfunc.html#chmod"><code>chmod()</code></a> and stat()) are available for import. They can be imported either separately or using the tags <a href="file://C|\ADE\aime_smenon_perl_090715\perl\html/pod/perlfunc.html#seek"><code>:seek</code></a> and <code>:mode</code>.</p> <p>Please refer to your native <a href="file://C|\ADE\aime_smenon_perl_090715\perl\html/pod/perlfunc.html#fcntl"><code>fcntl(2)</code></a>, <a href="file://C|\ADE\aime_smenon_perl_090715\perl\html/pod/perlfunc.html#open"><code>open(2)</code></a>, <code>fseek(3)</code>, <code>lseek(2)</code> (equal to Perl's <a href="file://C|\ADE\aime_smenon_perl_090715\perl\html/pod/perlfunc.html#seek"><code>seek()</code></a> and <a href="file://C|\ADE\aime_smenon_perl_090715\perl\html/pod/perlfunc.html#sysseek"><code>sysseek()</code></a>, respectively), and <a href="file://C|\ADE\aime_smenon_perl_090715\perl\html/pod/perlfunc.html#chmod"><code>chmod(2)</code></a> documentation to see what constants are implemented in your system.</p> <p>See <a href="file://C|\ADE\aime_smenon_perl_090715\perl\html/pod/perlopentut.html">the perlopentut manpage</a> to learn about the uses of the O_* constants with <a href="file://C|\ADE\aime_smenon_perl_090715\perl\html/pod/perlfunc.html#sysopen"><code>sysopen()</code></a>.</p> <p>See <a href="file://C|\ADE\aime_smenon_perl_090715\perl\html/pod/perlfunc.html#seek">seek in the perlfunc manpage</a> and <a href="file://C|\ADE\aime_smenon_perl_090715\perl\html/pod/perlfunc.html#sysseek">sysseek in the perlfunc manpage</a> about the SEEK_* constants.</p> <p>See <a href="file://C|\ADE\aime_smenon_perl_090715\perl\html/pod/perlfunc.html#stat">stat in the perlfunc manpage</a> about the S_I* constants.</p> <table border="0" width="100%" cellspacing="0" cellpadding="3"> <tr><td class="block" style="background-color: #cccccc" valign="middle"> <big><strong><span class="block"> Fcntl - load the C Fcntl.h defines</span></strong></big> </td></tr> </table> </body> </html>
Ms-Dos/Windows
Unix
Write backup
jsp File Browser version 1.2 by
www.vonloesch.de