Difference between revisions of "Ns unlink"
Jump to navigation
Jump to search
(Copied from http://www.aolserver.com/docs/devel/tcl/api/file.html#ns_unlink) |
(No difference)
|
Latest revision as of 15:49, 28 September 2006
NAME
- ns_unlink - Remove a file
SYNOPSIS
- ns_unlink ?-nocomplain? filename
DESCRIPTION
- This command attempts to remove the file filename. If -nocomplain is not passed in and the removal fails, a Tcl error is generated.
- This is a legacy command from when Tcl did not have this functionality. It is now recommended you use Tcl's file delete command instead. In other words, this:
ns_unlink /tmp/foo
is equivalent to:
file delete /tmp/foo
EXAMPLES
# can't think of a non-trivial example here
SEE ALSO