getxattr
Reads a file’s attributes and metadata.
Syntax
ssize_t getxattr (
const char *path,
const char *name,
void *value,
size_t size
);
Parameters
- path
- In OES, this parameter is named file and
points to the name of the file to read attributes from.
- name
- In OES, this parameter is named xattr and
points to the zNW_metadata_s structure.
- value
- In OES, this parameter is named before and
is a pointer to a location within your file from which to start
reading.
- size
- In OES, this parameter is named sizeof and
specifies how much data has been read.