setxattr

Modifies a file’s attributes and metadata.

Syntax

 ssize_t setxattr (
    const char  *path,
    const char  *name,
    void        *value,
    size_t       size,
    int          flags
 );
 

Parameters

path
In OES, this parameter is named file and points to the name of the file to modify attributes in.
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 on subsequent calls.
size
In OES, this parameter is named sizeof and specifies how much data has been modified.
flags
Specifies what data to modify.