Expand description
Extended attribute functions.
Structs§
- Xattr
Flags XATTR_*
constants for use withsetxattr
, and other*setxattr
functions.
Functions§
- fgetxattr
fgetxattr(fd, name, value.as_ptr(), value.len())
—Get extended filesystem attributes on an open file descriptor.- flistxattr
flistxattr(fd, list.as_ptr(), list.len())
—List extended filesystem attributes on an open file descriptor.- fremovexattr
fremovexattr(fd, name)
—Remove an extended filesystem attribute on an open file descriptor.- fsetxattr
fsetxattr(fd, name, value.as_ptr(), value.len(), flags)
—Set extended filesystem attributes on an open file descriptor.- getxattr
getxattr(path, name, value)
—Get extended filesystem attributes.- lgetxattr
lgetxattr(path, name, value.as_ptr(), value.len())
—Get extended filesystem attributes, without following symlinks in the last path component.- listxattr
listxattr(path, list.as_ptr(), list.len())
—List extended filesystem attributes.- llistxattr
llistxattr(path, list.as_ptr(), list.len())
—List extended filesystem attributes, without following symlinks in the last path component.- lremovexattr
lremovexattr(path, name)
—Remove an extended filesystem attribute, without following symlinks in the last path component.- lsetxattr
setxattr(path, name, value.as_ptr(), value.len(), flags)
—Set extended filesystem attributes, without following symlinks in the last path component.- removexattr
removexattr(path, name)
—Remove an extended filesystem attribute.- setxattr
setxattr(path, name, value.as_ptr(), value.len(), flags)
—Set extended filesystem attributes.