vxfs_inostat (3)

NAME

vxfs_inostat - get the file statistics based on the inode number

SYNOPSIS

cc -I /opt/VRTSvxfs/include -L /opt/VRTSvxfs/lib/64
-l vxfsutil -ldl

#include <sys/types.h>

#include <vxfsutil.h>

int vxfs_inostat(int fd, uint64_t inode_number,

struct vx_stat *buf)

AVAILABILITY

VRTSvxfs

DESCRIPTION

vxfs_inostat() gets the file statistics based on inode number for the file system pointed to by the file descriptor, fd. This call is very similar to the stat(2) system call, but without the overhead of open(2).

NOTES

This function is supported only on Version 6 and later disk layouts.

RETURN VALUES

vxfs_inostat() returns zero on success, non-zero on failure.

ERRORS

EINVAL The specified inode number is beyond the maximum inode number.
ENOENT The specified inode number does not exist.

SEE ALSO

vxfs_inotofd.3(3), vxfs_inotopath.3(3)


VxFS 5.1 SP1 vxfs_inostat (3)