[ CCode ( array_length = false , array_null_terminated = true ) ]
[ Version ( since = "1.0.59" ) ]
public XAttr[] getxattrs (string path) throws Error
list extended attributes of a file or directory
This call lists the extended attributes of the file or directory path
.
At the system call level, this is a combination of the listxattr(2) and getxattr(2) calls.
See also: lgetxattrs, attr(5).
This function depends on the feature "linuxxattrs". See also feature_available.
this |
A GuestfsSession object |
an array of XAttr objects, or NULL on error |