.\" -*- coding: UTF-8 -*- .\" Copyright (C) 2006 Michael Kerrisk .\" .\" %%%LICENSE_START(PERMISSIVE_MISC) .\" Permission is hereby granted, free of charge, to any person obtaining .\" a copy of this software and associated documentation files (the .\" "Software"), to deal in the Software without restriction, including .\" without limitation the rights to use, copy, modify, merge, publish, .\" distribute, sublicense, and/or sell copies of the Software, and to .\" permit persons to whom the Software is furnished to do so, subject to .\" the following conditions: .\" .\" The above copyright notice and this permission notice shall be .\" included in all copies or substantial portions of the Software. .\" .\" THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, .\" EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF .\" MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. .\" IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY .\" CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, .\" TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE .\" SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. .\" %%%LICENSE_END .\" .\"******************************************************************* .\" .\" This file was generated with po4a. Translate the source file. .\" .\"******************************************************************* .TH program_invocation_name 3 "30 mars 2023" "Pages du manuel de Linux 6.05.01" .SH NOM program_invocation_name, program_invocation_short_name \- Obtenir le nom utilisé pour invoquer le programme appelant .SH BIBLIOTHÈQUE Bibliothèque C standard (\fIlibc\fP, \fI\-lc\fP) .SH SYNOPSIS .nf \fB#define _GNU_SOURCE\fP /* Consultez feature_test_macros(7) */ \fB#include \fP .PP \fBextern char *\fP\fIprogram_invocation_name\fP\fB;\fP \fBextern char *\fP\fIprogram_invocation_short_name\fP\fB;\fP .fi .SH DESCRIPTION \fIprogram_invocation_name\fP contient le nom qui a été utilisé pour invoquer le programme appelant. C'est le même que la valeur de \fIargv[0]\fP dans \fImain\fP(), à la différence que la portée de \fIprogram_invocation_name\fP est globale. .PP \fIprogram_invocation_short_name\fP contient la partie nom de base du nom utilisé pour invoquer le programme appelant. Ainsi, c'est la même valeur que \fIprogram_invocation_name\fP, amputée de tout le texte jusqu'à la dernière barre oblique (/). .PP Ces variables sont automatiquement initialisées par le code exécuté au démarrage de la glibc. .SH VERSIONS Le fichier \fI/proc/\fPpid\fI/cmdline\fP, spécifique à Linux, fournit un accès à une information similaire. .SH STANDARDS GNU. .SH "VOIR AUSSI" \fBproc\fP(5) .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 et David Prévot . .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 .