[<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
Synopsis:
#include <io.h>
int unlink( const char *path );
int _wunlink( const wchar_t *path );
Description:
The unlink function deletes the file whose name is the string pointed to
by path. This function is equivalent to the remove function.
The _wunlink function is identical to unlink except that it accepts a
wide-character string argument.
Returns:
The unlink function returns zero if the operation succeeds, non-zero if
it fails.
Example:
#include <io.h>
void main()
{
unlink( "vm.tmp" );
}
Classification:
unlink is POSIX 1003.1, _wunlink is not POSIX
Systems:
unlink - All, Netware
_wunlink - DOS, Windows, Win386, Win32, OS/2 1.x(all), OS/2-32
See Also:
chdir, chmod, close, getcwd, mkdir, open, remove, rename, rmdir, stat
See Also:
Online resources provided by: http://www.ClipX.Net --- NG 2 HTML conversion by Dave Pearson