[ < ] | [ > ] | [ << ] | [ Up ] | [ >> ] | [Top] | [Contents] | [Index] | [ ? ] |
unlink
: Remove files via the unlink syscall
unlink
deletes a single specified file name.
It is a minimalist interface to the system-provided
unlink
function. See section `Deleting Files' in The GNU C Library Reference Manual. Synopsis:
unlink filename |
On some systems unlink
can be used to delete the name of a
directory. On others, it can be used that way only by a privileged user.
In the GNU system unlink
can never delete the name of a directory.
By default, unlink
honors the `--help' and `--version'
options. That makes it a little harder to remove files named
--help
and --version
, so when the environment variable
POSIXLY_CORRECT
is set, unlink
treats such a command line
arguments not as an option, but as an operand.