# German translation of manpages # This file is distributed under the same license as the manpages-l10n package. # Copyright © of this file: # Helge Kreutzmann , 2026. msgid "" msgstr "" "Project-Id-Version: manpages-l10n 4.30.2\n" "POT-Creation-Date: 2026-06-05 06:43+0200\n" "PO-Revision-Date: 2026-05-24 05:32+0200\n" "Last-Translator: Helge Kreutzmann \n" "Language-Team: German \n" "Language: de\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" "Plural-Forms: nplurals=2; plural=(n != 1);\n" #. type: TH #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1 #: opensuse-tumbleweed #, no-wrap msgid "snprintf" msgstr "snprintf" #. type: TH #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1 #: opensuse-tumbleweed #, no-wrap msgid "2025-12-07" msgstr "7. Dezember 2025" #. type: TH #: archlinux debian-unstable #, no-wrap msgid "Linux man-pages 6.18" msgstr "Linux man-pages 6.18" #. type: SH #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1 #: opensuse-tumbleweed #, no-wrap msgid "NAME" msgstr "BEZEICHNUNG" #. type: Plain text #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1 #: opensuse-tumbleweed msgid "snprintf, vsnprintf - string print formatted" msgstr "snprintf, vsnprintf - Formatierte Zeichenkettenausgabe" #. type: SH #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1 #: opensuse-tumbleweed #, no-wrap msgid "LIBRARY" msgstr "BIBLIOTHEK" #. type: Plain text #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1 #: opensuse-tumbleweed msgid "Standard C library (I,\\ I<-lc>)" msgstr "Standard-C-Bibliothek (I,\\ I<-lc>)" #. type: SH #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1 #: opensuse-tumbleweed #, no-wrap msgid "SYNOPSIS" msgstr "ÜBERSICHT" #. type: Plain text #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1 #: opensuse-tumbleweed #, no-wrap msgid "B<#include Estdio.hE>\n" msgstr "B<#include Estdio.hE>\n" #. type: Plain text #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1 #: opensuse-tumbleweed #, no-wrap msgid "" "Bsize_t size;\n" "B< char >IB<[restrict >IB<], size_t >IB<,>\n" "B< const char *restrict >IB<, ...);>\n" "Bsize_t size;\n" "B< char >IB<[restrict >IB<], size_t >IB<,>\n" "B< const char *restrict >IB<, va_list >IB<);>\n" msgstr "" "Bsize_t Größe;\n" "B< char >IB<[restrict >IB<], size_t >IB<,>\n" "B< const char *restrict >IB<, …);>\n" "Bsize_t Größe;\n" "B< char >IB<[restrict >IB<], size_t >IB<,>\n" "B< const char *restrict >IB<, va_list >IB<);>\n" #. type: Plain text #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1 #: opensuse-tumbleweed msgid "" "Feature Test Macro Requirements for glibc (see B(7)):" msgstr "" "Mit Glibc erforderliche Feature-Test-Makros (siehe " "B(7)):" #. type: Plain text #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1 #: opensuse-tumbleweed msgid "B(), B():" msgstr "B(), B():" #. type: Plain text #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1 #: opensuse-tumbleweed #, no-wrap msgid "" " _XOPEN_SOURCE E= 500 || _ISOC99_SOURCE\n" " || /* glibc E= 2.19: */ _BSD_SOURCE\n" msgstr "" " _XOPEN_SOURCE E= 500 || _ISOC99_SOURCE\n" " || /* Glibc E= 2.19: */ _BSD_SOURCE\n" #. type: SH #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1 #: opensuse-tumbleweed #, no-wrap msgid "DESCRIPTION" msgstr "BESCHREIBUNG" #. type: Plain text #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1 #: opensuse-tumbleweed msgid "" "These functions are similar to B(3), except that they write to the " "character string I instead of a stream." msgstr "" "Diese Funktionen sind B(3) ähnlich, außer dass sie in die " "Zeichenkette I anstatt in einen Datenstrom schreiben." #. type: Plain text #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1 #: opensuse-tumbleweed msgid "" "The functions B() and B() write at most I bytes " "(including the terminating null byte (\\[aq]\\[rs]0\\[aq])) to I." msgstr "" "Die Funktionen B() und B() schreiben höchstens I " "byte (einschließlich des abschließenden Nullbytes (»\\[rs]0«)) nach I." #. type: Plain text #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1 #: opensuse-tumbleweed msgid "" "B() is equivalent to B(), except that it is called " "with a I instead of a variable number of arguments. This function " "does not call the I macro. Because it invokes the I macro, " "the value of I is undefined after the call. See B(3)." msgstr "" "B() ist zu B() äquivalent, außer dass es mit einer " "I statt einer variablen Zahl von Argumenten aufgerufen wird. Diese " "Funktion ruft das Makro I nicht auf. Da es das Makro I " "aufruft, ist der Wert von I nach dem Aufruf nicht definiert. Siehe " "B(3)." #. type: Plain text #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1 #: opensuse-tumbleweed msgid "" "C99 and POSIX.1-2001 specify that the results are undefined if a call to " "B() or B() would cause copying to take place between " "objects that overlap (e.g., if the target string array and one of the " "supplied input arguments refer to the same buffer). See CAVEATS." msgstr "" "C99 und POSIX.1-2001 legen fest, dass das Ergebnis nicht definiert ist, wenn " "ein Aufruf von B() oder B() zu einem Kopieren zwischen " "überlappenden Objekten führen würde (z.B. wenn das Zielzeichenkettenfeld und " "eines der übergebenen Eingabe-Argumente sich auf den gleichen Puffer " "beziehen). Siehe WARNUNGEN." #. type: SS #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1 #: opensuse-tumbleweed #, no-wrap msgid "Format of the format string" msgstr "Format der Formatzeichenkette" #. type: Plain text #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1 #: opensuse-tumbleweed msgid "See B(3)." msgstr "Siehe B(3)." #. type: SH #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1 #: opensuse-tumbleweed #, no-wrap msgid "RETURN VALUE" msgstr "RÜCKGABEWERT" #. type: Plain text #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1 #: opensuse-tumbleweed msgid "" "Upon successful return, these functions return the number of bytes printed " "(excluding the null byte used to end output to strings)." msgstr "" "Nach erfolgreicher Ausführung geben diese Funktionen die Anzahl der " "ausgegebenen Bytes zurück (ohne das für den Abschluß der " "Zeichenkettenausgabe verwendete Nullbyte)." #. type: Plain text #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1 #: opensuse-tumbleweed msgid "" "The functions B() and B() do not write more than " "I bytes (including the terminating null byte (\\[aq]\\[rs]0\\[aq])). " "If the output was truncated due to this limit, then the return value is the " "number of characters (excluding the terminating null byte) which would have " "been written to the final string if enough space had been available. Thus, " "a return value of I or more means that the output was truncated. (See " "also below under CAVEATS.)" msgstr "" "Die Funktionen B() und B() schreiben nicht mehr als " "I byte (einschließlich des abschließenden Nullbytes »\\[rs]0«)). " "Falls die Ausgabe wegen dieser Begrenzung gekürzt wurde, ist der " "Rückgabewert die Anzahl der Zeichen (ohne abschließendes Nullbyte), die bei " "ausreichendem Speicherplatz in die Ausgabe geschrieben worden wären. Damit " "bedeutet ein Rückgabewert von I oder mehr, dass die Ausgabe gekürzt " "wurde. (Siehe auch im Folgenden unter WARNUNGEN.)" #. type: Plain text #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1 #: opensuse-tumbleweed msgid "" "On error, a negative value is returned, and I is set to indicate the " "error." msgstr "" "Bei einem Fehler wird ein negativer Wert zurückgegeben und I wird " "gesetzt, um den Fehler anzuzeigen." #. type: SH #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1 #: opensuse-tumbleweed #, no-wrap msgid "ERRORS" msgstr "FEHLER" #. type: SH #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1 #: opensuse-tumbleweed #, no-wrap msgid "ATTRIBUTES" msgstr "ATTRIBUTE" #. type: Plain text #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1 #: opensuse-tumbleweed msgid "" "For an explanation of the terms used in this section, see B(7)." msgstr "" "Siehe B(7) für eine Erläuterung der in diesem Abschnitt " "verwandten Ausdrücke." #. type: tbl table #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1 #: opensuse-tumbleweed #, no-wrap msgid "Interface" msgstr "Schnittstelle" #. type: tbl table #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1 #: opensuse-tumbleweed #, no-wrap msgid "Attribute" msgstr "Attribut" #. type: tbl table #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1 #: opensuse-tumbleweed #, no-wrap msgid "Value" msgstr "Wert" #. type: tbl table #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1 #: opensuse-tumbleweed #, no-wrap msgid ".na\n" msgstr ".na\n" #. type: tbl table #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1 #: opensuse-tumbleweed #, no-wrap msgid ".nh\n" msgstr ".nh\n" #. type: tbl table #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1 #: opensuse-tumbleweed #, no-wrap msgid "" "B(),\n" "B()" msgstr "" "B(),\n" "B()" #. type: tbl table #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1 #: opensuse-tumbleweed #, no-wrap msgid "Thread safety" msgstr "Multithread-Fähigkeit" #. type: tbl table #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1 #: opensuse-tumbleweed #, no-wrap msgid "MT-Safe locale" msgstr "MT-Sicher locale" #. type: SH #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1 #: opensuse-tumbleweed #, no-wrap msgid "STANDARDS" msgstr "STANDARDS" #. type: Plain text #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1 #: opensuse-tumbleweed msgid "C11, POSIX.1-2008." msgstr "C11, POSIX.1-2008." #. type: SH #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1 #: opensuse-tumbleweed #, no-wrap msgid "HISTORY" msgstr "GESCHICHTE" #. type: Plain text #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1 #: opensuse-tumbleweed msgid "SUSv2, C99, POSIX.1-2001." msgstr "SUSv2, C99, POSIX.1-2001." #. type: Plain text #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1 #: opensuse-tumbleweed msgid "" "Concerning the return value, SUSv2 and C99 contradict each other: when " "B() is called with I=0 then SUSv2 stipulates an unspecified " "return value less than 1, while C99 allows I to be NULL in this case, " "and gives the return value (as always) as the number of characters that " "would have been written in case the output string has been large enough. " "POSIX.1-2001 and later align their specification of B() with C99." msgstr "" "Bezüglich des Rückgabewertes widersprechen sich SUSv2 und C99: Wird " "B() mit I=B<0> aufgerufen, dann fordert SUSv2 einen nicht " "festgelegten Wert kleiner als 1, während C99 erlaubt, dass I in diesem " "Fall NULL ist und beschreibt den Rückgabewert (wie üblich) als die Anzahl " "der Zeichen, die geschrieben worden wären, falls die Ausgabezeichenkette " "groß genug gewesen wäre. POSIX.1-2001 und neuere richten ihre Spezifikation " "von B() an C99 aus." #. type: SH #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1 #: opensuse-tumbleweed #, no-wrap msgid "CAVEATS" msgstr "WARNUNGEN" #. type: Plain text #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1 #: opensuse-tumbleweed msgid "Some programs imprudently rely on code such as the following" msgstr "" "Einige Programme verlassen sich leichtsinnig auf Code wie den folgenden" #. type: Plain text #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1 #: opensuse-tumbleweed #, no-wrap msgid "snprintf(buf, countof(buf), \"%s some further text\", buf);\n" msgstr "snprintf(puf, countof(puf), \"%s weiterer Text\", puf);\n" #. http://sourceware.org/bugzilla/show_bug.cgi?id=7075 #. type: Plain text #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1 #: opensuse-tumbleweed msgid "" "to append text to I. However, the standards explicitly note that the " "results are undefined if source and destination buffers overlap when calling " "B() and B(). Depending on the version of B(1) " "used, and the compiler options employed, calls such as the above will B " "produce the expected results." msgstr "" "um Text an I anzuhängen. Allerdings vermerken die Standards explizit, " "dass die Ergebnisse nicht definiert sind, falls sich die Quell- und " "Zielpuffer beim Aufruf von B() und B() überlappen. " "Abhängig von der verwandten Version von B(1) und den eingesetzten " "Compiler-Optionen werden Aufrufe wie der vorstehende B die erwarteten " "Ergebnisse liefern." #. .SH HISTORY #. UNIX V7 defines the three routines #. .BR sprintf (). #. 2.11BSD has #. .BR vsprintf (). #. 4.4BSD introduces the functions #. .BR snprintf () #. and #. .BR vsnprintf (). #. FreeBSD also has functions #. .BR asprintf () #. and #. .BR vasprintf (), #. that allocate a buffer large enough for #. .BR sprintf (). #. type: Plain text #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1 #: opensuse-tumbleweed msgid "" "The glibc implementation of the functions B() and B() " "conforms to the C99 standard, that is, behaves as described above, since " "glibc 2.1. Until glibc 2.0.6, they would return -1 when the output was " "truncated." msgstr "" "Seit der Glibc-Version 2.1 ist die Implementierung der Funktionen " "B() und B() konform zu C99, verhält sich also wie oben " "beschrieben. Bis Glibc 2.0.6 gaben sie im Fall gekürzter Ausgaben -1 zurück." #. type: SH #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1 #: opensuse-tumbleweed #, no-wrap msgid "BUGS" msgstr "FEHLER" #. type: SH #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1 #: opensuse-tumbleweed #, no-wrap msgid "EXAMPLES" msgstr "BEISPIELE" #. type: Plain text #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1 #: opensuse-tumbleweed msgid "" "To allocate a sufficiently large string and print into it (code correct for " "both glibc 2.0 and glibc 2.1):" msgstr "" "Um eine genügend große Zeichenkette bereitzustellen und in sie zu schreiben " "(der Code ist korrekt sowohl für Glibc 2.0 als auch Glibc 2.1):" #. type: Plain text #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1 #: opensuse-tumbleweed #, no-wrap msgid "" "#include Estdio.hE\n" "#include Estdlib.hE\n" "#include Estdarg.hE\n" "\\&\n" "char *\n" "make_message(const char *fmt, ...)\n" "{\n" " int n = 0;\n" " size_t size = 0;\n" " char *p = NULL;\n" " va_list ap;\n" "\\&\n" " /* Determine required size. */\n" "\\&\n" " va_start(ap, fmt);\n" " n = vsnprintf(p, size, fmt, ap);\n" " va_end(ap);\n" "\\&\n" " if (n E 0)\n" " return NULL;\n" "\\&\n" " size = (size_t) n + 1; /* One extra byte for \\[aq]\\[rs]0\\[aq] */\n" " p = malloc(size);\n" " if (p == NULL)\n" " return NULL;\n" "\\&\n" " va_start(ap, fmt);\n" " n = vsnprintf(p, size, fmt, ap);\n" " va_end(ap);\n" "\\&\n" " if (n E 0) {\n" " free(p);\n" " return NULL;\n" " }\n" "\\&\n" " return p;\n" "}\n" msgstr "" "#include Estdio.hE\n" "#include Estdlib.hE\n" "#include Estdarg.hE\n" "\\&\n" "char *\n" "make_message(const char *fmt, …)\n" "{\n" " int n = 0;\n" " size_t size = 0;\n" " char *p = NULL;\n" " va_list ap;\n" "\\&\n" " /* Benötigte Größe bestimomen. */\n" "\\&\n" " va_start(ap, fmt);\n" " n = vsnprintf(p, size, fmt, ap);\n" " va_end(ap);\n" "\\&\n" " if (n E 0)\n" " return NULL;\n" "\\&\n" " size = (size_t) n + 1; /* Ein zusätzliches Byte für »\\[rs]0« */\n" " p = malloc(size);\n" " if (p == NULL)\n" " return NULL;\n" "\\&\n" " va_start(ap, fmt);\n" " n = vsnprintf(p, size, fmt, ap);\n" " va_end(ap);\n" "\\&\n" " if (n E 0) {\n" " free(p);\n" " return NULL;\n" " }\n" "\\&\n" " return p;\n" "}\n" #. type: Plain text #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1 #: opensuse-tumbleweed msgid "" "If truncation occurs in glibc versions prior to glibc 2.0.6, this is treated " "as an error instead of being handled gracefully." msgstr "" "Bei Kürzungen in Glibc-Versionen vor 2.0.6 wird dies als ein Fehler " "aufgefasst und nicht wohlwollend behandelt." #. type: SH #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1 #: opensuse-tumbleweed #, no-wrap msgid "SEE ALSO" msgstr "SIEHE AUCH" #. type: Plain text #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1 #: opensuse-tumbleweed msgid "" "B(1), B(3), B(3), B(3), B(3), " "B(3), B(3), B(3), B(3), B(5)" msgstr "" "B(1), B(3), B(3), B(3), B(3), " "B(3), B(3), B(3), B(3), B(5)" #. type: TH #: mageia-cauldron #, no-wrap msgid "Linux man-pages 6.17" msgstr "Linux man-pages 6.17" #. type: TH #: opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "Linux man-pages (unreleased)" msgstr "Linux man-pages (unveröffentlicht)"