# German translation of manpages # This file is distributed under the same license as the manpages-l10n package. # Copyright © of this file: # Markus Schmitt , 1996. # Martin Eberhard Schauer , 2012. # Mario Blättermann , 2014. msgid "" msgstr "" "Project-Id-Version: manpages-l10n 4.15.0\n" "POT-Creation-Date: 2023-08-27 17:24+0200\n" "PO-Revision-Date: 2023-03-30 21:55+0200\n" "Last-Translator: Dr. Tobias Quathamer \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 #: opensuse-leap-15-6 #, no-wrap msgid "STRCAT" msgstr "STRCAT" #. type: TH #: opensuse-leap-15-6 #, no-wrap msgid "2017-09-15" msgstr "15. September 2017" #. type: TH #: opensuse-leap-15-6 #, no-wrap msgid "GNU" msgstr "GNU" #. type: TH #: opensuse-leap-15-6 #, no-wrap msgid "Linux Programmer's Manual" msgstr "Linux-Programmierhandbuch" #. type: SH #: opensuse-leap-15-6 #, no-wrap msgid "NAME" msgstr "BEZEICHNUNG" #. type: Plain text #: opensuse-leap-15-6 msgid "strcat, strncat - concatenate two strings" msgstr "strcat, strncat - hängt zwei Zeichenketten aneinander" #. type: SH #: opensuse-leap-15-6 #, no-wrap msgid "SYNOPSIS" msgstr "ÜBERSICHT" #. type: Plain text #: opensuse-leap-15-6 #, no-wrap msgid "B<#include Estring.hE>\n" msgstr "B<#include Estring.hE>\n" #. type: Plain text #: opensuse-leap-15-6 #, no-wrap msgid "BIB<, const char *>IB<);>\n" msgstr "BIB<, const char *>IB<);>\n" #. type: Plain text #: opensuse-leap-15-6 #, no-wrap msgid "BIB<, const char *>IB<, size_t >IB<);>\n" msgstr "BIB<, const char *>IB<, size_t >IB<);>\n" #. type: SH #: opensuse-leap-15-6 #, no-wrap msgid "DESCRIPTION" msgstr "BESCHREIBUNG" #. type: Plain text #: opensuse-leap-15-6 msgid "" "The B() function appends the I string to the I string, " "overwriting the terminating null byte (\\(aq\\e0\\(aq) at the end of " "I, and then adds a terminating null byte. The strings may not " "overlap, and the I string must have enough space for the result. If " "I is not large enough, program behavior is unpredictable; I." msgstr "" "Die Funktion B() hängt die Zeichenkette I an die " "Zeichenkette I an, überschreibt dabei das Nullbyte (»\\e0«) am Ende " "von I und fügt ein neues abschließendes Nullbyte an. Die Zeichenketten " "dürfen nicht überlappen und I muss genügend Platz für das Ergebnis " "haben. Falls I nicht groß genug ist, ist das Programmverhalten " "unvorhersehbar; I." #. type: Plain text #: opensuse-leap-15-6 msgid "The B() function is similar, except that" msgstr "Die Funktion B() ist ähnlich, aber sie" #. type: IP #: opensuse-leap-15-6 #, no-wrap msgid "*" msgstr "*" #. type: Plain text #: opensuse-leap-15-6 msgid "it will use at most I bytes from I; and" msgstr "bearbeitet höchstens I Bytes von I; und" #. type: Plain text #: opensuse-leap-15-6 msgid "" "I does not need to be null-terminated if it contains I or more bytes." msgstr "" "I muss nicht mit einem Nullbyte abgeschlossen sein, falls es I " "oder mehr Bytes enthält." #. type: Plain text #: opensuse-leap-15-6 msgid "" "As with B(), the resulting string in I is always null-" "terminated." msgstr "" "Wie auch bei B() endet die resultierende Zeichenkette in I mit " "einem Nullbyte." #. type: Plain text #: opensuse-leap-15-6 msgid "" "If I contains I or more bytes, B() writes I bytes to " "I (I from I plus the terminating null byte). Therefore, the " "size of I must be at least I." msgstr "" "Wenn I I oder mehr Bytes enthält, schreibt B() I " "Bytes nach I (I von I sowie das abschließende Nullbyte). " "Daher muss die Größe von I wenigstens I Zeichen sein." #. type: Plain text #: opensuse-leap-15-6 msgid "A simple implementation of B() might be:" msgstr "Eine einfache Implementierung von B() könnte so aussehen:" #. type: Plain text #: opensuse-leap-15-6 #, no-wrap msgid "" "char *\n" "strncat(char *dest, const char *src, size_t n)\n" "{\n" " size_t dest_len = strlen(dest);\n" " size_t i;\n" msgstr "" "char *\n" "strncat(char *Ziel, const char *Quelle, size_t n)\n" "{\n" " size_t Ziel_len = strlen(Ziel);\n" " size_t i;\n" #. type: Plain text #: opensuse-leap-15-6 #, no-wrap msgid "" " for (i = 0 ; i E n && src[i] != \\(aq\\e0\\(aq ; i++)\n" " dest[dest_len + i] = src[i];\n" " dest[dest_len + i] = \\(aq\\e0\\(aq;\n" msgstr "" " for (i = 0 ; i E n && Quelle[i] != \\(aq\\e0\\(aq ; i++)\n" " Ziel[Ziel_len + i] = Quelle[i];\n" " Ziel[Ziel_len + i] = \\(aq\\e0\\(aq;\n" #. type: Plain text #: opensuse-leap-15-6 #, no-wrap msgid "" " return dest;\n" "}\n" msgstr "" " return Ziel;\n" "}\n" #. type: SH #: opensuse-leap-15-6 #, no-wrap msgid "RETURN VALUE" msgstr "RÜCKGABEWERT" #. type: Plain text #: opensuse-leap-15-6 msgid "" "The B() and B() functions return a pointer to the " "resulting string I." msgstr "" "Die Funktionen B() und B() geben einen Zeiger auf die " "resultierende Zeichenkette I zurück." #. type: SH #: opensuse-leap-15-6 #, no-wrap msgid "ATTRIBUTES" msgstr "ATTRIBUTE" #. type: Plain text #: opensuse-leap-15-6 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 #: opensuse-leap-15-6 #, no-wrap msgid "Interface" msgstr "Schnittstelle" #. type: tbl table #: opensuse-leap-15-6 #, no-wrap msgid "Attribute" msgstr "Attribut" #. type: tbl table #: opensuse-leap-15-6 #, no-wrap msgid "Value" msgstr "Wert" #. type: tbl table #: opensuse-leap-15-6 #, no-wrap msgid "" "B(),\n" "B()" msgstr "" "B(),\n" "B()" #. type: tbl table #: opensuse-leap-15-6 #, no-wrap msgid "Thread safety" msgstr "Multithread-Fähigkeit" #. type: tbl table #: opensuse-leap-15-6 #, no-wrap msgid "MT-Safe" msgstr "MT-Safe" #. type: SH #: opensuse-leap-15-6 #, no-wrap msgid "CONFORMING TO" msgstr "KONFORM ZU" #. type: Plain text #: opensuse-leap-15-6 msgid "POSIX.1-2001, POSIX.1-2008, C89, C99, SVr4, 4.3BSD." msgstr "POSIX.1-2001, POSIX.1-2008, C89, C99, SVr4, 4.3BSD." #. type: SH #: opensuse-leap-15-6 #, no-wrap msgid "NOTES" msgstr "ANMERKUNGEN" #. type: Plain text #: opensuse-leap-15-6 msgid "" "Some systems (the BSDs, Solaris, and others) provide the following function:" msgstr "" "Einige Systeme (die BSDs, Solaris und andere) stellen die folgende Funktion " "bereit:" #. type: Plain text #: opensuse-leap-15-6 #, no-wrap msgid " size_t strlcat(char *dest, const char *src, size_t size);\n" msgstr " size_t strlcat(char *dest, const char *src, size_t size);\n" # WONTFIX The variable I is not defined above in the summary? Is this I? // Upstream: That 'size' refers to the strlcat(3) prototype, declared in the same NOTES section. #. https://lwn.net/Articles/506530/ #. type: Plain text #: opensuse-leap-15-6 msgid "" "This function appends the null-terminated string I to the string " "I, copying at most I from I, and adds a " "terminating null byte to the result, I I is less than " "I. This function fixes the buffer overrun problem of " "B(), but the caller must still handle the possibility of data loss " "if I is too small. The function returns the length of the string " "B() tried to create; if the return value is greater than or equal " "to I, data loss occurred. If data loss matters, the caller I " "either check the arguments before the call, or test the function return " "value. B() is not present in glibc and is not standardized by " "POSIX, but is available on Linux via the I library." msgstr "" "Diese Funktion fügt die null-terminierte Zeichenkette I an die " "Zeichenkette I an, kopiert dabei höchstens I " "Zeichen von I und fügt dem Ergebnis ein Nullbyte an, I " "I kleiner als I ist. Diese Funktion behebt das " "Pufferüberlauf-Problem von B(), aber der Aufrufende muss sich noch " "mit der Möglichkeit eines Datenverlusts befassen, wenn I zu klein " "ist. Die Funktion gibt die Länge der Zeichenkette zurück, die B() " "zu erzeugen versuchte; wenn der Rückgabewert größer als oder gleich I " "ist, kam es zu Datenverlust. Wenn Datenverlust von Bedeutung ist, I " "der Aufrufende entweder vor dem Aufruf die Argumente oder nach dem Aufruf " "den Rückgabewert prüfen. B() ist nicht in Glibc vorhanden und nicht " "von POSIX standardisiert, sondern ist unter Linux über die Bibliothek " "I verfügbar." #. type: SH #: opensuse-leap-15-6 #, no-wrap msgid "EXAMPLE" msgstr "BEISPIEL" #. type: Plain text #: opensuse-leap-15-6 msgid "" "Because B() and B() must find the null byte that " "terminates the string I using a search that starts at the beginning of " "the string, the execution time of these functions scales according to the " "length of the string I. This can be demonstrated by running the " "program below. (If the goal is to concatenate many strings to one target, " "then manually copying the bytes from each source string while maintaining a " "pointer to the end of the target string will provide better performance.)" msgstr "" "B() und B() müssen das Nullbyte finden, das die " "Zeichenkette I abschließt. Hierfür wird eine Suche benutzt, die am " "Anfang der Zeichenkette beginnt. Aus diesem Grund skaliert die " "Ausführungszeit dieser Funktionen mit der Länge der Zeichenkette I. " "Dies kann durch die Ausführung des unten stehenden Programms gezeigt werden. " "(Wenn viele Zeichenketten zu einer Zeichenkette zusammengefasst werden " "sollen, dann ist die Ausführung schneller, wenn die Bytes von jeder Quell-" "Zeichenkette »manuell« in die Ziel-Zeichenkette kopiert werden, während ein " "Zeiger auf das jeweils aktuelle Ende der Ziel-Zeichenkette zeigt.)" #. type: SS #: opensuse-leap-15-6 #, no-wrap msgid "Program source" msgstr "Programmquelltext" #. type: Plain text #: opensuse-leap-15-6 #, no-wrap msgid "" "#include Estring.hE\n" "#include Etime.hE\n" "#include Estdio.hE\n" msgstr "" "#include Estring.hE\n" "#include Etime.hE\n" "#include Estdio.hE\n" #. type: Plain text #: opensuse-leap-15-6 #, no-wrap msgid "" "int\n" "main(int argc, char *argv[])\n" "{\n" "#define LIM 4000000\n" " int j;\n" " char p[LIM];\n" " time_t base;\n" msgstr "" "int\n" "main(int argc, char *argv[])\n" "{\n" "#define LIM 4000000\n" " int j;\n" " char p[LIM];\n" " time_t base;\n" #. type: Plain text #: opensuse-leap-15-6 #, no-wrap msgid "" " base = time(NULL);\n" " p[0] = \\(aq\\e0\\(aq;\n" msgstr "" " base = time(NULL);\n" " p[0] = \\(aq\\e0\\(aq;\n" #. type: Plain text #: opensuse-leap-15-6 #, no-wrap msgid "" " for (j = 0; j E LIM; j++) {\n" " if ((j % 10000) == 0)\n" " printf(\"%d %ld\\en\", j, (long) (time(NULL) - base));\n" " strcat(p, \"a\");\n" " }\n" "}\n" msgstr "" " for (j = 0; j E LIM; j++) {\n" " if ((j % 10000) == 0)\n" " printf(\"%d %ld\\en\", j, (long) (time(NULL) - base));\n" " strcat(p, \"a\");\n" " }\n" "}\n" #. type: SH #: opensuse-leap-15-6 #, no-wrap msgid "SEE ALSO" msgstr "SIEHE AUCH" #. type: Plain text #: opensuse-leap-15-6 msgid "" "B(3), B(3), B(3), B(3), B(3), " "B(3), B(3), B(3)" msgstr "" "B(3), B(3), B(3), B(3), B(3), " "B(3), B(3), B(3)" #. type: SH #: opensuse-leap-15-6 #, no-wrap msgid "COLOPHON" msgstr "KOLOPHON" #. type: Plain text #: opensuse-leap-15-6 msgid "" "This page is part of release 4.16 of the Linux I project. A " "description of the project, information about reporting bugs, and the latest " "version of this page, can be found at \\%https://www.kernel.org/doc/man-" "pages/." msgstr "" "Diese Seite ist Teil der Veröffentlichung 4.16 des Projekts Linux-I. 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/."