removexattr, lremovexattr, fremovexattr - remove an extended attribute
#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);
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.
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.
Andreas Gruenbacher, <email@example.com> and the SGI XFS development team, <firstname.lastname@example.org>. Please send any bug reports or comments to these addresses.
getfattr(1), setfattr(1), open(2), stat(2), setxattr(2), getxattr(2), listxattr(2), and attr(5).
More Linux Commands
gnutls_pkcs11_obj_get_info(3) - API function (Man Page).....
This function will return information about the PKCS11 certificate such as the label, id as well as token information where the key is stored. When output is te
XtIsComposite(3) - obtain and verify a widget's class.......
The XtClass function returns a pointer to the widgets class structure. The XtSuperclass function returns a pointer to the widgets superclass class structure. Th
winbind_krb5_locator(7) - A plugin for MIT and Heimdal Kerbe
This plugin is part of the samba(7) suite. winbind_krb5_locator is a plugin that permits MIT and Heimdal Kerberos libraries to detect Kerberos Servers (for the
pow10f(3) - base-10 power functions - Linux manual page.....
The pow10() function returns the value of 10 raised to the power x. VERSIONS These functions first appeared in glibc in version 2.1. CONFORMING TO This is a GNU
fputs_unlocked(3) - nonlocking stdio functions (Man Page)...
Each of these functions has the same behavior as its counterpart without the _unlocked suffix, except that they do not use locking (they do not set locks themse
FontCacheQueryVersion(3) - X-TrueType font cache extension c
FontCache is an extension that is used by X-TrueType to cache informations about fonts. FontCacheQueryExtension returns True if the FontCache extension is avail
XTestFakeButtonEvent(3) - XTest extension functions.........
This extension is a minimal set of client and server extensions required to completely test the X11 server with no user intervention. This extension is not inte
argz_add(3) - functions to handle an argz list (Man Page)...
These functions are glibc-specific. An argz vector is a pointer to a character buffer together with a length. The intended interpretation of the character buffe
mvgetch(3ncurses) - get (or push back) characters from curse
The getch, wgetch, mvgetch and mvwgetch, routines read a character from the window. In no-delay mode, if no input is waiting, the value ERR is returned. In dela
wtouchln(3ncurses) - curses refresh control routines........
The touchwin and touchline routines throw away all optimization information about which parts of the window have been touched, by pretending that the entire win
Tk_DrawTextLayout(3) - routines to measure and display singl
These routines are for measuring and displaying single-font, multi-line, justified text. To measure and display simple single-font, single-line strings, refer t
foreach(n) - Iterate over all elements in one or more lists
The foreach command implements a loop where the loop variable(s) take on values from one or more lists. In the simplest case there is one loop variable, varname