Veritas™ File System 5.0.1 Programmer's Reference Guide

Removes the named data stream at a specified path. The
calling function must have write permission to remove the
directory entry for the named data stream.
The following is the syntax for the vxfs_nattr_unlink()
API:
int vxfs_nattr_unlink(int fd, char *path);
vxfs_nattr_unlink()
Changes a specified namespace entry at path1 to a second
specified namespace at path2. The specified paths are
resolved relative to a pointer to the named data stream
directory vnodes.
The following is the syntax for the vxfs_nattr_rename()
API:
int vxfs_nattr_rename(int sfd, char *old,
char *tnew);
vxfs_nattr_rename()
Sets the access and modification times of the named data
stream.
The following is the syntax for the vxfs_nattr_utimes()
API:
int vxfs_nattr_utimes(int sfd,
const char *path,
const struct timeval times[2]);
vxfs_nattr_utimes()
See the vxfs_nattr_open(3), vxfs_nattr_link(3), vxfs_nattr_unlink(3),
vxfs_nattr_rename(3), and vxfs_nattr_utimes(3) manual pages.
Listing named data streams
The named data streams for a file can be listed by calling getdents() on the named
data stream directory inode, as shown in the following example.
Named data streams
Listing named data streams
66