logo

oasis-root

Compiled tree of Oasis Linux based on own branch at <https://hacktivis.me/git/oasis/> git clone https://anongit.hacktivis.me/git/oasis-root.git

unlink.1p (3418B)


  1. '\" et
  2. .TH UNLINK "1P" 2017 "IEEE/The Open Group" "POSIX Programmer's Manual"
  3. .\"
  4. .SH PROLOG
  5. This manual page is part of the POSIX Programmer's Manual.
  6. The Linux implementation of this interface may differ (consult
  7. the corresponding Linux manual page for details of Linux behavior),
  8. or the interface may not be implemented on Linux.
  9. .\"
  10. .SH NAME
  11. unlink
  12. \(em call the
  13. \fIunlink\fR()
  14. function
  15. .SH SYNOPSIS
  16. .LP
  17. .nf
  18. unlink \fIfile\fP
  19. .fi
  20. .SH DESCRIPTION
  21. The
  22. .IR unlink
  23. utility shall perform the function call:
  24. .sp
  25. .RS 4
  26. .nf
  27. unlink(\fIfile\fP);
  28. .fi
  29. .P
  30. .RE
  31. .P
  32. A user may need appropriate privileges to invoke the
  33. .IR unlink
  34. utility.
  35. .SH OPTIONS
  36. None.
  37. .SH OPERANDS
  38. The following operands shall be supported:
  39. .IP "\fIfile\fP" 10
  40. The pathname of an existing file.
  41. .SH STDIN
  42. Not used.
  43. .SH "INPUT FILES"
  44. Not used.
  45. .SH "ENVIRONMENT VARIABLES"
  46. The following environment variables shall affect the execution of
  47. .IR unlink :
  48. .IP "\fILANG\fP" 10
  49. Provide a default value for the internationalization variables that are
  50. unset or null. (See the Base Definitions volume of POSIX.1\(hy2017,
  51. .IR "Section 8.2" ", " "Internationalization Variables"
  52. for the precedence of internationalization variables used to determine
  53. the values of locale categories.)
  54. .IP "\fILC_ALL\fP" 10
  55. If set to a non-empty string value, override the values of all the
  56. other internationalization variables.
  57. .IP "\fILC_CTYPE\fP" 10
  58. Determine the locale for the interpretation of sequences of bytes of
  59. text data as characters (for example, single-byte as opposed to
  60. multi-byte characters in arguments).
  61. .IP "\fILC_MESSAGES\fP" 10
  62. .br
  63. Determine the locale that should be used to affect the format and
  64. contents of diagnostic messages written to standard error.
  65. .IP "\fINLSPATH\fP" 10
  66. Determine the location of message catalogs for the processing of
  67. .IR LC_MESSAGES .
  68. .SH "ASYNCHRONOUS EVENTS"
  69. Default.
  70. .SH STDOUT
  71. None.
  72. .SH STDERR
  73. The standard error shall be used only for diagnostic messages.
  74. .SH "OUTPUT FILES"
  75. None.
  76. .SH "EXTENDED DESCRIPTION"
  77. None.
  78. .SH "EXIT STATUS"
  79. The following exit values shall be returned:
  80. .IP "\00" 6
  81. Successful completion.
  82. .IP >0 6
  83. An error occurred.
  84. .SH "CONSEQUENCES OF ERRORS"
  85. Default.
  86. .LP
  87. .IR "The following sections are informative."
  88. .SH "APPLICATION USAGE"
  89. None.
  90. .SH EXAMPLES
  91. None.
  92. .SH RATIONALE
  93. None.
  94. .SH "FUTURE DIRECTIONS"
  95. None.
  96. .SH "SEE ALSO"
  97. .IR "\fIlink\fR\^",
  98. .IR "\fIrm\fR\^"
  99. .P
  100. The Base Definitions volume of POSIX.1\(hy2017,
  101. .IR "Chapter 8" ", " "Environment Variables"
  102. .P
  103. The System Interfaces volume of POSIX.1\(hy2017,
  104. .IR "\fIunlink\fR\^(\|)"
  105. .\"
  106. .SH COPYRIGHT
  107. Portions of this text are reprinted and reproduced in electronic form
  108. from IEEE Std 1003.1-2017, Standard for Information Technology
  109. -- Portable Operating System Interface (POSIX), The Open Group Base
  110. Specifications Issue 7, 2018 Edition,
  111. Copyright (C) 2018 by the Institute of
  112. Electrical and Electronics Engineers, Inc and The Open Group.
  113. In the event of any discrepancy between this version and the original IEEE and
  114. The Open Group Standard, the original IEEE and The Open Group Standard
  115. is the referee document. The original Standard can be obtained online at
  116. http://www.opengroup.org/unix/online.html .
  117. .PP
  118. Any typographical or formatting errors that appear
  119. in this page are most likely
  120. to have been introduced during the conversion of the source files to
  121. man page format. To report such errors, see
  122. https://www.kernel.org/doc/man-pages/reporting_bugs.html .