|REMOVEXATTR(2)||System Calls Manual||REMOVEXATTR(2)|
fremovexattr — remove an
extended attribute value
char *path, const char
fd, const char
Extended attributes extend the basic attributes associated with files and directories in the file system. They are stored as name:data pairs associated with file system objects (files, directories, symlinks, etc).
deletes the extended attribute name associated with
An extended attribute's name is a simple NULL-terminated UTF-8 string. Options is a bit mask specifying various options:
removexattr() acts on the target of path if it is a symbolic link. With this option,
removexattr() will act on the link itself.
fremovexattr() will remove HFS Plus Compression extended attribute name (if present) for the file referred to by path or fd.
is identical to
removexattr(), except that it
removes an extended attribute from an open file referenced by file
On success, 0 is returned. On failure, -1 is returned and the global variable errno is set as follows.
XATTR_MAXNAMELENUTF-8 bytes, or a component of path exceeded
NAME_MAXcharacters, or the entire path exceeded
fremovexattr() first appeared in Mac OS X 10.4.
|October 19, 2004||Mac OS X|