.\" -*- coding: UTF-8 -*-
.\" Copyright (C) Andreas Gruenbacher, February 2001
.\" Copyright (C) Silicon Graphics Inc, September 2001
.\"
.\" %%%LICENSE_START(GPLv2+_DOC_FULL)
.\" This is free documentation; you can redistribute it and/or
.\" modify it under the terms of the GNU General Public License as
.\" published by the Free Software Foundation; either version 2 of
.\" the License, or (at your option) any later version.
.\"
.\" The GNU General Public License's references to "object code"
.\" and "executables" are to be interpreted as the output of any
.\" document formatting or typesetting system, including
.\" intermediate and printed output.
.\"
.\" This manual is distributed in the hope that it will be useful,
.\" but WITHOUT ANY WARRANTY; without even the implied warranty of
.\" MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
.\" GNU General Public License for more details.
.\"
.\" You should have received a copy of the GNU General Public
.\" License along with this manual; if not, see
.\" .
.\" %%%LICENSE_END
.\"
.\"*******************************************************************
.\"
.\" This file was generated with po4a. Translate the source file.
.\"
.\"*******************************************************************
.TH REMOVEXATTR 2 "6 mars 2019" Linux "Manuel du programmeur Linux"
.SH NOM
removexattr, lremovexattr, fremovexattr \- Suppression d'un attribut étendu
.SH SYNOPSIS
.fam C
.nf
\fB#include \fP
\fB#include \fP
.PP
\fBint removexattr(const char\ *\fP\fIchemin\fP\fB, const char\ *\fP\fInom\fP\fB);\fP
\fBint lremovexattr(const char\ *\fP\fIchemin\fP\fB, const char\ *\fP\fInom\fP\fB);\fP
\fBint fremovexattr(int \fP\fIdescripteur\fP\fB, const char\ *\fP\fInom\fP\fB);\fP
.fi
.fam T
.SH DESCRIPTION
Les attributs étendus sont des paires \fInom\fP:\fIvaleur\fP associées aux inœuds
(fichiers, répertoires, liens symboliques,\ etc.). Ce sont des extensions des
attributs normaux qui sont associés avec tous les inœuds du système (les
informations renvoyées par \fBstat\fP(2). Une description complète des concepts
d'attributs étendus est disponible dans \fBxattr\fP(7).
.PP
\fBremovexattr\fP() supprime l'attribut étendu identifié par le \fInom\fP et
associé au \fIchemin\fP du système de fichiers.
.PP
\fBlremovexattr\fP() est identique à \fBremovexattr\fP(), sauf dans le cas d'un
lien symbolique, où il supprime l'attribut du lien lui\-même et non du
fichier qu'il vise.
.PP
\fBfremovexattr\fP() est identique à \fBremovexattr\fP(), mais l'attribut est
supprimé du fichier ouvert indiqué par le \fIdescripteur\fP (renvoyé par
\fBopen\fP(2)) à la place du \fIchemin\fP.
.PP
Le nom d'un attribut étendu est une simple chaîne terminée par un octet
nul. Le nom inclut un préfixe d'espace de noms \- il peut y avoir plusieurs
espaces de noms disjoints associés avec un inœud donné.
.SH "VALEUR RENVOYÉE"
S'ils réussissent, ces appels renvoient zéro. En cas d'échec, ils renvoient
\-1 et \fIerrno\fP contient le code d'erreur.
.SH ERREURS
.TP
\fBENODATA\fP
.\" .RB ( ENOATTR
.\" is defined to be a synonym for
.\" .BR ENODATA
.\" in
.\" .IR .)
L'attribut nommé n'existe pas.
.TP
\fBENOTSUP\fP
Les attributs étendus ne sont pas pris en charge par le système de fichiers
ou sont désactivés.
.PP
De plus, les erreurs documentées dans \fBstat\fP(2) peuvent aussi survenir.
.SH VERSIONS
Ces appels système sont disponibles sous Linux depuis le noyau\ 2.4\ ; la
glibc les prend en charge depuis la version\ 2.3.
.SH CONFORMITÉ
.\" .SH AUTHORS
.\" Andreas Gruenbacher,
.\" .RI < a.gruenbacher@computer.org >
.\" and the SGI XFS development team,
.\" .RI < linux-xfs@oss.sgi.com >.
.\" Please send any bug reports or comments to these addresses.
Ces appels système sont spécifiques à Linux.
.SH "VOIR AUSSI"
\fBgetfattr\fP(1), \fBsetfattr\fP(1), \fBgetxattr\fP(2), \fBlistxattr\fP(2), \fBopen\fP(2),
\fBsetxattr\fP(2), \fBstat\fP(2), \fBsymlink\fP(7), \fBxattr\fP(7)
.SH COLOPHON
Cette page fait partie de la publication\ 5.04 du projet \fIman\-pages\fP
Linux. Une description du projet et des instructions pour signaler des
anomalies et la dernière version de cette page peuvent être trouvées à
l'adresse \%https://www.kernel.org/doc/man\-pages/.
.SH TRADUCTION
La traduction française de cette page de manuel a été créée par
Christophe Blaess ,
Stéphan Rafin ,
Thierry Vignaud ,
François Micaux,
Alain Portal ,
Jean-Philippe Guérard ,
Jean-Luc Coulon (f5ibh) ,
Julien Cristau ,
Thomas Huriaux ,
Nicolas François ,
Florentin Duneau ,
Simon Paillard ,
Denis Barbier ,
David Prévot
et
Jean-Philippe MENGUAL
.
Cette traduction est une documentation libre ; veuillez vous reporter à la
.UR https://www.gnu.org/licenses/gpl-3.0.html
GNU General Public License version 3
.UE
concernant les conditions de copie et
de distribution. Il n'y a aucune RESPONSABILITÉ LÉGALE.
Si vous découvrez un bogue dans la traduction de cette page de manuel,
veuillez envoyer un message à
.MT
debian-l10n-french@lists.debian.org
.ME .