removexattr
Removes the specified extended attribute from a file.
int removexattr (
const char *path,
const char *name
);
On success, returns zero. On failure, returns -1 and sets errno.
Extended attributes are name/value pairs that are associated with files, directories, symbolic links, etc. They are extensions to the normal attributes associated with all files in the system.
An extended attribute name is a simple NULL-terminated string. The name includes a namespace prefix. There might be several namespaces associated with an individual extended attribute.
IMPORTANT:This function does not remove the netware.metadata extended attribute, but it does remove all the trustees and directory space restrictions associated with the file or directory.