| 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 |
# Patrick Rother <[email protected]>, 1996. |
| 5 |
# Chris Leick <[email protected]>, 2010, 2012. |
| 6 |
# Mario Blättermann <[email protected]>, 2020, 2021, 2022, 2023. |
| 7 |
msgid "" |
| 8 |
msgstr "" |
| 9 |
"Project-Id-Version: manpages-l10n 4.28.0\n" |
| 10 |
"POT-Creation-Date: 2026-06-05 06:39+0200\n" |
| 11 |
"PO-Revision-Date: 2025-11-01 19:28+0100\n" |
| 12 |
"Last-Translator: Mario Blättermann <[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 |
"X-Generator: Lokalize 23.04.3\n" |
| 19 |
"Plural-Forms: nplurals=2; plural=(n != 1);\n" |
| 20 |
|
| 21 |
#. type: TH |
| 22 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 23 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 24 |
#, no-wrap |
| 25 |
msgid "qsort" |
| 26 |
msgstr "qsort" |
| 27 |
|
| 28 |
#. type: TH |
| 29 |
#: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1 |
| 30 |
#: opensuse-tumbleweed |
| 31 |
#, no-wrap |
| 32 |
msgid "2026-02-08" |
| 33 |
msgstr "8. Februar 2026" |
| 34 |
|
| 35 |
#. type: TH |
| 36 |
#: archlinux debian-unstable |
| 37 |
#, no-wrap |
| 38 |
msgid "Linux man-pages 6.18" |
| 39 |
msgstr "Linux man-pages 6.18" |
| 40 |
|
| 41 |
#. type: SH |
| 42 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 43 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 44 |
#, no-wrap |
| 45 |
msgid "NAME" |
| 46 |
msgstr "BEZEICHNUNG" |
| 47 |
|
| 48 |
#. type: Plain text |
| 49 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 50 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 51 |
msgid "qsort, qsort_r - sort an array" |
| 52 |
msgstr "qsort, qsort_r - ein Feld sortieren" |
| 53 |
|
| 54 |
#. type: SH |
| 55 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 56 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 57 |
#, no-wrap |
| 58 |
msgid "LIBRARY" |
| 59 |
msgstr "BIBLIOTHEK" |
| 60 |
|
| 61 |
#. type: Plain text |
| 62 |
#: archlinux debian-unstable fedora-44 fedora-rawhide mageia-cauldron |
| 63 |
#: opensuse-leap-16-1 opensuse-tumbleweed |
| 64 |
msgid "Standard C library (I<libc>,\\ I<-lc>)" |
| 65 |
msgstr "Standard-C-Bibliothek (I<libc>,\\ I<-lc>)" |
| 66 |
|
| 67 |
#. type: SH |
| 68 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 69 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 70 |
#, no-wrap |
| 71 |
msgid "SYNOPSIS" |
| 72 |
msgstr "ÜBERSICHT" |
| 73 |
|
| 74 |
#. type: Plain text |
| 75 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 76 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 77 |
#, no-wrap |
| 78 |
msgid "B<#include E<lt>stdlib.hE<gt>>\n" |
| 79 |
msgstr "B<#include E<lt>stdlib.hE<gt>>\n" |
| 80 |
|
| 81 |
# WONTFIX B<…>size_t n, size_t size → B<…size_t> I<n>, B<size_t> I<size> (2x) // forward declaration |
| 82 |
#. type: Plain text |
| 83 |
#: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1 |
| 84 |
#: opensuse-tumbleweed |
| 85 |
#, no-wrap |
| 86 |
msgid "" |
| 87 |
"B<void qsort(>size_t n, size_t size;\n" |
| 88 |
"B< void >I<base>B<[>I<n>B< * >I<size>B<], size_t >I<n>B<, size_t >I<size>B<,>\n" |
| 89 |
"B< typeof(int (const void [>I<size>B<], const void [>I<size>B<]))>\n" |
| 90 |
"B< *>I<compar>B<);>\n" |
| 91 |
"B<void qsort_r(>size_t n, size_t size;\n" |
| 92 |
"B< void >I<base>B<[>I<n>B< * >I<size>B<], size_t >I<n>B<, size_t >I<size>B<,>\n" |
| 93 |
"B< typeof(int (const void [>I<size>B<], const void [>I<size>B<], void *))>\n" |
| 94 |
"B< *>I<compar>B<,>\n" |
| 95 |
"B< void *>I<arg>B<);>\n" |
| 96 |
msgstr "" |
| 97 |
"B<void qsort(>size_t n, size_t groesse;\n" |
| 98 |
"B< void >I<basis>B<[>I<n>B< * >I<groesse>B<], size_t >I<n>B<, size_t >I<groesse>B<,>\n" |
| 99 |
"B< typeof(int (const void [>I<groesse>B<], const void [>I<groesse>B<]))>\n" |
| 100 |
"B< *>I<vergleich>B<);>\n" |
| 101 |
"B<void qsort_r(>size_t n, size_t groesse;\n" |
| 102 |
"B< void >I<basis>B<[>I<n>B< * >I<groesse>B<], size_t >I<n>B<, size_t >I<groesse>B<,>\n" |
| 103 |
"B< typeof(int (const void [>I<groesse>B<], const void [>I<groesse>B<], void *))>\n" |
| 104 |
"B< *>I<vergleich>B<,>\n" |
| 105 |
"B< void *>I<argument>B<);>\n" |
| 106 |
|
| 107 |
#. type: Plain text |
| 108 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 109 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 110 |
msgid "" |
| 111 |
"Feature Test Macro Requirements for glibc (see B<feature_test_macros>(7)):" |
| 112 |
msgstr "" |
| 113 |
"Mit Glibc erforderliche Feature-Test-Makros (siehe " |
| 114 |
"B<feature_test_macros>(7)):" |
| 115 |
|
| 116 |
#. type: Plain text |
| 117 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 118 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 119 |
msgid "B<qsort_r>():" |
| 120 |
msgstr "B<qsort_r>():" |
| 121 |
|
| 122 |
#. type: Plain text |
| 123 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 124 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 125 |
#, no-wrap |
| 126 |
msgid " _GNU_SOURCE\n" |
| 127 |
msgstr " _GNU_SOURCE\n" |
| 128 |
|
| 129 |
#. type: SH |
| 130 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 131 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 132 |
#, no-wrap |
| 133 |
msgid "DESCRIPTION" |
| 134 |
msgstr "BESCHREIBUNG" |
| 135 |
|
| 136 |
#. type: Plain text |
| 137 |
#: archlinux debian-unstable fedora-44 fedora-rawhide mageia-cauldron |
| 138 |
#: opensuse-leap-16-1 opensuse-tumbleweed |
| 139 |
msgid "" |
| 140 |
"The B<qsort>() function sorts an array with I<n> elements of size I<size>. " |
| 141 |
"The I<base> argument points to the start of the array." |
| 142 |
msgstr "" |
| 143 |
"Die Funktion B<qsort>() sortiert ein Feld mit I<n> Elementen der Größe " |
| 144 |
"I<groesse>. Das Argument I<basis> zeigt auf den Anfang des Feldes." |
| 145 |
|
| 146 |
#. type: Plain text |
| 147 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 148 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 149 |
msgid "" |
| 150 |
"The contents of the array are sorted in ascending order according to a " |
| 151 |
"comparison function pointed to by I<compar>, which is called with two " |
| 152 |
"arguments that point to the objects being compared." |
| 153 |
msgstr "" |
| 154 |
"Die Inhalte des Feldes werden in aufsteigender Reihenfolge sortiert, bezogen " |
| 155 |
"auf eine Vergleichsfunktion, auf die I<vergleich> zeigt. Diese wird mit zwei " |
| 156 |
"Argumenten aufgerufen, die auf die zu vergleichenden Objekte zeigen." |
| 157 |
|
| 158 |
#. type: Plain text |
| 159 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 160 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 161 |
msgid "" |
| 162 |
"The comparison function must return an integer less than, equal to, or " |
| 163 |
"greater than zero if the first argument is considered to be respectively " |
| 164 |
"less than, equal to, or greater than the second. If two members compare as " |
| 165 |
"equal, their order in the sorted array is undefined." |
| 166 |
msgstr "" |
| 167 |
"Die Vergleichsfunktion muss eine Ganzzahl zurückgeben, die kleiner, gleich " |
| 168 |
"oder größer Null ist, je nachdem, ob das erste Argument kleiner, gleich oder " |
| 169 |
"größer als das zweite ist. Wenn zwei Inhalte des Feldes gleich sind, ist " |
| 170 |
"ihre Reihenfolge unbestimmt." |
| 171 |
|
| 172 |
#. type: Plain text |
| 173 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 174 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 175 |
msgid "" |
| 176 |
"The B<qsort_r>() function is identical to B<qsort>() except that the " |
| 177 |
"comparison function I<compar> takes a third argument. A pointer is passed " |
| 178 |
"to the comparison function via I<arg>. In this way, the comparison function " |
| 179 |
"does not need to use global variables to pass through arbitrary arguments, " |
| 180 |
"and is therefore reentrant and safe to use in threads." |
| 181 |
msgstr "" |
| 182 |
"Die Funktion B<qsort_r>() ist mit B<qsort>() identisch, außer, dass die " |
| 183 |
"Vergleichsfunktion I<vergleich> ein drittes Argument entgegennimmt. An die " |
| 184 |
"Vergleichsfunktion wird ein Zeiger per I<argument> übergeben. Auf diese " |
| 185 |
"Weise benötigt die Vergleichsfunktion keine globalen Variablen, um beliebige " |
| 186 |
"Argumente weiterzureichen und ist daher ablaufinvariant und sicher für die " |
| 187 |
"Verwendung in Threads." |
| 188 |
|
| 189 |
#. type: SH |
| 190 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 191 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 192 |
#, no-wrap |
| 193 |
msgid "RETURN VALUE" |
| 194 |
msgstr "RÜCKGABEWERT" |
| 195 |
|
| 196 |
#. type: Plain text |
| 197 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 198 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 199 |
msgid "The B<qsort>() and B<qsort_r>() functions return no value." |
| 200 |
msgstr "Die Funktionen B<qsort>() und B<qsort_r>() geben keinen Wert zurück." |
| 201 |
|
| 202 |
#. type: SH |
| 203 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 204 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 205 |
#, no-wrap |
| 206 |
msgid "ATTRIBUTES" |
| 207 |
msgstr "ATTRIBUTE" |
| 208 |
|
| 209 |
#. type: Plain text |
| 210 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 211 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 212 |
msgid "" |
| 213 |
"For an explanation of the terms used in this section, see B<attributes>(7)." |
| 214 |
msgstr "" |
| 215 |
"Siehe B<attributes>(7) für eine Erläuterung der in diesem Abschnitt " |
| 216 |
"verwandten Ausdrücke." |
| 217 |
|
| 218 |
#. type: tbl table |
| 219 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 220 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 221 |
#, no-wrap |
| 222 |
msgid "Interface" |
| 223 |
msgstr "Schnittstelle" |
| 224 |
|
| 225 |
#. type: tbl table |
| 226 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 227 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 228 |
#, no-wrap |
| 229 |
msgid "Attribute" |
| 230 |
msgstr "Attribut" |
| 231 |
|
| 232 |
#. type: tbl table |
| 233 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 234 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 235 |
#, no-wrap |
| 236 |
msgid "Value" |
| 237 |
msgstr "Wert" |
| 238 |
|
| 239 |
#. type: tbl table |
| 240 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 241 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 242 |
#, no-wrap |
| 243 |
msgid ".na\n" |
| 244 |
msgstr ".na\n" |
| 245 |
|
| 246 |
#. type: tbl table |
| 247 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 248 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 249 |
#, no-wrap |
| 250 |
msgid ".nh\n" |
| 251 |
msgstr ".nh\n" |
| 252 |
|
| 253 |
#. type: tbl table |
| 254 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 255 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 256 |
#, no-wrap |
| 257 |
msgid "" |
| 258 |
"B<qsort>(),\n" |
| 259 |
"B<qsort_r>()" |
| 260 |
msgstr "" |
| 261 |
"B<qsort>(),\n" |
| 262 |
"B<qsort_r>()" |
| 263 |
|
| 264 |
#. type: tbl table |
| 265 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 266 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 267 |
#, no-wrap |
| 268 |
msgid "Thread safety" |
| 269 |
msgstr "Multithread-Fähigkeit" |
| 270 |
|
| 271 |
#. type: tbl table |
| 272 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 273 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 274 |
#, no-wrap |
| 275 |
msgid "MT-Safe" |
| 276 |
msgstr "MT-Sicher" |
| 277 |
|
| 278 |
#. type: SH |
| 279 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 280 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 281 |
#, no-wrap |
| 282 |
msgid "STANDARDS" |
| 283 |
msgstr "STANDARDS" |
| 284 |
|
| 285 |
#. type: TP |
| 286 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 287 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 288 |
#, no-wrap |
| 289 |
msgid "B<qsort>()" |
| 290 |
msgstr "B<qsort>()" |
| 291 |
|
| 292 |
#. type: Plain text |
| 293 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 294 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 295 |
msgid "C11, POSIX.1-2008." |
| 296 |
msgstr "C11, POSIX.1-2008." |
| 297 |
|
| 298 |
#. type: SH |
| 299 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 300 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 301 |
#, no-wrap |
| 302 |
msgid "HISTORY" |
| 303 |
msgstr "GESCHICHTE" |
| 304 |
|
| 305 |
#. type: Plain text |
| 306 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 307 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 308 |
msgid "POSIX.1-2001, C89, SVr4, 4.3BSD." |
| 309 |
msgstr "POSIX.1-2001, C89, SVr4, 4.3BSD." |
| 310 |
|
| 311 |
#. type: TP |
| 312 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 313 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 314 |
#, no-wrap |
| 315 |
msgid "B<qsort_r>()" |
| 316 |
msgstr "B<qsort_r>()" |
| 317 |
|
| 318 |
#. type: Plain text |
| 319 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 320 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 321 |
msgid "glibc 2.8." |
| 322 |
msgstr "Glibc 2.8." |
| 323 |
|
| 324 |
#. type: SH |
| 325 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 326 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 327 |
#, no-wrap |
| 328 |
msgid "NOTES" |
| 329 |
msgstr "ANMERKUNGEN" |
| 330 |
|
| 331 |
#. type: Plain text |
| 332 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 333 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 334 |
msgid "" |
| 335 |
"To compare C strings, the comparison function can call B<strcmp>(3), as " |
| 336 |
"shown in the example below." |
| 337 |
msgstr "" |
| 338 |
"Um C-Zeichenketten zu vergleichen, rufen Sie B<strcmp>(3) auf, wie es im " |
| 339 |
"folgenden Beispiel gezeigt wird." |
| 340 |
|
| 341 |
#. type: SH |
| 342 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 343 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 344 |
#, no-wrap |
| 345 |
msgid "EXAMPLES" |
| 346 |
msgstr "BEISPIELE" |
| 347 |
|
| 348 |
#. type: Plain text |
| 349 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 350 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 351 |
msgid "For one example of use, see the example under B<bsearch>(3)." |
| 352 |
msgstr "Ein Beispiel für den Gebrauch finden Sie unter B<bsearch>(3)." |
| 353 |
|
| 354 |
#. type: Plain text |
| 355 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 356 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 357 |
msgid "" |
| 358 |
"Another example is the following program, which sorts the strings given in " |
| 359 |
"its command-line arguments:" |
| 360 |
msgstr "" |
| 361 |
"Ein weiteres Beispiel ist das folgende Programm, das Zeichenketten sortiert, " |
| 362 |
"die als Befehlszeilen-Argumente übergebenen werden:" |
| 363 |
|
| 364 |
#. type: Plain text |
| 365 |
#: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1 |
| 366 |
#: opensuse-tumbleweed |
| 367 |
#, no-wrap |
| 368 |
msgid "" |
| 369 |
"#include E<lt>stdio.hE<gt>\n" |
| 370 |
"#include E<lt>stdlib.hE<gt>\n" |
| 371 |
"#include E<lt>string.hE<gt>\n" |
| 372 |
"\\&\n" |
| 373 |
"static int\n" |
| 374 |
"cmpstringp(const void *p1, const void *p2)\n" |
| 375 |
"{\n" |
| 376 |
" /* The actual arguments to this function are \"pointers to\n" |
| 377 |
" pointers to char\", but strcmp(3) arguments are \"pointers\n" |
| 378 |
" to char\", hence the following cast plus dereference. */\n" |
| 379 |
"\\&\n" |
| 380 |
" return strcmp(*(const char **) p1, *(const char **) p2);\n" |
| 381 |
"}\n" |
| 382 |
"\\&\n" |
| 383 |
"int\n" |
| 384 |
"main(int argc, char *argv[])\n" |
| 385 |
"{\n" |
| 386 |
" if (argc E<lt> 2) {\n" |
| 387 |
" fprintf(stderr, \"Usage: %s E<lt>stringE<gt>...\\[rs]n\", argv[0]);\n" |
| 388 |
" exit(EXIT_FAILURE);\n" |
| 389 |
" }\n" |
| 390 |
"\\&\n" |
| 391 |
" qsort(&argv[1], argc - 1, sizeof(char *), cmpstringp);\n" |
| 392 |
"\\&\n" |
| 393 |
" for (size_t j = 1; j E<lt> argc; j++)\n" |
| 394 |
" puts(argv[j]);\n" |
| 395 |
" exit(EXIT_SUCCESS);\n" |
| 396 |
"}\n" |
| 397 |
msgstr "" |
| 398 |
"#include E<lt>stdio.hE<gt>\n" |
| 399 |
"#include E<lt>stdlib.hE<gt>\n" |
| 400 |
"#include E<lt>string.hE<gt>\n" |
| 401 |
"\\&\n" |
| 402 |
"static int\n" |
| 403 |
"cmpstringp(const void *p1, const void *p2)\n" |
| 404 |
"{\n" |
| 405 |
" /* Die tatsächlichen Argumente dieser Funktion sind »Zeiger auf\n" |
| 406 |
" Zeiger auf char«, strcmp(3)-Argumente sind aber »Zeiger auf\n" |
| 407 |
" char«, daher wird im Folgenden umgewandelt und zurückverfolgt. */\n" |
| 408 |
"\\&\n" |
| 409 |
" return strcmp(*(const char **) p1, *(const char **) p2);\n" |
| 410 |
"}\n" |
| 411 |
"\\&\n" |
| 412 |
"int\n" |
| 413 |
"main(int argc, char *argv[])\n" |
| 414 |
"{\n" |
| 415 |
" if (argc E<lt> 2) {\n" |
| 416 |
" fprintf(stderr, \"Usage: %s E<lt>stringE<gt>…\\[rs]n\", argv[0]);\n" |
| 417 |
" exit(EXIT_FAILURE);\n" |
| 418 |
" }\n" |
| 419 |
"\\&\n" |
| 420 |
" qsort(&argv[1], argc - 1, sizeof(char *), cmpstringp);\n" |
| 421 |
"\\&\n" |
| 422 |
" for (size_t j = 1; j E<lt> argc; j++)\n" |
| 423 |
" puts(argv[j]);\n" |
| 424 |
" exit(EXIT_SUCCESS);\n" |
| 425 |
"}\n" |
| 426 |
|
| 427 |
#. SRC END |
| 428 |
#. type: SH |
| 429 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 430 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 431 |
#, no-wrap |
| 432 |
msgid "SEE ALSO" |
| 433 |
msgstr "SIEHE AUCH" |
| 434 |
|
| 435 |
#. type: Plain text |
| 436 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 437 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 438 |
msgid "B<sort>(1), B<alphasort>(3), B<strcmp>(3), B<versionsort>(3)" |
| 439 |
msgstr "B<sort>(1), B<alphasort>(3), B<strcmp>(3), B<versionsort>(3)" |
| 440 |
|
| 441 |
#. type: TH |
| 442 |
#: debian-trixie |
| 443 |
#, no-wrap |
| 444 |
msgid "2024-06-15" |
| 445 |
msgstr "15. Juni 2024" |
| 446 |
|
| 447 |
#. type: TH |
| 448 |
#: debian-trixie |
| 449 |
#, no-wrap |
| 450 |
msgid "Linux man-pages 6.9.1" |
| 451 |
msgstr "Linux man-pages 6.9.1" |
| 452 |
|
| 453 |
#. type: Plain text |
| 454 |
#: debian-trixie |
| 455 |
msgid "Standard C library (I<libc>, I<-lc>)" |
| 456 |
msgstr "Standard-C-Bibliothek (I<libc>, I<-lc>)" |
| 457 |
|
| 458 |
#. type: Plain text |
| 459 |
#: debian-trixie |
| 460 |
#, no-wrap |
| 461 |
msgid "" |
| 462 |
"B<void qsort(void >I<base>B<[.>I<size>B< * .>I<nmemb>B<], size_t >I<nmemb>B<, size_t >I<size>B<,>\n" |
| 463 |
"B< int (*>I<compar>B<)(const void [.>I<size>B<], const void [.>I<size>B<]));>\n" |
| 464 |
"B<void qsort_r(void >I<base>B<[.>I<size>B< * .>I<nmemb>B<], size_t >I<nmemb>B<, size_t >I<size>B<,>\n" |
| 465 |
"B< int (*>I<compar>B<)(const void [.>I<size>B<], const void [.>I<size>B<], void *),>\n" |
| 466 |
"B< void *>I<arg>B<);>\n" |
| 467 |
msgstr "" |
| 468 |
"B<void qsort(void >I<basis>B<[.>I<groesse>B< * .>I<nmemb>B<], size_t >I<nmemb>B<, size_t >I<groesse>B<,>\n" |
| 469 |
"B< int (*>I<vergleich>B<)(const void [.>I<groesse>B<], const void [.>I<groesse>B<]));>\n" |
| 470 |
"B<void qsort_r(void >I<basis>B<[.>I<groesse>B< * .>I<nmemb>B<], size_t >I<nmemb>B<, size_t >I<groesse>B<,>\n" |
| 471 |
"B< int (*>I<vergleich>B<)(const void [.>I<groesse>B<], const void [.>I<groesse>B<], void *),>\n" |
| 472 |
"B< void *>I<argument>B<);>\n" |
| 473 |
|
| 474 |
#. type: Plain text |
| 475 |
#: debian-trixie |
| 476 |
msgid "" |
| 477 |
"The B<qsort>() function sorts an array with I<nmemb> elements of size " |
| 478 |
"I<size>. The I<base> argument points to the start of the array." |
| 479 |
msgstr "" |
| 480 |
"Die Funktion B<qsort>() sortiert ein Feld mit I<nmemb> Elementen der Größe " |
| 481 |
"I<groesse>. Das Argument I<basis> zeigt auf den Anfang des Feldes." |
| 482 |
|
| 483 |
#. type: Plain text |
| 484 |
#: debian-trixie fedora-44 fedora-rawhide |
| 485 |
#, no-wrap |
| 486 |
msgid "" |
| 487 |
"#include E<lt>stdio.hE<gt>\n" |
| 488 |
"#include E<lt>stdlib.hE<gt>\n" |
| 489 |
"#include E<lt>string.hE<gt>\n" |
| 490 |
"\\&\n" |
| 491 |
"static int\n" |
| 492 |
"cmpstringp(const void *p1, const void *p2)\n" |
| 493 |
"{\n" |
| 494 |
" /* The actual arguments to this function are \"pointers to\n" |
| 495 |
" pointers to char\", but strcmp(3) arguments are \"pointers\n" |
| 496 |
" to char\", hence the following cast plus dereference. */\n" |
| 497 |
"\\&\n" |
| 498 |
" return strcmp(*(const char **) p1, *(const char **) p2);\n" |
| 499 |
"}\n" |
| 500 |
"\\&\n" |
| 501 |
"int\n" |
| 502 |
"main(int argc, char *argv[])\n" |
| 503 |
"{\n" |
| 504 |
" if (argc E<lt> 2) {\n" |
| 505 |
" fprintf(stderr, \"Usage: %s E<lt>stringE<gt>...\\[rs]n\", argv[0]);\n" |
| 506 |
" exit(EXIT_FAILURE);\n" |
| 507 |
" }\n" |
| 508 |
"\\&\n" |
| 509 |
" qsort(&argv[1], argc - 1, sizeof(char *), cmpstringp);\n" |
| 510 |
"\\&\n" |
| 511 |
" for (size_t j = 1; j E<lt> argc; j++)\n" |
| 512 |
" puts(argv[j]);\n" |
| 513 |
" exit(EXIT_SUCCESS);\n" |
| 514 |
"}\n" |
| 515 |
msgstr "" |
| 516 |
"#include E<lt>stdio.hE<gt>\n" |
| 517 |
"#include E<lt>stdlib.hE<gt>\n" |
| 518 |
"#include E<lt>string.hE<gt>\n" |
| 519 |
"\\&\n" |
| 520 |
"static int\n" |
| 521 |
"cmpstringp(const void *p1, const void *p2)\n" |
| 522 |
"{\n" |
| 523 |
" /* Die tatsächlichen Argumente dieser Funktion sind »Zeiger auf\n" |
| 524 |
" Zeiger auf char«, strcmp(3)-Argumente sind aber »Zeiger auf\n" |
| 525 |
" char«, daher wird im Folgenden umgewandelt und zurückverfolgt. */\n" |
| 526 |
"\\&\n" |
| 527 |
" return strcmp(*(const char **) p1, *(const char **) p2);\n" |
| 528 |
"}\n" |
| 529 |
"\\&\n" |
| 530 |
"int\n" |
| 531 |
"main(int argc, char *argv[])\n" |
| 532 |
"{\n" |
| 533 |
" if (argc E<lt> 2) {\n" |
| 534 |
" fprintf(stderr, \"Usage: %s E<lt>stringE<gt>…\\[rs]n\", argv[0]);\n" |
| 535 |
" exit(EXIT_FAILURE);\n" |
| 536 |
" }\n" |
| 537 |
"\\&\n" |
| 538 |
" qsort(&argv[1], argc - 1, sizeof(char *), cmpstringp);\n" |
| 539 |
"\\&\n" |
| 540 |
" for (size_t j = 1; j E<lt> argc; j++)\n" |
| 541 |
" puts(argv[j]);\n" |
| 542 |
" exit(EXIT_SUCCESS);\n" |
| 543 |
"}\n" |
| 544 |
|
| 545 |
#. type: TH |
| 546 |
#: fedora-44 fedora-rawhide |
| 547 |
#, no-wrap |
| 548 |
msgid "2024-12-13" |
| 549 |
msgstr "13. Dezember 2024" |
| 550 |
|
| 551 |
#. type: TH |
| 552 |
#: fedora-44 fedora-rawhide |
| 553 |
#, no-wrap |
| 554 |
msgid "Linux man-pages 6.13" |
| 555 |
msgstr "Linux man-pages 6.13" |
| 556 |
|
| 557 |
#. type: Plain text |
| 558 |
#: fedora-44 fedora-rawhide |
| 559 |
#, no-wrap |
| 560 |
msgid "" |
| 561 |
"B<void qsort(void >I<base>B<[.>I<size>B< * .>I<n>B<], size_t >I<n>B<, size_t >I<size>B<,>\n" |
| 562 |
"B< typeof(int (const void [.>I<size>B<], const void [.>I<size>B<]))>\n" |
| 563 |
"B< *>I<compar>B<);>\n" |
| 564 |
"B<void qsort_r(void >I<base>B<[.>I<size>B< * .>I<n>B<], size_t >I<n>B<, size_t >I<size>B<,>\n" |
| 565 |
"B< typeof(int (const void [.>I<size>B<], const void [.>I<size>B<], void *))>\n" |
| 566 |
"B< *>I<compar>B<,>\n" |
| 567 |
"B< void *>I<arg>B<);>\n" |
| 568 |
msgstr "" |
| 569 |
"B<void qsort(void >I<basis>B<[.>I<groesse>B< * .>I<n>B<], size_t >I<n>B<, size_t >I<groesse>B<,>\n" |
| 570 |
"B< typeof(int (const void [.>I<groesse>B<], const void [.>I<groesse>B<]))>\n" |
| 571 |
"B< *>I<vergleich>B<);>\n" |
| 572 |
"B<void qsort_r(void >I<basis>B<[.>I<groesse>B< * .>I<n>B<], size_t >I<n>B<, size_t >I<groesse>B<,>\n" |
| 573 |
"B< typeof(int (const void [.>I<groesse>B<], const void [.>I<groesse>B<], void *))>\n" |
| 574 |
"B< *>I<vergleich>B<,>\n" |
| 575 |
"B< void *>I<argument>B<);>\n" |
| 576 |
|
| 577 |
#. type: TH |
| 578 |
#: mageia-cauldron |
| 579 |
#, no-wrap |
| 580 |
msgid "Linux man-pages 6.17" |
| 581 |
msgstr "Linux man-pages 6.17" |
| 582 |
|
| 583 |
#. type: TH |
| 584 |
#: opensuse-leap-16-1 opensuse-tumbleweed |
| 585 |
#, no-wrap |
| 586 |
msgid "Linux man-pages (unreleased)" |
| 587 |
msgstr "Linux man-pages (unveröffentlicht)" |