.\" -*- 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 INVOCATION_NAME 3 "15. September 2017" GNU Linux\-Programmierhandbuch .SH BEZEICHNUNG program_invocation_name, program_invocation_short_name \- ermitteln des zum Aufruf verwandten Namens .SH ÜBERSICHT .nf \fB#define _GNU_SOURCE\fP /* Siehe 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 BESCHREIBUNG \fIprogram_invocation_name\fP enthält den Namen, der zum Aufruf des aufrufenden Programms verwandt wurde. Dies ist der gleiche Wert wie \fIargv[0]\fP in \fImain\fP() mit dem Unterschied, dass der Geltungsbereich von \fIprogram_invocation_name\fP global ist. .PP \fIprogram_invocation_short_name\fP enthält die Basisnamenkomponente des Namens, der zum Aufruf des aufrufenden Programms verwandt wurde, d.h. den gleichen Wert wie \fIprogram_invocation_name\fP, wobei aller Text bis zum abschließenden Schrägstrich (/) (falls vorhanden) entfernt wurde. .PP Diese Variablen werden automatisch durch den Laufzeit\-Startcode von Glibc initialisiert. .SH "KONFORM ZU" Diese Variablen sind GNU\-Erweiterungen und sollten nicht in Programmen verwandt werden, die portierbar sein sollen. .SH ANMERKUNGEN Die Linux\-spezifische Datei \fI/proc/[Nummer]/cmdline\fP stellt den Zugriff auf ähnliche Informationen zur Verfügung. .SH "SIEHE AUCH" \fBproc\fP(5) .SH KOLOPHON Diese Seite ist Teil der Veröffentlichung 5.10 des Projekts Linux\-\fIman\-pages\fP. Eine Beschreibung des Projekts, Informationen, wie Fehler gemeldet werden können, sowie die aktuelle Version dieser Seite finden sich unter \%https://www.kernel.org/doc/man\-pages/. .PP .SH ÜBERSETZUNG Die deutsche Übersetzung dieser Handbuchseite wurde von Helge Kreutzmann erstellt. .PP Diese Übersetzung ist Freie Dokumentation; lesen Sie die .UR https://www.gnu.org/licenses/gpl-3.0.html GNU General Public License Version 3 .UE oder neuer bezüglich der Copyright-Bedingungen. Es wird KEINE HAFTUNG übernommen. .PP Wenn Sie Fehler in der Übersetzung dieser Handbuchseite finden, schicken Sie bitte eine E-Mail an die .MT debian-l10n-german@lists.debian.org Mailingliste der Übersetzer .ME .