Home > Veritas Storage Foundation™ File System Manual Pages
Table of contents
vxfs_nattr_unlink - remove a named data stream
cc -I /opt/VRTS/include -L /opt/VRTS/lib
-l vxfsutil -ldl
int vxfs_nattr_unlink(int fd, char *path);
function removes the directory entry for the named data
stream pointed to by
and decrements the link count of the associated
named data stream by one.
When the named data stream link count becomes zero
and no process has the file open,
the space occupied by the file is freed and the data
stream is no longer accessible.
To remove the attribute file,
write permission is required on the original file.
Upon successful completion,
-1 is returned,
errno is set to indicate the error,
and the file is not unlinked.
Search permission does not exist for a component of the path prefix.
There is no write permission on the directory
containing the link to be removed.
The parent directory has the sticky bit set and the file is not
writable by the user.
The user does not own the parent directory or the file.
argument points to an illegal address.
An interrupt signal was sent during function execution.
The length of the
A path name component is longer than
is in effect.
The named file does not exist or is a null path name.
argument points to a remote system and the
link to that system is not active.
A component of the path prefix is not a directory.
The named file is a directory and the calling process does not have
the privileges needed to perform the operation.
The directory entry to be unlinked is part of a read-only file system.
Last updated: 01 April 2006
Copyright ©2009 Symantec Corporation
All rights reserved.