| 1 |
# German translation of manpages |
| 2 |
# This file is distributed under the same license as the manpages-l10n package. |
| 3 |
# Copyright © of this file: |
| 4 |
# Markus Schmitt <[email protected]>, 1996. |
| 5 |
# Martin Eberhard Schauer <[email protected]>, 2012. |
| 6 |
# Mario Blättermann <[email protected]>, 2014. |
| 7 |
msgid "" |
| 8 |
msgstr "" |
| 9 |
"Project-Id-Version: manpages-l10n 4.15.0\n" |
| 10 |
"POT-Creation-Date: 2023-08-27 17:24+0200\n" |
| 11 |
"PO-Revision-Date: 2023-03-30 21:55+0200\n" |
| 12 |
"Last-Translator: Dr. Tobias Quathamer <[email protected]>\n" |
| 13 |
"Language-Team: German <[email protected]>\n" |
| 14 |
"Language: de\n" |
| 15 |
"MIME-Version: 1.0\n" |
| 16 |
"Content-Type: text/plain; charset=UTF-8\n" |
| 17 |
"Content-Transfer-Encoding: 8bit\n" |
| 18 |
"Plural-Forms: nplurals=2; plural=n != 1;\n" |
| 19 |
|
| 20 |
#. type: TH |
| 21 |
#: opensuse-leap-15-6 |
| 22 |
#, no-wrap |
| 23 |
msgid "STRCAT" |
| 24 |
msgstr "STRCAT" |
| 25 |
|
| 26 |
#. type: TH |
| 27 |
#: opensuse-leap-15-6 |
| 28 |
#, no-wrap |
| 29 |
msgid "2017-09-15" |
| 30 |
msgstr "15. September 2017" |
| 31 |
|
| 32 |
#. type: TH |
| 33 |
#: opensuse-leap-15-6 |
| 34 |
#, no-wrap |
| 35 |
msgid "GNU" |
| 36 |
msgstr "GNU" |
| 37 |
|
| 38 |
#. type: TH |
| 39 |
#: opensuse-leap-15-6 |
| 40 |
#, no-wrap |
| 41 |
msgid "Linux Programmer's Manual" |
| 42 |
msgstr "Linux-Programmierhandbuch" |
| 43 |
|
| 44 |
#. type: SH |
| 45 |
#: opensuse-leap-15-6 |
| 46 |
#, no-wrap |
| 47 |
msgid "NAME" |
| 48 |
msgstr "BEZEICHNUNG" |
| 49 |
|
| 50 |
#. type: Plain text |
| 51 |
#: opensuse-leap-15-6 |
| 52 |
msgid "strcat, strncat - concatenate two strings" |
| 53 |
msgstr "strcat, strncat - hängt zwei Zeichenketten aneinander" |
| 54 |
|
| 55 |
#. type: SH |
| 56 |
#: opensuse-leap-15-6 |
| 57 |
#, no-wrap |
| 58 |
msgid "SYNOPSIS" |
| 59 |
msgstr "ÜBERSICHT" |
| 60 |
|
| 61 |
#. type: Plain text |
| 62 |
#: opensuse-leap-15-6 |
| 63 |
#, no-wrap |
| 64 |
msgid "B<#include E<lt>string.hE<gt>>\n" |
| 65 |
msgstr "B<#include E<lt>string.hE<gt>>\n" |
| 66 |
|
| 67 |
#. type: Plain text |
| 68 |
#: opensuse-leap-15-6 |
| 69 |
#, no-wrap |
| 70 |
msgid "B<char *strcat(char *>I<dest>B<, const char *>I<src>B<);>\n" |
| 71 |
msgstr "B<char *strcat(char *>I<Ziel>B<, const char *>I<Quelle>B<);>\n" |
| 72 |
|
| 73 |
#. type: Plain text |
| 74 |
#: opensuse-leap-15-6 |
| 75 |
#, no-wrap |
| 76 |
msgid "B<char *strncat(char *>I<dest>B<, const char *>I<src>B<, size_t >I<n>B<);>\n" |
| 77 |
msgstr "B<char *strncat(char *>I<Ziel>B<, const char *>I<Quelle>B<, size_t >I<n>B<);>\n" |
| 78 |
|
| 79 |
#. type: SH |
| 80 |
#: opensuse-leap-15-6 |
| 81 |
#, no-wrap |
| 82 |
msgid "DESCRIPTION" |
| 83 |
msgstr "BESCHREIBUNG" |
| 84 |
|
| 85 |
#. type: Plain text |
| 86 |
#: opensuse-leap-15-6 |
| 87 |
msgid "" |
| 88 |
"The B<strcat>() function appends the I<src> string to the I<dest> string, " |
| 89 |
"overwriting the terminating null byte (\\(aq\\e0\\(aq) at the end of " |
| 90 |
"I<dest>, and then adds a terminating null byte. The strings may not " |
| 91 |
"overlap, and the I<dest> string must have enough space for the result. If " |
| 92 |
"I<dest> is not large enough, program behavior is unpredictable; I<buffer " |
| 93 |
"overruns are a favorite avenue for attacking secure programs>." |
| 94 |
msgstr "" |
| 95 |
"Die Funktion B<strcat>() hängt die Zeichenkette I<Quelle> an die " |
| 96 |
"Zeichenkette I<Ziel> an, überschreibt dabei das Nullbyte (»\\e0«) am Ende " |
| 97 |
"von I<Ziel> und fügt ein neues abschließendes Nullbyte an. Die Zeichenketten " |
| 98 |
"dürfen nicht überlappen und I<Ziel> muss genügend Platz für das Ergebnis " |
| 99 |
"haben. Falls I<Ziel> nicht groß genug ist, ist das Programmverhalten " |
| 100 |
"unvorhersehbar; I<Pufferüberläufe sind ein beliebter Angriffspfad für " |
| 101 |
"sichere Programme>." |
| 102 |
|
| 103 |
#. type: Plain text |
| 104 |
#: opensuse-leap-15-6 |
| 105 |
msgid "The B<strncat>() function is similar, except that" |
| 106 |
msgstr "Die Funktion B<strncat>() ist ähnlich, aber sie" |
| 107 |
|
| 108 |
#. type: IP |
| 109 |
#: opensuse-leap-15-6 |
| 110 |
#, no-wrap |
| 111 |
msgid "*" |
| 112 |
msgstr "*" |
| 113 |
|
| 114 |
#. type: Plain text |
| 115 |
#: opensuse-leap-15-6 |
| 116 |
msgid "it will use at most I<n> bytes from I<src>; and" |
| 117 |
msgstr "bearbeitet höchstens I<n> Bytes von I<Quelle>; und" |
| 118 |
|
| 119 |
#. type: Plain text |
| 120 |
#: opensuse-leap-15-6 |
| 121 |
msgid "" |
| 122 |
"I<src> does not need to be null-terminated if it contains I<n> or more bytes." |
| 123 |
msgstr "" |
| 124 |
"I<Quelle> muss nicht mit einem Nullbyte abgeschlossen sein, falls es I<n> " |
| 125 |
"oder mehr Bytes enthält." |
| 126 |
|
| 127 |
#. type: Plain text |
| 128 |
#: opensuse-leap-15-6 |
| 129 |
msgid "" |
| 130 |
"As with B<strcat>(), the resulting string in I<dest> is always null-" |
| 131 |
"terminated." |
| 132 |
msgstr "" |
| 133 |
"Wie auch bei B<strcat>() endet die resultierende Zeichenkette in I<Ziel> mit " |
| 134 |
"einem Nullbyte." |
| 135 |
|
| 136 |
#. type: Plain text |
| 137 |
#: opensuse-leap-15-6 |
| 138 |
msgid "" |
| 139 |
"If I<src> contains I<n> or more bytes, B<strncat>() writes I<n+1> bytes to " |
| 140 |
"I<dest> (I<n> from I<src> plus the terminating null byte). Therefore, the " |
| 141 |
"size of I<dest> must be at least I<strlen(dest)+n+1>." |
| 142 |
msgstr "" |
| 143 |
"Wenn I<Quelle> I<n> oder mehr Bytes enthält, schreibt B<strncat>() I<n+1> " |
| 144 |
"Bytes nach I<Ziel> (I<n> von I<Quelle> sowie das abschließende Nullbyte). " |
| 145 |
"Daher muss die Größe von I<Ziel> wenigstens I<strlen(Ziel)+n+1> Zeichen sein." |
| 146 |
|
| 147 |
#. type: Plain text |
| 148 |
#: opensuse-leap-15-6 |
| 149 |
msgid "A simple implementation of B<strncat>() might be:" |
| 150 |
msgstr "Eine einfache Implementierung von B<strncat>() könnte so aussehen:" |
| 151 |
|
| 152 |
#. type: Plain text |
| 153 |
#: opensuse-leap-15-6 |
| 154 |
#, no-wrap |
| 155 |
msgid "" |
| 156 |
"char *\n" |
| 157 |
"strncat(char *dest, const char *src, size_t n)\n" |
| 158 |
"{\n" |
| 159 |
" size_t dest_len = strlen(dest);\n" |
| 160 |
" size_t i;\n" |
| 161 |
msgstr "" |
| 162 |
"char *\n" |
| 163 |
"strncat(char *Ziel, const char *Quelle, size_t n)\n" |
| 164 |
"{\n" |
| 165 |
" size_t Ziel_len = strlen(Ziel);\n" |
| 166 |
" size_t i;\n" |
| 167 |
|
| 168 |
#. type: Plain text |
| 169 |
#: opensuse-leap-15-6 |
| 170 |
#, no-wrap |
| 171 |
msgid "" |
| 172 |
" for (i = 0 ; i E<lt> n && src[i] != \\(aq\\e0\\(aq ; i++)\n" |
| 173 |
" dest[dest_len + i] = src[i];\n" |
| 174 |
" dest[dest_len + i] = \\(aq\\e0\\(aq;\n" |
| 175 |
msgstr "" |
| 176 |
" for (i = 0 ; i E<lt> n && Quelle[i] != \\(aq\\e0\\(aq ; i++)\n" |
| 177 |
" Ziel[Ziel_len + i] = Quelle[i];\n" |
| 178 |
" Ziel[Ziel_len + i] = \\(aq\\e0\\(aq;\n" |
| 179 |
|
| 180 |
#. type: Plain text |
| 181 |
#: opensuse-leap-15-6 |
| 182 |
#, no-wrap |
| 183 |
msgid "" |
| 184 |
" return dest;\n" |
| 185 |
"}\n" |
| 186 |
msgstr "" |
| 187 |
" return Ziel;\n" |
| 188 |
"}\n" |
| 189 |
|
| 190 |
#. type: SH |
| 191 |
#: opensuse-leap-15-6 |
| 192 |
#, no-wrap |
| 193 |
msgid "RETURN VALUE" |
| 194 |
msgstr "RÜCKGABEWERT" |
| 195 |
|
| 196 |
#. type: Plain text |
| 197 |
#: opensuse-leap-15-6 |
| 198 |
msgid "" |
| 199 |
"The B<strcat>() and B<strncat>() functions return a pointer to the " |
| 200 |
"resulting string I<dest>." |
| 201 |
msgstr "" |
| 202 |
"Die Funktionen B<strcat>() und B<strncat>() geben einen Zeiger auf die " |
| 203 |
"resultierende Zeichenkette I<Ziel> zurück." |
| 204 |
|
| 205 |
#. type: SH |
| 206 |
#: opensuse-leap-15-6 |
| 207 |
#, no-wrap |
| 208 |
msgid "ATTRIBUTES" |
| 209 |
msgstr "ATTRIBUTE" |
| 210 |
|
| 211 |
#. type: Plain text |
| 212 |
#: opensuse-leap-15-6 |
| 213 |
msgid "" |
| 214 |
"For an explanation of the terms used in this section, see B<attributes>(7)." |
| 215 |
msgstr "" |
| 216 |
"Siehe B<attributes>(7) für eine Erläuterung der in diesem Abschnitt " |
| 217 |
"verwandten Ausdrücke." |
| 218 |
|
| 219 |
#. type: tbl table |
| 220 |
#: opensuse-leap-15-6 |
| 221 |
#, no-wrap |
| 222 |
msgid "Interface" |
| 223 |
msgstr "Schnittstelle" |
| 224 |
|
| 225 |
#. type: tbl table |
| 226 |
#: opensuse-leap-15-6 |
| 227 |
#, no-wrap |
| 228 |
msgid "Attribute" |
| 229 |
msgstr "Attribut" |
| 230 |
|
| 231 |
#. type: tbl table |
| 232 |
#: opensuse-leap-15-6 |
| 233 |
#, no-wrap |
| 234 |
msgid "Value" |
| 235 |
msgstr "Wert" |
| 236 |
|
| 237 |
#. type: tbl table |
| 238 |
#: opensuse-leap-15-6 |
| 239 |
#, no-wrap |
| 240 |
msgid "" |
| 241 |
"B<strcat>(),\n" |
| 242 |
"B<strncat>()" |
| 243 |
msgstr "" |
| 244 |
"B<strcat>(),\n" |
| 245 |
"B<strncat>()" |
| 246 |
|
| 247 |
#. type: tbl table |
| 248 |
#: opensuse-leap-15-6 |
| 249 |
#, no-wrap |
| 250 |
msgid "Thread safety" |
| 251 |
msgstr "Multithread-Fähigkeit" |
| 252 |
|
| 253 |
#. type: tbl table |
| 254 |
#: opensuse-leap-15-6 |
| 255 |
#, no-wrap |
| 256 |
msgid "MT-Safe" |
| 257 |
msgstr "MT-Safe" |
| 258 |
|
| 259 |
#. type: SH |
| 260 |
#: opensuse-leap-15-6 |
| 261 |
#, no-wrap |
| 262 |
msgid "CONFORMING TO" |
| 263 |
msgstr "KONFORM ZU" |
| 264 |
|
| 265 |
#. type: Plain text |
| 266 |
#: opensuse-leap-15-6 |
| 267 |
msgid "POSIX.1-2001, POSIX.1-2008, C89, C99, SVr4, 4.3BSD." |
| 268 |
msgstr "POSIX.1-2001, POSIX.1-2008, C89, C99, SVr4, 4.3BSD." |
| 269 |
|
| 270 |
#. type: SH |
| 271 |
#: opensuse-leap-15-6 |
| 272 |
#, no-wrap |
| 273 |
msgid "NOTES" |
| 274 |
msgstr "ANMERKUNGEN" |
| 275 |
|
| 276 |
#. type: Plain text |
| 277 |
#: opensuse-leap-15-6 |
| 278 |
msgid "" |
| 279 |
"Some systems (the BSDs, Solaris, and others) provide the following function:" |
| 280 |
msgstr "" |
| 281 |
"Einige Systeme (die BSDs, Solaris und andere) stellen die folgende Funktion " |
| 282 |
"bereit:" |
| 283 |
|
| 284 |
#. type: Plain text |
| 285 |
#: opensuse-leap-15-6 |
| 286 |
#, no-wrap |
| 287 |
msgid " size_t strlcat(char *dest, const char *src, size_t size);\n" |
| 288 |
msgstr " size_t strlcat(char *dest, const char *src, size_t size);\n" |
| 289 |
|
| 290 |
# WONTFIX The variable I<size> is not defined above in the summary? Is this I<n>? // Upstream: That 'size' refers to the strlcat(3) prototype, declared in the same NOTES section. |
| 291 |
#. https://lwn.net/Articles/506530/ |
| 292 |
#. type: Plain text |
| 293 |
#: opensuse-leap-15-6 |
| 294 |
msgid "" |
| 295 |
"This function appends the null-terminated string I<src> to the string " |
| 296 |
"I<dest>, copying at most I<size-strlen(dest)-1> from I<src>, and adds a " |
| 297 |
"terminating null byte to the result, I<unless> I<size> is less than " |
| 298 |
"I<strlen(dest)>. This function fixes the buffer overrun problem of " |
| 299 |
"B<strcat>(), but the caller must still handle the possibility of data loss " |
| 300 |
"if I<size> is too small. The function returns the length of the string " |
| 301 |
"B<strlcat>() tried to create; if the return value is greater than or equal " |
| 302 |
"to I<size>, data loss occurred. If data loss matters, the caller I<must> " |
| 303 |
"either check the arguments before the call, or test the function return " |
| 304 |
"value. B<strlcat>() is not present in glibc and is not standardized by " |
| 305 |
"POSIX, but is available on Linux via the I<libbsd> library." |
| 306 |
msgstr "" |
| 307 |
"Diese Funktion fügt die null-terminierte Zeichenkette I<Quelle> an die " |
| 308 |
"Zeichenkette I<Ziel> an, kopiert dabei höchstens I<Größe-strlen(Ziel)-1> " |
| 309 |
"Zeichen von I<Quelle> und fügt dem Ergebnis ein Nullbyte an, I<wenn nicht> " |
| 310 |
"I<Größe> kleiner als I<strlen(Ziel)> ist. Diese Funktion behebt das " |
| 311 |
"Pufferüberlauf-Problem von B<strcat>(), aber der Aufrufende muss sich noch " |
| 312 |
"mit der Möglichkeit eines Datenverlusts befassen, wenn I<Größe> zu klein " |
| 313 |
"ist. Die Funktion gibt die Länge der Zeichenkette zurück, die B<strlcat>() " |
| 314 |
"zu erzeugen versuchte; wenn der Rückgabewert größer als oder gleich I<Größe> " |
| 315 |
"ist, kam es zu Datenverlust. Wenn Datenverlust von Bedeutung ist, I<muss> " |
| 316 |
"der Aufrufende entweder vor dem Aufruf die Argumente oder nach dem Aufruf " |
| 317 |
"den Rückgabewert prüfen. B<strlcat>() ist nicht in Glibc vorhanden und nicht " |
| 318 |
"von POSIX standardisiert, sondern ist unter Linux über die Bibliothek " |
| 319 |
"I<libbsd> verfügbar." |
| 320 |
|
| 321 |
#. type: SH |
| 322 |
#: opensuse-leap-15-6 |
| 323 |
#, no-wrap |
| 324 |
msgid "EXAMPLE" |
| 325 |
msgstr "BEISPIEL" |
| 326 |
|
| 327 |
#. type: Plain text |
| 328 |
#: opensuse-leap-15-6 |
| 329 |
msgid "" |
| 330 |
"Because B<strcat>() and B<strncat>() must find the null byte that " |
| 331 |
"terminates the string I<dest> using a search that starts at the beginning of " |
| 332 |
"the string, the execution time of these functions scales according to the " |
| 333 |
"length of the string I<dest>. This can be demonstrated by running the " |
| 334 |
"program below. (If the goal is to concatenate many strings to one target, " |
| 335 |
"then manually copying the bytes from each source string while maintaining a " |
| 336 |
"pointer to the end of the target string will provide better performance.)" |
| 337 |
msgstr "" |
| 338 |
"B<strcat>() und B<strncat>() müssen das Nullbyte finden, das die " |
| 339 |
"Zeichenkette I<Ziel> abschließt. Hierfür wird eine Suche benutzt, die am " |
| 340 |
"Anfang der Zeichenkette beginnt. Aus diesem Grund skaliert die " |
| 341 |
"Ausführungszeit dieser Funktionen mit der Länge der Zeichenkette I<Ziel>. " |
| 342 |
"Dies kann durch die Ausführung des unten stehenden Programms gezeigt werden. " |
| 343 |
"(Wenn viele Zeichenketten zu einer Zeichenkette zusammengefasst werden " |
| 344 |
"sollen, dann ist die Ausführung schneller, wenn die Bytes von jeder Quell-" |
| 345 |
"Zeichenkette »manuell« in die Ziel-Zeichenkette kopiert werden, während ein " |
| 346 |
"Zeiger auf das jeweils aktuelle Ende der Ziel-Zeichenkette zeigt.)" |
| 347 |
|
| 348 |
#. type: SS |
| 349 |
#: opensuse-leap-15-6 |
| 350 |
#, no-wrap |
| 351 |
msgid "Program source" |
| 352 |
msgstr "Programmquelltext" |
| 353 |
|
| 354 |
#. type: Plain text |
| 355 |
#: opensuse-leap-15-6 |
| 356 |
#, no-wrap |
| 357 |
msgid "" |
| 358 |
"#include E<lt>string.hE<gt>\n" |
| 359 |
"#include E<lt>time.hE<gt>\n" |
| 360 |
"#include E<lt>stdio.hE<gt>\n" |
| 361 |
msgstr "" |
| 362 |
"#include E<lt>string.hE<gt>\n" |
| 363 |
"#include E<lt>time.hE<gt>\n" |
| 364 |
"#include E<lt>stdio.hE<gt>\n" |
| 365 |
|
| 366 |
#. type: Plain text |
| 367 |
#: opensuse-leap-15-6 |
| 368 |
#, no-wrap |
| 369 |
msgid "" |
| 370 |
"int\n" |
| 371 |
"main(int argc, char *argv[])\n" |
| 372 |
"{\n" |
| 373 |
"#define LIM 4000000\n" |
| 374 |
" int j;\n" |
| 375 |
" char p[LIM];\n" |
| 376 |
" time_t base;\n" |
| 377 |
msgstr "" |
| 378 |
"int\n" |
| 379 |
"main(int argc, char *argv[])\n" |
| 380 |
"{\n" |
| 381 |
"#define LIM 4000000\n" |
| 382 |
" int j;\n" |
| 383 |
" char p[LIM];\n" |
| 384 |
" time_t base;\n" |
| 385 |
|
| 386 |
#. type: Plain text |
| 387 |
#: opensuse-leap-15-6 |
| 388 |
#, no-wrap |
| 389 |
msgid "" |
| 390 |
" base = time(NULL);\n" |
| 391 |
" p[0] = \\(aq\\e0\\(aq;\n" |
| 392 |
msgstr "" |
| 393 |
" base = time(NULL);\n" |
| 394 |
" p[0] = \\(aq\\e0\\(aq;\n" |
| 395 |
|
| 396 |
#. type: Plain text |
| 397 |
#: opensuse-leap-15-6 |
| 398 |
#, no-wrap |
| 399 |
msgid "" |
| 400 |
" for (j = 0; j E<lt> LIM; j++) {\n" |
| 401 |
" if ((j % 10000) == 0)\n" |
| 402 |
" printf(\"%d %ld\\en\", j, (long) (time(NULL) - base));\n" |
| 403 |
" strcat(p, \"a\");\n" |
| 404 |
" }\n" |
| 405 |
"}\n" |
| 406 |
msgstr "" |
| 407 |
" for (j = 0; j E<lt> LIM; j++) {\n" |
| 408 |
" if ((j % 10000) == 0)\n" |
| 409 |
" printf(\"%d %ld\\en\", j, (long) (time(NULL) - base));\n" |
| 410 |
" strcat(p, \"a\");\n" |
| 411 |
" }\n" |
| 412 |
"}\n" |
| 413 |
|
| 414 |
#. type: SH |
| 415 |
#: opensuse-leap-15-6 |
| 416 |
#, no-wrap |
| 417 |
msgid "SEE ALSO" |
| 418 |
msgstr "SIEHE AUCH" |
| 419 |
|
| 420 |
#. type: Plain text |
| 421 |
#: opensuse-leap-15-6 |
| 422 |
msgid "" |
| 423 |
"B<bcopy>(3), B<memccpy>(3), B<memcpy>(3), B<strcpy>(3), B<string>(3), " |
| 424 |
"B<strncpy>(3), B<wcscat>(3), B<wcsncat>(3)" |
| 425 |
msgstr "" |
| 426 |
"B<bcopy>(3), B<memccpy>(3), B<memcpy>(3), B<strcpy>(3), B<string>(3), " |
| 427 |
"B<strncpy>(3), B<wcscat>(3), B<wcsncat>(3)" |
| 428 |
|
| 429 |
#. type: SH |
| 430 |
#: opensuse-leap-15-6 |
| 431 |
#, no-wrap |
| 432 |
msgid "COLOPHON" |
| 433 |
msgstr "KOLOPHON" |
| 434 |
|
| 435 |
#. type: Plain text |
| 436 |
#: opensuse-leap-15-6 |
| 437 |
msgid "" |
| 438 |
"This page is part of release 4.16 of the Linux I<man-pages> project. A " |
| 439 |
"description of the project, information about reporting bugs, and the latest " |
| 440 |
"version of this page, can be found at \\%https://www.kernel.org/doc/man-" |
| 441 |
"pages/." |
| 442 |
msgstr "" |
| 443 |
"Diese Seite ist Teil der Veröffentlichung 4.16 des Projekts Linux-I<man-" |
| 444 |
"pages>. Eine Beschreibung des Projekts, Informationen, wie Fehler gemeldet " |
| 445 |
"werden können, sowie die aktuelle Version dieser Seite finden sich unter \\" |
| 446 |
"%https://www.kernel.org/doc/man-pages/." |