vxfs_get_ioffsets - obtain VxFS inode field offsets
int vxfs_get_ioffsets (struct vx_ioffsets *ioffp, size_t size);
The vxfs_get_ioffsets function returns the offset and size, in bytes, of certain public fields in the vx_inode inode structure, for any VxFS file. Public fields include:
The offsets depend on whether the system is running a 32-bit or 64-bit executable, and the specific release of VxFS.
vxfs_get_ioffsets() has two parameters, a pointer to a vx_ioffsets structure and the size of this structure in bytes.
Upon successful completion, vxfs_get_ioffsets() populates the structure pointed to by the ioffp argument and returns 0. Otherwise, vxfs_get_ioffsets() returns a negative number.