isposix

Un outil pour savoir si une commande est posix - retour accueil

git clone git://bebou.netlib.re/isposix
Log | Files | Refs | README |

unlink.html (7718B)


      1 <!-- Copyright 2001-2024 IEEE and The Open Group, All Rights Reserved -->
      2 <!DOCTYPE HTML>
      3 <html lang="en">
      4 <head>
      5 <meta name="generator" content="HTML Tidy for HTML5 for Linux version 5.8.0">
      6 <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
      7 <link type="text/css" rel="stylesheet" href="style.css"><!-- Generated by The Open Group rhtm tool v1.2.4 -->
      8 <!-- Copyright (c) 2001-2024 The Open Group, All Rights Reserved -->
      9 <title>unlink</title>
     10 </head>
     11 <body bgcolor="white">
     12 <div class="NAVHEADER">
     13 <table summary="Header navigation table" class="nav" width="100%" border="0" cellpadding="0" cellspacing="0">
     14 <tr class="nav">
     15 <td class="nav" width="15%" align="left" valign="bottom"><a href="../utilities/uniq.html" accesskey="P">&lt;&lt;&lt;
     16 Previous</a></td>
     17 <td class="nav" width="70%" align="center" valign="bottom"><a href="contents.html">Home</a></td>
     18 <td class="nav" width="15%" align="right" valign="bottom"><a href="../utilities/uucp.html" accesskey="N">Next &gt;&gt;&gt;</a></td>
     19 </tr>
     20 </table>
     21 <hr align="left" width="100%"></div>
     22 <script language="JavaScript" src="../jscript/codes.js"></script><basefont size="3">
     23 <center><font size="2">The Open Group Base Specifications Issue 8<br>
     24 IEEE Std 1003.1-2024<br>
     25 Copyright © 2001-2024 The IEEE and The Open Group</font></center>
     26 <hr size="2" noshade>
     27 <a name="top" id="top"></a> <a name="unlink" id="unlink"></a> <a name="tag_20_139" id="tag_20_139"></a><!-- unlink -->
     28 <h4 class="mansect"><a name="tag_20_139_01" id="tag_20_139_01"></a>NAME</h4>
     29 <blockquote>unlink — call the unlink function</blockquote>
     30 <h4 class="mansect"><a name="tag_20_139_02" id="tag_20_139_02"></a>SYNOPSIS</h4>
     31 <blockquote class="synopsis">
     32 <div class="box"><code><tt><sup>[<a href="javascript:open_code('XSI')">XSI</a>]</sup> <img src="../images/opt-start.gif" alt=
     33 "[Option Start]" border="0"> unlink</tt> <i>file</i> <tt><img src="../images/opt-end.gif" alt="[Option End]" border="0"></tt></code></div>
     34 </blockquote>
     35 <h4 class="mansect"><a name="tag_20_139_03" id="tag_20_139_03"></a>DESCRIPTION</h4>
     36 <blockquote>
     37 <p>The <i>unlink</i> utility shall perform the function call:</p>
     38 <pre>
     39 <tt>unlink(</tt><i>file</i><tt>);
     40 </tt></pre>
     41 <p>A user may need appropriate privileges to invoke the <i>unlink</i> utility.</p>
     42 </blockquote>
     43 <h4 class="mansect"><a name="tag_20_139_04" id="tag_20_139_04"></a>OPTIONS</h4>
     44 <blockquote>
     45 <p>None.</p>
     46 </blockquote>
     47 <h4 class="mansect"><a name="tag_20_139_05" id="tag_20_139_05"></a>OPERANDS</h4>
     48 <blockquote>
     49 <p>The following operands shall be supported:</p>
     50 <dl compact>
     51 <dd></dd>
     52 <dt><i>file</i></dt>
     53 <dd>The pathname of an existing file.</dd>
     54 </dl>
     55 </blockquote>
     56 <h4 class="mansect"><a name="tag_20_139_06" id="tag_20_139_06"></a>STDIN</h4>
     57 <blockquote>
     58 <p>Not used.</p>
     59 </blockquote>
     60 <h4 class="mansect"><a name="tag_20_139_07" id="tag_20_139_07"></a>INPUT FILES</h4>
     61 <blockquote>
     62 <p>Not used.</p>
     63 </blockquote>
     64 <h4 class="mansect"><a name="tag_20_139_08" id="tag_20_139_08"></a>ENVIRONMENT VARIABLES</h4>
     65 <blockquote>
     66 <p>The following environment variables shall affect the execution of <i>unlink</i>:</p>
     67 <dl compact>
     68 <dd></dd>
     69 <dt><i>LANG</i></dt>
     70 <dd>Provide a default value for the internationalization variables that are unset or null. (See XBD <a href=
     71 "../basedefs/V1_chap08.html#tag_08_02"><i>8.2 Internationalization Variables</i></a> for the precedence of internationalization
     72 variables used to determine the values of locale categories.)</dd>
     73 <dt><i>LC_ALL</i></dt>
     74 <dd>If set to a non-empty string value, override the values of all the other internationalization variables.</dd>
     75 <dt><i>LC_CTYPE</i></dt>
     76 <dd>Determine the locale for the interpretation of sequences of bytes of text data as characters (for example, single-byte as
     77 opposed to multi-byte characters in arguments).</dd>
     78 <dt><i>LC_MESSAGES</i></dt>
     79 <dd><br>
     80 Determine the locale that should be used to affect the format and contents of diagnostic messages written to standard error.</dd>
     81 <dt><i>NLSPATH</i></dt>
     82 <dd>Determine the location of messages objects and message catalogs.</dd>
     83 </dl>
     84 </blockquote>
     85 <h4 class="mansect"><a name="tag_20_139_09" id="tag_20_139_09"></a>ASYNCHRONOUS EVENTS</h4>
     86 <blockquote>
     87 <p>Default.</p>
     88 </blockquote>
     89 <h4 class="mansect"><a name="tag_20_139_10" id="tag_20_139_10"></a>STDOUT</h4>
     90 <blockquote>
     91 <p>None.</p>
     92 </blockquote>
     93 <h4 class="mansect"><a name="tag_20_139_11" id="tag_20_139_11"></a>STDERR</h4>
     94 <blockquote>
     95 <p>The standard error shall be used only for diagnostic messages.</p>
     96 </blockquote>
     97 <h4 class="mansect"><a name="tag_20_139_12" id="tag_20_139_12"></a>OUTPUT FILES</h4>
     98 <blockquote>
     99 <p>None.</p>
    100 </blockquote>
    101 <h4 class="mansect"><a name="tag_20_139_13" id="tag_20_139_13"></a>EXTENDED DESCRIPTION</h4>
    102 <blockquote>
    103 <p>None.</p>
    104 </blockquote>
    105 <h4 class="mansect"><a name="tag_20_139_14" id="tag_20_139_14"></a>EXIT STATUS</h4>
    106 <blockquote>
    107 <p>The following exit values shall be returned:</p>
    108 <dl compact>
    109 <dd></dd>
    110 <dt>&nbsp;0</dt>
    111 <dd>Successful completion.</dd>
    112 <dt>&gt;0</dt>
    113 <dd>An error occurred.</dd>
    114 </dl>
    115 </blockquote>
    116 <h4 class="mansect"><a name="tag_20_139_15" id="tag_20_139_15"></a>CONSEQUENCES OF ERRORS</h4>
    117 <blockquote>
    118 <p>Default.</p>
    119 </blockquote>
    120 <hr>
    121 <div class="box"><em>The following sections are informative.</em></div>
    122 <h4 class="mansect"><a name="tag_20_139_16" id="tag_20_139_16"></a>APPLICATION USAGE</h4>
    123 <blockquote>
    124 <p>None.</p>
    125 </blockquote>
    126 <h4 class="mansect"><a name="tag_20_139_17" id="tag_20_139_17"></a>EXAMPLES</h4>
    127 <blockquote>
    128 <p>None.</p>
    129 </blockquote>
    130 <h4 class="mansect"><a name="tag_20_139_18" id="tag_20_139_18"></a>RATIONALE</h4>
    131 <blockquote>
    132 <p>None.</p>
    133 </blockquote>
    134 <h4 class="mansect"><a name="tag_20_139_19" id="tag_20_139_19"></a>FUTURE DIRECTIONS</h4>
    135 <blockquote>
    136 <p>None.</p>
    137 </blockquote>
    138 <h4 class="mansect"><a name="tag_20_139_20" id="tag_20_139_20"></a>SEE ALSO</h4>
    139 <blockquote>
    140 <p><a href="../utilities/link.html#tag_20_66"><i>link</i></a> , <a href="../utilities/rm.html#"><i>rm</i></a></p>
    141 <p>XBD <a href="../basedefs/V1_chap08.html#tag_08"><i>8. Environment Variables</i></a></p>
    142 <p>XSH <a href="../functions/unlink.html#tag_17_649"><i>unlink</i></a></p>
    143 </blockquote>
    144 <h4 class="mansect"><a name="tag_20_139_21" id="tag_20_139_21"></a>CHANGE HISTORY</h4>
    145 <blockquote>
    146 <p>First released in Issue 5.</p>
    147 </blockquote>
    148 <h4 class="mansect"><a name="tag_20_139_22" id="tag_20_139_22"></a>Issue 8</h4>
    149 <blockquote>
    150 <p>Austin Group Defect 1122 is applied, changing the description of <i>NLSPATH .</i></p>
    151 </blockquote>
    152 <div class="box"><em>End of informative text.</em></div>
    153 <hr>
    154 <p>&nbsp;</p>
    155 <a href="#top"><span class="topOfPage">return to top of page</span></a><br>
    156 <hr size="2" noshade>
    157 <center><font size="2">UNIX® is a registered Trademark of The Open Group.<br>
    158 POSIX™ is a Trademark of The IEEE.<br>
    159 Copyright © 2001-2024 The IEEE and The Open Group, All Rights Reserved<br>
    160 [ <a href="../mindex.html">Main Index</a> | <a href="../basedefs/contents.html">XBD</a> | <a href=
    161 "../functions/contents.html">XSH</a> | <a href="../utilities/contents.html">XCU</a> | <a href="../xrat/contents.html">XRAT</a>
    162 ]</font></center>
    163 <hr size="2" noshade>
    164 <div class="NAVHEADER">
    165 <table summary="Header navigation table" class="nav" width="100%" border="0" cellpadding="0" cellspacing="0">
    166 <tr class="nav">
    167 <td class="nav" width="15%" align="left" valign="bottom"><a href="../utilities/uniq.html" accesskey="P">&lt;&lt;&lt;
    168 Previous</a></td>
    169 <td class="nav" width="70%" align="center" valign="bottom"><a href="contents.html">Home</a></td>
    170 <td class="nav" width="15%" align="right" valign="bottom"><a href="../utilities/uucp.html" accesskey="N">Next &gt;&gt;&gt;</a></td>
    171 </tr>
    172 </table>
    173 <hr align="left" width="100%"></div>
    174 </body>
    175 </html>