Warning: main(/www/www/htdocs/style/globals.php) [function.main]: failed to open stream: No such file or directory in /www/www/docs/6.4.1/neutrino/utilities/u/unlink.html on line 1
Warning: main() [function.include]: Failed opening '/www/www/htdocs/style/globals.php' for inclusion (include_path='.:/www/www/common:/www/www/php/lib/php') in /www/www/docs/6.4.1/neutrino/utilities/u/unlink.html on line 1
Warning: main(/www/www/htdocs/style/header.php) [function.main]: failed to open stream: No such file or directory in /www/www/docs/6.4.1/neutrino/utilities/u/unlink.html on line 8
Warning: main() [function.include]: Failed opening '/www/www/htdocs/style/header.php' for inclusion (include_path='.:/www/www/common:/www/www/php/lib/php') in /www/www/docs/6.4.1/neutrino/utilities/u/unlink.html on line 8
Call the unlink() function to delete a file
unlink file
Neutrino
- file
- The pathname of an existing file.
The unlink utility is a command-line interface to the
unlink() function:
(void)unlink( file );
Only the superuser may use the unlink utility.
Only the superuser may unlink a directory, and then only if the filesystem
allows it (see _PC_LINK_DIR in the description of
pathconf()
in the Library Reference).
- 0
- Successful completion.
- > 0
- An error occurred.
The unlink command can be very dangerous to your filesystem; you
should probably use rm or
rmdir
instead.
link,
ln,
rm,
rmdir
pathconf()
in the Library Reference
Warning: main(/www/www/htdocs/style/footer.php) [function.main]: failed to open stream: No such file or directory in /www/www/docs/6.4.1/neutrino/utilities/u/unlink.html on line 128
Warning: main() [function.include]: Failed opening '/www/www/htdocs/style/footer.php' for inclusion (include_path='.:/www/www/common:/www/www/php/lib/php') in /www/www/docs/6.4.1/neutrino/utilities/u/unlink.html on line 128