fremovexattr(2)


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/gnutls_pkcs11_obj_get_info.3.html
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

manpages/XtIsComposite.3.html
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

manpages/winbind_krb5_locator.7.html
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

manpages/pow10f.3.html
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

manpages/fputs_unlocked.3.html
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

manpages/FontCacheQueryVersion.3.html
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

manpages/XTestFakeButtonEvent.3.html
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

manpages/argz_add.3.html
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

manpages/mvgetch.3ncurses.html
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

manpages/wtouchln.3ncurses.html
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

manpages/Tk_DrawTextLayout.3.html
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

manpages/foreach.n.html
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





We can't live, work or learn in freedom unless the software we use is free.