vxfs_nattr_check, vxfs_nattr_fcheck - check for the existence of named data streams
cc -I /opt/VRTS/include -L /opt/VRTSvxfs/lib
-l vxfsutil -ldl
int vxfs_nattr_check(int char *path, int flags);
int vxfs_nattr_fcheck(int fd, int flags);
vxfs_nattr_check() and vxfs_nattr_fcheck() check for the existence of named data streams in a manner that depends on the value of flags. The vxfs_nattr_check() function checks the pathname specified by path for the existence of named data streams. The vxfs_nattr_fcheck() function checks the file descriptor specified by fd for the existence of named data streams. Possible values for flags are:
Checks whether named data streams are enabled on the file system containing the file descriptor specified by fd or the pathname specified by path. If named data streams are enabled, 1 is returned. Otherwise, 0 is returned.
Checks for the existence of named data streams for the file descriptor specified by fd or the pathname specified by path. If named data streams exist, 1 is returned. Otherwise, 0 is returned.
vxfs_nattr_check() and vxfs_nattr_fcheck() return 1 or 0 on success. Otherise, -1 is returned and errno is set to indicate an error.
The function invocation failed on the system and could not locate the function in the dynamic link library (DLL).
The file permissions does not allow the operation requested by function.
The value of flags or fd is invalid.
vxfs_nattr_open(3), vxfs_nattr_link(3), vxfs_nattr_rename(3), vxfs_nattr_unlink(3), vxfs_nattr_utimes(3)