VMS Help
CRTL, unlink
*Conan The Librarian
|
Deletes the specified symbolic link from the system.
This function is supported on OpenVMS Integrity servers and
Alpha only.
Format
#include <unistd.h>
int unlink (const char *link_name);
link_name
The name of the symbolic link to be deleted.
The unlink function deletes the specified symbolic link (link_
name) from the system. The contents of the symbolic link are not
examined, and no action is performed on the file specified in the
contents. For other files, the unlink function behaves the same
as the C RTL remove function.
See also symlink, readlink, realpath, lchown, and lstat.
0 Successful completion.
-1 Indicates an error. The named file (link_name)
is unchanged, and errno is set to any errno
value from remove.