.\" -*- coding: UTF-8 -*- '\" t .\" Copyright (C) 2006 Michael Kerrisk .\" .\" SPDX-License-Identifier: Linux-man-pages-copyleft .\" .\"******************************************************************* .\" .\" This file was generated with po4a. Translate the source file. .\" .\"******************************************************************* .TH sem_unlink 3 "20 juillet 2023" "Pages du manuel de Linux 6.05.01" .SH NOM sem_unlink \- Supprimer un sémaphore nommé .SH BIBLIOTHÈQUE Bibliothèque de threads POSIX (\fIlibpthread\fP, \fI\-lpthread\fP) .SH SYNOPSIS .nf \fB#include \fP .PP \fBint sem_unlink(const char *\fP\fInom\fP\fB);\fP .fi .SH DESCRIPTION \fBsem_unlink\fP() supprime un sémaphore nommé référencé par \fInom\fP. Le nom du sémaphore est immédiatement supprimé. Le sémaphore est détruit une fois que tous les autres processus qui l'avaient ouvert l'ont fermé. .SH "VALEUR RENVOYÉE" S'il réussit, \fBsem_unlink\fP() renvoie \fB0\fP. S'il échoue, il renvoie \fB\-1\fP et écrit \fIerrno\fP en conséquence. .SH ERREURS .TP \fBEACCES\fP L'appelant n'a pas la permission de supprimer le sémaphore. .TP \fBENAMETOOLONG\fP \fInom\fP est trop long. .TP \fBENOENT\fP Il n'y a pas de sémaphore \fInom\fP. .SH ATTRIBUTS Pour une explication des termes utilisés dans cette section, consulter \fBattributes\fP(7). .TS allbox; lbx lb lb l l l. Interface Attribut Valeur T{ .na .nh \fBsem_unlink\fP() T} Sécurité des threads MT\-Safe .TE .sp 1 .SH STANDARDS POSIX.1\-2008. .SH HISTORIQUE POSIX.1\-2001. .SH "VOIR AUSSI" \fBsem_getvalue\fP(3), \fBsem_open\fP(3), \fBsem_post\fP(3), \fBsem_wait\fP(3), \fBsem_overview\fP(7) .PP .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 Thomas Vincent . .PP 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. .PP 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 .