|
advfs_get_file_attributes(3)
Contents
|
advfs_get_file_attributes - Get the AdvFS attributes of a
file
#include <sys/advfs_syscalls.h>
int advfs_get_file_attributes(
int fd,
fileAttributesT *fileAttributes );
AdvFS Library (libadvfs)
An open file descriptor of the file for which you want to
obtain the attributes. A pointer to a structure that will
contain the file attributes on successful return from the
function.
This function returns the AdvFS-specific attributes of the
file specified by the fd parameter in the specified
fileAttributes structure.
The function returns a value of 0 (zero) on successful
completion. The function returns a value of -1 on failure
and sets the value of errno to the specific error.
The function sets errno to the specified errors for the
following failure conditions: The file descriptor fd is
not pointing to a file that resides in an AdvFS fileset.
An I/O error occurred on one of the disks containing the
file. There is not enough memory available for the operation.
Commands: chfile(8), showfile(8), stripe(8)
Functions: open(2), advfs_set_file_attributes(3)
advfs_get_file_attributes(3)
[ Back ] |