unlink
no way to compare when less than two revisions
Differences
This shows you the differences between two versions of the page.
— | unlink [2007/03/02 02:32] (current) – created - external edit 127.0.0.1 | ||
---|---|---|---|
Line 1: | Line 1: | ||
+ | # $EPIC: unlink.txt, | ||
+ | ======Synopsis: | ||
+ | $__unlink__(%%< | ||
+ | |||
+ | ======Technical: | ||
+ | The %%< | ||
+ | from most function arguments. | ||
+ | |||
+ | This function is roughly equivalent to the C library unlink() call. It | ||
+ | deletes the given files from the filesystem. | ||
+ | expansion is permitted. | ||
+ | |||
+ | ======Practical: | ||
+ | This function is used to delete files. | ||
+ | remove old client log files. | ||
+ | converted to the user's home directory. | ||
+ | |||
+ | ======Returns: | ||
+ | < | ||
+ | | ||
+ | >0 number of files that could ======not====== be unlinked | ||
+ | </ | ||
+ | |||
+ | ======Examples: | ||
+ | < | ||
+ | $unlink(~/ | ||
+ | $unlink(/ | ||
+ | </ | ||
+ | |||
+ | ======Restrictions: | ||
+ | Naturally, filesystem permissions will limit what the user can and cannot | ||
+ | unlink. | ||
unlink.txt · Last modified: 2007/03/02 02:32 by 127.0.0.1