NAME
removexattr, lremovexattr, fremovexattr - remove an extended attribute
SYNOPSIS
#include <sys/types.h> #include <attr/xattr.h> int removexattr (const char *path, const char *name); int lremovexattr (const char *path, const char *name); int fremovexattr (int filedes, const char *name);
DESCRIPTION
Extended attributes are name:value pairs associated with inodes (files, directories, symlinks, etc). They are extensions to the normal attributes which are associated with all inodes in the system (i.e. the stat(2) data). A complete overview of extended attributes concepts can be found in attr(5). removexattr removes the extended attribute identified by name and associated with the given path in the filesystem. lremovexattr is identical to removexattr, except in the case of a symbolic link, where the extended attribute is removed from the link itself, not the file that it refers to. fremovexattr is identical to removexattr, only the extended attribute is removed from the open file pointed to by filedes (as returned by open(2)) in place of path. An extended attribute name is a simple NULL-terminated string. The name includes a namespace prefix - there may be several, disjoint namespaces associated with an individual inode.
RETURN VALUE
On success, zero is returned. On failure, -1 is returned and errno is set appropriately. If the named attribute does not exist, errno is set to ENOATTR. If extended attributes are not supported by the filesystem, or are disabled, errno is set to ENOTSUP. The errors documented for the stat(2) system call are also applicable here.
AUTHORS
Andreas Gruenbacher, <a.gruenbacher@bestbits.at> and the SGI XFS development team, <linux-xfs@oss.sgi.com>. Please send any bug reports or comments to these addresses.
SEE ALSO
getfattr(1), setfattr(1), open(2), stat(2), setxattr(2), getxattr(2), listxattr(2), and attr(5).
More Linux Commands
manpages/dbmmanage2.1.html
dbmmanage2(1) - Manage user authentication files in DBM form
dbmmanage is used to create and update the DBM format files used to store usernames and password for basic authentication of HTTP users via mod_authn_dbm. Resou
manpages/XpSetImageResolution.3x.html
XpSetImageResolution(3x) - Sets the resolution for subsequen
XpSetImageResolution returns True if the printer server allowed the resolution to be set, otherwise False is returned. XpSetImageResolution sets the resolution
manpages/ktupnptest.1.html
ktupnptest(1) - KTorrent's UPnP test application (Man Page)
KTorrents UPnP test application Generic options: --help Show help about options --help-qt Show Qt specific options --help-kde Show KDE specific options --help-a
manpages/ldappasswd.1.html
ldappasswd(1) - change the password of an LDAP entry........
ldappasswd is a tool to set the password of an LDAP user. ldappasswd uses the LDAPv3 Password Modify (RFC 3062) extended operation. ldappasswd sets the password
manpages/standend.3ncurses.html
standend(3ncurses) - curses character and window attribute c
These routines manipulate the current attributes of the named window. The current attributes of a window apply to all characters that are written into the windo
manpages/pgrep.1.html
pgrep(1) - look up or signal processes based on name and oth
pgrep looks through the currently running processes and lists the process IDs which match the selection criteria to stdout. All the criteria have to match. For
manpages/repertoiremap.5.html
repertoiremap(5) map symbolic character names to Unicode cod
A repertoire map defines mappings between symbolic character names and Unicode code points when compiling a locale with localedef(1). Using a repertoire map is
manpages/copysignf.3.html
copysignf(3) - copy sign of a number - Linux manual page....
The copysign(), copysignf(), and copysignl() functions return a value whose absolute value matches that of x, but whose sign bit matches that of y. For example,
manpages/ldap_dnfree.3.html
ldap_dnfree(3) - LDAP DN handling routines - Linux man page
These routines allow LDAP entry names (Distinguished Names, or DNs) to be obtained, parsed, converted to a user-friendly form, and tested. A DN has the form des
manpages/zipnote.1.html
zipnote(1) - write the comments in zipfile to stdout, edit c
zipnote writes the comments in a zipfile to stdout. This is the default mode. A second mode allows updating the comments in a zipfile as well as allows changing
manpages/dirname.1.html
dirname(1) - strip last component from file name (Man Page)
Output each NAME with its last non-slash component and trailing slashes removed; if NAME contains no /s, output . (meaning the current directory). -z, --zero en
manpages/lber-encode.3.html
lber-encode(3) - OpenLDAP LBER simplified Basic Encoding Rul
These routines provide a subroutine interface to a simplified implementation of the Basic Encoding Rules of ASN.1. The version of BER these routines support is
