# German translation of manpages # This file is distributed under the same license as the manpages-l10n package. # Copyright © of this file: # Martin Eberhard Schauer , 2012. # Mario Blättermann , 2020, 2021, 2022, 2023. msgid "" msgstr "" "Project-Id-Version: manpages-de\n" "POT-Creation-Date: 2024-06-01 05:55+0200\n" "PO-Revision-Date: 2023-08-30 17:03+0200\n" "Last-Translator: Mario Blättermann \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" "X-Generator: Lokalize 23.04.3\n" "Plural-Forms: nplurals=2; plural=n != 1;\n" #. type: TH #: archlinux debian-bookworm debian-unstable fedora-40 fedora-rawhide #: mageia-cauldron opensuse-leap-15-6 opensuse-tumbleweed #, no-wrap msgid "hsearch" msgstr "hsearch" #. type: TH #: archlinux debian-unstable opensuse-tumbleweed #, no-wrap msgid "2024-05-02" msgstr "2. Mai 2024" #. type: TH #: archlinux debian-unstable #, no-wrap msgid "Linux man-pages 6.8" msgstr "Linux man-pages 6.8" #. type: SH #: archlinux debian-bookworm debian-unstable fedora-40 fedora-rawhide #: mageia-cauldron opensuse-leap-15-6 opensuse-tumbleweed #, no-wrap msgid "NAME" msgstr "BEZEICHNUNG" #. type: Plain text #: archlinux debian-bookworm debian-unstable fedora-40 fedora-rawhide #: mageia-cauldron opensuse-leap-15-6 opensuse-tumbleweed msgid "" "hcreate, hdestroy, hsearch, hcreate_r, hdestroy_r, hsearch_r - hash table " "management" msgstr "" "hcreate, hdestroy, hsearch, hcreate_r, hdestroy_r, hsearch_r - Verwaltung " "von Hash-Tabellen" #. type: SH #: archlinux debian-bookworm debian-unstable fedora-40 fedora-rawhide #: mageia-cauldron opensuse-leap-15-6 opensuse-tumbleweed #, no-wrap msgid "LIBRARY" msgstr "BIBLIOTHEK" #. type: Plain text #: archlinux debian-bookworm debian-unstable fedora-40 fedora-rawhide #: mageia-cauldron opensuse-leap-15-6 opensuse-tumbleweed msgid "Standard C library (I, I<-lc>)" msgstr "Standard-C-Bibliothek (I, I<-lc>)" #. type: SH #: archlinux debian-bookworm debian-unstable fedora-40 fedora-rawhide #: mageia-cauldron opensuse-leap-15-6 opensuse-tumbleweed #, no-wrap msgid "SYNOPSIS" msgstr "ÜBERSICHT" #. type: Plain text #: archlinux debian-bookworm debian-unstable fedora-40 fedora-rawhide #: mageia-cauldron opensuse-leap-15-6 opensuse-tumbleweed #, no-wrap msgid "B<#include Esearch.hE>\n" msgstr "B<#include Esearch.hE>\n" #. type: Plain text #: archlinux debian-bookworm debian-unstable fedora-40 fedora-rawhide #: mageia-cauldron opensuse-leap-15-6 opensuse-tumbleweed #, no-wrap msgid "" "BIB<);>\n" "B\n" msgstr "" "BIB<);>\n" "B\n" #. type: Plain text #: archlinux debian-bookworm debian-unstable fedora-40 fedora-rawhide #: mageia-cauldron opensuse-leap-15-6 opensuse-tumbleweed #, no-wrap msgid "BIB<, ACTION >IB<);>\n" msgstr "BIB<, ACTION >IB<);>\n" #. type: Plain text #: archlinux debian-bookworm debian-unstable fedora-40 fedora-rawhide #: mageia-cauldron opensuse-leap-15-6 opensuse-tumbleweed #, no-wrap msgid "" "B<#define _GNU_SOURCE> /* See feature_test_macros(7) */\n" "B<#include Esearch.hE>\n" msgstr "" "B<#define _GNU_SOURCE> /* siehe feature_test_macros(7) */\n" "B<#include Esearch.hE>\n" #. type: Plain text #: archlinux debian-bookworm debian-unstable fedora-40 fedora-rawhide #: mageia-cauldron opensuse-leap-15-6 opensuse-tumbleweed #, no-wrap msgid "" "BIB<, struct hsearch_data *>IB<);>\n" "BIB<);>\n" msgstr "" "BIB<, struct hsearch_data *>IB<);>\n" "BIB<);>\n" #. type: Plain text #: archlinux debian-bookworm debian-unstable fedora-40 fedora-rawhide #: mageia-cauldron opensuse-leap-15-6 opensuse-tumbleweed #, no-wrap msgid "" "BIB<, ACTION >IB<, ENTRY **>IB<,>\n" "B< struct hsearch_data *>IB<);>\n" msgstr "" "BIB<, ACTION >IB<, ENTRY **>IB<,>\n" "B< struct hsearch_data *>IB<);>\n" #. type: SH #: archlinux debian-bookworm debian-unstable fedora-40 fedora-rawhide #: mageia-cauldron opensuse-leap-15-6 opensuse-tumbleweed #, no-wrap msgid "DESCRIPTION" msgstr "BESCHREIBUNG" #. type: Plain text #: archlinux debian-bookworm debian-unstable fedora-40 fedora-rawhide #: mageia-cauldron opensuse-leap-15-6 opensuse-tumbleweed msgid "" "The three functions B(), B(), and B() allow the " "caller to create and manage a hash search table containing entries " "consisting of a key (a string) and associated data. Using these functions, " "only one hash table can be used at a time." msgstr "" "Die drei Funktionen B(), B() und B() ermöglichen " "dem Aufrufer die Erstellung und Verwaltung einer Hash-Suchtabelle. Deren " "Einträge sind Paare aus einem Schlüssel (eine Zeichenkette) und zugeordneten " "Daten. Mit diesen Funktionen kann immer nur eine Hash-Tabelle genutzt werden." #. type: Plain text #: archlinux debian-bookworm debian-unstable fedora-40 fedora-rawhide #: mageia-cauldron opensuse-leap-15-6 opensuse-tumbleweed msgid "" "The three functions B(), B(), B() are " "reentrant versions that allow a program to use more than one hash search " "table at the same time. The last argument, I, points to a structure " "that describes the table on which the function is to operate. The " "programmer should treat this structure as opaque (i.e., do not attempt to " "directly access or modify the fields in this structure)." msgstr "" "Die drei Funktionen B(), B(), B() sind " "ablaufinvariante Funktionen, die überdies Programmen ermöglichen, mit " "mehreren Hash-Tabellen gleichzeitig zu arbeiten. Das letzte Argument, " "I, zeigt auf eine Struktur mit der Beschreibung der Hash-Tabelle, die " "die Funktion verwenden soll. Der Programmierer sollte diese Struktur als " "»undurchsichtig« behandeln (d.h. er sollte nicht versuchen, direkt auf " "Felder der Struktur zuzugreifen oder zu verändern)." #. e.g., in glibc it is raised to the next higher prime number #. type: Plain text #: archlinux debian-bookworm debian-unstable fedora-40 fedora-rawhide #: mageia-cauldron opensuse-leap-15-6 opensuse-tumbleweed msgid "" "First a hash table must be created using B(). The argument I " "specifies the maximum number of entries in the table. (This maximum cannot " "be changed later, so choose it wisely.) The implementation may adjust this " "value upward to improve the performance of the resulting hash table." msgstr "" "Zuerst muss mittels B() eine Hash-Tabelle erzeugt werden. Das " "Argument I gibt die Maximalzahl der Einträge in der Tabelle an. (Dieses " "Maximum kann in der Folge nicht geändert werden, wählen Sie es also mit " "Bedacht.) Es ist möglich, dass die Implementierung diesen Wert nach oben " "anpasst, um die Leistungsfähigkeit der resultierenden Hash-Tabelle zu " "verbessern." #. type: Plain text #: archlinux debian-bookworm debian-unstable fedora-40 fedora-rawhide #: mageia-cauldron opensuse-leap-15-6 opensuse-tumbleweed msgid "" "The B() function performs the same task as B(), but for " "the table described by the structure I<*htab>. The structure pointed to by " "I must be zeroed before the first call to B()." msgstr "" "Die Funktion B() erledigt die gleiche Aufgabe wie B(), " "tut das aber für die Tabelle, die durch die Struktur I<*htab> beschrieben " "wird. Vor dem ersten Aufruf von B() muss die Struktur I mit " "Nullen initialisiert werden." #. type: Plain text #: archlinux debian-bookworm debian-unstable fedora-40 fedora-rawhide #: mageia-cauldron opensuse-leap-15-6 opensuse-tumbleweed msgid "" "The function B() frees the memory occupied by the hash table that " "was created by B(). After calling B(), a new hash table " "can be created using B(). The B() function performs " "the analogous task for a hash table described by I<*htab>, which was " "previously created using B()." msgstr "" "Die Funktion B() gibt den Speicher frei, den die von B() " "erzeugte Hash-Tabelle beansprucht. Nach dem Aufruf von B() kann " "mittels B() eine neue Hash-Tabelle erzeugt werden. Die Funktion " "B() erledigt die analoge Aufgabe für die durch I<*htab> " "beschriebene Hash-Tabelle, die zuvor mittels B() erzeugt wurde." #. type: Plain text #: archlinux debian-bookworm debian-unstable fedora-40 fedora-rawhide #: mageia-cauldron opensuse-leap-15-6 opensuse-tumbleweed msgid "" "The B() function searches the hash table for an item with the same " "key as I (where \"the same\" is determined using B(3)), and if " "successful returns a pointer to it." msgstr "" "Die Funktion B() durchsucht die Hash-Tabelle nach einem Eintrag mit " "dem gleichen Schlüssel wie I (wobei »der gleiche« mittels " "B(3) bestimmt wird) und gibt bei Erfolg einen Zeiger auf diesen " "Eintrag zurück." #. type: Plain text #: archlinux debian-bookworm debian-unstable fedora-40 fedora-rawhide #: mageia-cauldron opensuse-leap-15-6 opensuse-tumbleweed msgid "" "The argument I is of type I, which is defined in Isearch." "hE> as follows:" msgstr "" "Das Argument I ist vom Typ I, der in Isearch.hE> " "wie folgt definiert wird:" #. type: Plain text #: archlinux debian-bookworm debian-unstable fedora-40 fedora-rawhide #: mageia-cauldron opensuse-leap-15-6 opensuse-tumbleweed #, no-wrap msgid "" "typedef struct entry {\n" " char *key;\n" " void *data;\n" "} ENTRY;\n" msgstr "" "typedef struct entry {\n" " char *key;\n" " void *data;\n" "} ENTRY;\n" #. type: Plain text #: archlinux debian-bookworm debian-unstable fedora-40 fedora-rawhide #: mageia-cauldron opensuse-leap-15-6 opensuse-tumbleweed msgid "" "The field I points to a null-terminated string which is the search " "key. The field I points to data that is associated with that key." msgstr "" "Das Feld I zeigt auf eine null-terminierte Zeichenkette, die als " "Suchschlüssel dient. Das Feld I zeigt auf dem Schlüssel zugeordnete " "Daten." #. type: Plain text #: archlinux debian-bookworm debian-unstable fedora-40 fedora-rawhide #: mageia-cauldron opensuse-leap-15-6 opensuse-tumbleweed msgid "" "The argument I determines what B() does after an " "unsuccessful search. This argument must either have the value B, " "meaning insert a copy of I (and return a pointer to the new hash table " "entry as the function result), or the value B, meaning that NULL " "should be returned. (If I is B, then I is ignored.)" msgstr "" "Das Argument I bestimmt, was B() nach einer erfolglosen " "Suche unternimmt. Dieses Argument muss einen von zwei Werten annehmen: für " "den Wert B soll eine Kopie von I in die Tabelle eingefügt " "werden (und ein Zeiger auf den neuen Eintrag in der Hash-Tabelle als " "Ergebnis der Funktion zurückgegeben werden); B bedeutet, dass NULL " "zurückgegeben werden sollte. (Falls I gleich B ist, wird " "I ignoriert.)" #. type: Plain text #: archlinux debian-bookworm debian-unstable fedora-40 fedora-rawhide #: mageia-cauldron opensuse-leap-15-6 opensuse-tumbleweed msgid "" "The B() function is like B() but operates on the hash " "table described by I<*htab>. The B() function differs from " "B() in that a pointer to the found item is returned in I<*retval>, " "rather than as the function result." msgstr "" "Die Funktion B() arbeitet wie B(), aber mit der durch " "I<*htab> beschriebenen Hash-Tabelle. Der Unterschied zwischen B() " "und B() ist, das der Zeiger auf den gefundenen Eintrag in " "I<*rückwert> zurückgegeben wird und nicht als Funktionsergebnis." #. type: SH #: archlinux debian-bookworm debian-unstable fedora-40 fedora-rawhide #: mageia-cauldron opensuse-leap-15-6 opensuse-tumbleweed #, no-wrap msgid "RETURN VALUE" msgstr "RÜCKGABEWERT" #. type: Plain text #: archlinux debian-bookworm debian-unstable fedora-40 fedora-rawhide #: mageia-cauldron opensuse-leap-15-6 opensuse-tumbleweed msgid "" "B() and B() return nonzero on success. They return 0 " "on error, with I set to indicate the error." msgstr "" "B() und B() geben bei Erfolg einen Wert ungleich null " "zurück; im Fehlerfall 0, wobei I gesetzt wird, um den Fehler " "anzuzeigen." #. type: Plain text #: archlinux debian-bookworm debian-unstable fedora-40 fedora-rawhide #: mageia-cauldron opensuse-leap-15-6 opensuse-tumbleweed msgid "" "On success, B() returns a pointer to an entry in the hash table. " "B() returns NULL on error, that is, if I is B and " "the hash table is full, or I is B and I cannot be found " "in the hash table. B() returns nonzero on success, and 0 on " "error. In the event of an error, these two functions set I to " "indicate the error." msgstr "" "Bei Erfolg gibt B() einen Zeiger auf einen Eintrag in der Hash-" "Tabelle zurück. Bei einem Fehler gibt B() NULL zurück. Fehler " "treten auf, wenn die gewünschte I B und die Hash-Tabelle voll " "ist oder wenn die I B ist und I nicht in der Hash-" "Tabelle gefunden werden kann. Im Fehlerfall setzen diese zwei Funktionen " "I, um den Fehler anzuzeigen." #. type: SH #: archlinux debian-bookworm debian-unstable fedora-40 fedora-rawhide #: mageia-cauldron opensuse-leap-15-6 opensuse-tumbleweed #, no-wrap msgid "ERRORS" msgstr "FEHLER" #. type: Plain text #: archlinux debian-bookworm debian-unstable fedora-40 fedora-rawhide #: mageia-cauldron opensuse-leap-15-6 opensuse-tumbleweed msgid "" "B() and B() can fail for the following reasons:" msgstr "" "B() und B() können aus den folgenden Gründen " "fehlschlagen:" #. type: TP #: archlinux debian-bookworm debian-unstable fedora-40 fedora-rawhide #: mageia-cauldron opensuse-leap-15-6 opensuse-tumbleweed #, no-wrap msgid "B" msgstr "B" #. type: Plain text #: archlinux debian-bookworm debian-unstable fedora-40 fedora-rawhide #: mageia-cauldron opensuse-leap-15-6 opensuse-tumbleweed msgid "I is NULL." msgstr "I ist NULL." #. type: Plain text #: archlinux debian-bookworm debian-unstable fedora-40 fedora-rawhide #: mageia-cauldron opensuse-leap-15-6 opensuse-tumbleweed msgid "B() and B() can fail for the following reasons:" msgstr "" "B() und B() können aus den folgenden Gründen " "fehlschlagen:" #. type: TP #: archlinux debian-bookworm debian-unstable fedora-40 fedora-rawhide #: mageia-cauldron opensuse-leap-15-6 opensuse-tumbleweed #, no-wrap msgid "B" msgstr "B" #. type: Plain text #: archlinux debian-bookworm debian-unstable fedora-40 fedora-rawhide #: mageia-cauldron opensuse-leap-15-6 opensuse-tumbleweed msgid "" "I was B, I was not found in the table, and there was no " "room in the table to add a new entry." msgstr "" "Die I war B, I wurde nicht in der Tabelle gefunden und " "es war nicht ausreichend Platz für einen neuen Eintrag vorhanden." #. type: TP #: archlinux debian-bookworm debian-unstable fedora-40 fedora-rawhide #: mageia-cauldron opensuse-leap-15-6 opensuse-tumbleweed #, no-wrap msgid "B" msgstr "B" #. type: Plain text #: archlinux debian-bookworm debian-unstable fedora-40 fedora-rawhide #: mageia-cauldron opensuse-leap-15-6 opensuse-tumbleweed msgid "I was B, and I was not found in the table." msgstr "" "Die I war B und I wurde nicht in der Tabelle gefunden." #. PROX.1-2001, POSIX.1-2008 #. type: Plain text #: archlinux debian-bookworm debian-unstable fedora-40 fedora-rawhide #: mageia-cauldron opensuse-leap-15-6 opensuse-tumbleweed msgid "POSIX.1 specifies only the B error." msgstr "POSIX.1 beschreibt nur den Fehler B." #. type: SH #: archlinux debian-bookworm debian-unstable fedora-40 fedora-rawhide #: mageia-cauldron opensuse-leap-15-6 opensuse-tumbleweed #, no-wrap msgid "ATTRIBUTES" msgstr "ATTRIBUTE" #. type: Plain text #: archlinux debian-bookworm debian-unstable fedora-40 fedora-rawhide #: mageia-cauldron opensuse-leap-15-6 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-bookworm debian-unstable fedora-40 fedora-rawhide #: mageia-cauldron opensuse-leap-15-6 opensuse-tumbleweed #, no-wrap msgid "Interface" msgstr "Schnittstelle" #. type: tbl table #: archlinux debian-bookworm debian-unstable fedora-40 fedora-rawhide #: mageia-cauldron opensuse-leap-15-6 opensuse-tumbleweed #, no-wrap msgid "Attribute" msgstr "Attribut" #. type: tbl table #: archlinux debian-bookworm debian-unstable fedora-40 fedora-rawhide #: mageia-cauldron opensuse-leap-15-6 opensuse-tumbleweed #, no-wrap msgid "Value" msgstr "Wert" #. type: tbl table #: archlinux debian-unstable fedora-40 fedora-rawhide mageia-cauldron #: opensuse-tumbleweed #, no-wrap msgid ".na\n" msgstr ".na\n" #. type: tbl table #: archlinux debian-unstable fedora-40 fedora-rawhide mageia-cauldron #: opensuse-tumbleweed #, no-wrap msgid ".nh\n" msgstr ".nh\n" #. type: tbl table #: archlinux debian-bookworm debian-unstable fedora-40 fedora-rawhide #: mageia-cauldron opensuse-leap-15-6 opensuse-tumbleweed #, no-wrap msgid "" "B(),\n" "B(),\n" "B()" msgstr "" "B(),\n" "B(),\n" "B()" #. type: tbl table #: archlinux debian-bookworm debian-unstable fedora-40 fedora-rawhide #: mageia-cauldron opensuse-leap-15-6 opensuse-tumbleweed #, no-wrap msgid "Thread safety" msgstr "Multithread-Fähigkeit" #. type: tbl table #: archlinux debian-bookworm debian-unstable fedora-40 fedora-rawhide #: mageia-cauldron opensuse-leap-15-6 opensuse-tumbleweed #, no-wrap msgid "MT-Unsafe race:hsearch" msgstr "MT-Unsicher race:hsearch" #. type: tbl table #: archlinux debian-bookworm debian-unstable fedora-40 fedora-rawhide #: mageia-cauldron opensuse-leap-15-6 opensuse-tumbleweed #, no-wrap msgid "" "B(),\n" "B(),\n" "B()" msgstr "" "B(),\n" "B(),\n" "B()" #. type: tbl table #: archlinux debian-bookworm debian-unstable fedora-40 fedora-rawhide #: mageia-cauldron opensuse-leap-15-6 opensuse-tumbleweed #, no-wrap msgid "MT-Safe race:htab" msgstr "MT-Sicher race:htab" #. type: SH #: archlinux debian-bookworm debian-unstable fedora-40 fedora-rawhide #: mageia-cauldron opensuse-leap-15-6 opensuse-tumbleweed #, no-wrap msgid "STANDARDS" msgstr "STANDARDS" #. type: TP #: archlinux debian-unstable fedora-40 fedora-rawhide mageia-cauldron #: opensuse-leap-15-6 opensuse-tumbleweed #, no-wrap msgid "B()" msgstr "B()" #. type: TQ #: archlinux debian-unstable fedora-40 fedora-rawhide mageia-cauldron #: opensuse-leap-15-6 opensuse-tumbleweed #, no-wrap msgid "B()" msgstr "B()" #. type: TQ #: archlinux debian-unstable fedora-40 fedora-rawhide mageia-cauldron #: opensuse-leap-15-6 opensuse-tumbleweed #, no-wrap msgid "B()" msgstr "B()" #. type: Plain text #: archlinux debian-unstable fedora-40 fedora-rawhide mageia-cauldron #: opensuse-leap-15-6 opensuse-tumbleweed msgid "POSIX.1-2008." msgstr "POSIX.1-2008." #. type: TP #: archlinux debian-unstable fedora-40 fedora-rawhide mageia-cauldron #: opensuse-leap-15-6 opensuse-tumbleweed #, no-wrap msgid "B()" msgstr "B()" #. type: TQ #: archlinux debian-unstable fedora-40 fedora-rawhide mageia-cauldron #: opensuse-leap-15-6 opensuse-tumbleweed #, no-wrap msgid "B()" msgstr "B()" #. type: TQ #: archlinux debian-unstable fedora-40 fedora-rawhide mageia-cauldron #: opensuse-leap-15-6 opensuse-tumbleweed #, no-wrap msgid "B()" msgstr "B()" #. type: Plain text #: archlinux debian-unstable fedora-40 fedora-rawhide mageia-cauldron #: opensuse-leap-15-6 opensuse-tumbleweed msgid "GNU." msgstr "GNU." #. type: SH #: archlinux debian-unstable fedora-40 fedora-rawhide mageia-cauldron #: opensuse-leap-15-6 opensuse-tumbleweed #, no-wrap msgid "HISTORY" msgstr "GESCHICHTE" #. type: Plain text #: archlinux debian-unstable fedora-40 fedora-rawhide mageia-cauldron #: opensuse-leap-15-6 opensuse-tumbleweed msgid "SVr4, POSIX.1-2001." msgstr "SVr4, POSIX.1-2001." #. type: SH #: archlinux debian-bookworm debian-unstable fedora-40 fedora-rawhide #: mageia-cauldron opensuse-leap-15-6 opensuse-tumbleweed #, no-wrap msgid "NOTES" msgstr "ANMERKUNGEN" #. type: Plain text #: archlinux debian-bookworm debian-unstable fedora-40 fedora-rawhide #: mageia-cauldron opensuse-leap-15-6 opensuse-tumbleweed msgid "" "Hash table implementations are usually more efficient when the table " "contains enough free space to minimize collisions. Typically, this means " "that I should be at least 25% larger than the maximum number of " "elements that the caller expects to store in the table." msgstr "" "Implementierungen von Hash-Tabellen sind in der Regel effizienter, wenn die " "Tabelle ausreichend freien Raum bereitstellt, um Kollisionen zu reduzieren. " "Typischerweise bedeutet das, dass I mindestens 25% größer als sein " "sollte als die maximale Anzahl von Elementen, die der Aufrufende in der " "Tabelle zu speichern erwartet." #. type: Plain text #: archlinux debian-bookworm debian-unstable fedora-40 fedora-rawhide #: mageia-cauldron opensuse-leap-15-6 opensuse-tumbleweed msgid "" "The B() and B() functions do not free the buffers " "pointed to by the I and I elements of the hash table entries. " "(It can't do this because it doesn't know whether these buffers were " "allocated dynamically.) If these buffers need to be freed (perhaps because " "the program is repeatedly creating and destroying hash tables, rather than " "creating a single table whose lifetime matches that of the program), then " "the program must maintain bookkeeping data structures that allow it to free " "them." msgstr "" "Die Funktionen B() und B() geben die Puffer nicht " "frei, auf die die Elemente I und I der Einträge in der Hash-" "Tabelle weisen. (Das können sie nicht tun, weil sie nicht wissen, ob diese " "Puffer dynamisch zugewiesen wurden.) Falls diese Puffer freigegeben werden " "müssen (vielleicht, weil das Programm wiederholt Hash-Tabellen erzeugt und " "wieder freigibt, anstatt eine einzelne Tabelle über die Programmlaufzeit " "hinweg zu pflegen), dann muss das Programm Datenstrukturen zur " "Speicherverwaltung pflegen, um die Elemente der Tabelleneinträge freigeben " "zu können." #. type: SH #: archlinux debian-bookworm debian-unstable fedora-40 fedora-rawhide #: mageia-cauldron opensuse-leap-15-6 opensuse-tumbleweed #, no-wrap msgid "BUGS" msgstr "FEHLER" #. type: Plain text #: archlinux debian-bookworm debian-unstable fedora-40 fedora-rawhide #: mageia-cauldron opensuse-leap-15-6 opensuse-tumbleweed msgid "" "SVr4 and POSIX.1-2001 specify that I is significant only for " "unsuccessful searches, so that an B should not do anything for a " "successful search. In libc and glibc (before glibc 2.3), the implementation " "violates the specification, updating the I for the given I in " "this case." msgstr "" "SVr4 und POSIX.1-2001 geben an, dass I nur für erfolglose Suchen von " "Bedeutung ist, so dass ein B nichts für eine erfolgreiche Suche tun " "sollte. In Libc und Glibc (vor Version 2.3) verstößt die Implementierung " "gegen die Spezifikation und aktualisiert in diesem Fall I für den " "gegebenen I." #. type: Plain text #: archlinux debian-bookworm debian-unstable fedora-40 fedora-rawhide #: mageia-cauldron opensuse-leap-15-6 opensuse-tumbleweed msgid "Individual hash table entries can be added, but not deleted." msgstr "" "Einzelne Einträge können der Hash-Tabelle hinzugefügt, jedoch nicht gelöscht " "werden." #. type: SH #: archlinux debian-bookworm debian-unstable fedora-40 fedora-rawhide #: mageia-cauldron opensuse-leap-15-6 opensuse-tumbleweed #, no-wrap msgid "EXAMPLES" msgstr "BEISPIELE" #. type: Plain text #: archlinux debian-bookworm debian-unstable fedora-40 fedora-rawhide #: mageia-cauldron opensuse-leap-15-6 opensuse-tumbleweed msgid "" "The following program inserts 24 items into a hash table, then prints some " "of them." msgstr "" "Das folgende Programm fügt 24 Einträge in eine Hashtabelle ein und zeigt " "dann einige davon an." #. type: Plain text #: archlinux debian-unstable fedora-40 fedora-rawhide mageia-cauldron #: opensuse-tumbleweed #, no-wrap msgid "" "#include Esearch.hE\n" "#include Estdio.hE\n" "#include Estdlib.hE\n" "\\&\n" "static char *data[] = { \"alpha\", \"bravo\", \"charlie\", \"delta\",\n" " \"echo\", \"foxtrot\", \"golf\", \"hotel\", \"india\", \"juliet\",\n" " \"kilo\", \"lima\", \"mike\", \"november\", \"oscar\", \"papa\",\n" " \"quebec\", \"romeo\", \"sierra\", \"tango\", \"uniform\",\n" " \"victor\", \"whisky\", \"x-ray\", \"yankee\", \"zulu\"\n" "};\n" "\\&\n" "int\n" "main(void)\n" "{\n" " ENTRY e;\n" " ENTRY *ep;\n" "\\&\n" " hcreate(30);\n" "\\&\n" " for (size_t i = 0; i E 24; i++) {\n" " e.key = data[i];\n" " /* data is just an integer, instead of a\n" " pointer to something */\n" " e.data = (void *) i;\n" " ep = hsearch(e, ENTER);\n" " /* there should be no failures */\n" " if (ep == NULL) {\n" " fprintf(stderr, \"entry failed\\en\");\n" " exit(EXIT_FAILURE);\n" " }\n" " }\n" "\\&\n" " for (size_t i = 22; i E 26; i++) {\n" " /* print two entries from the table, and\n" " show that two are not in the table */\n" " e.key = data[i];\n" " ep = hsearch(e, FIND);\n" " printf(\"%9.9s -E %9.9s:%d\\en\", e.key,\n" " ep ? ep-Ekey : \"NULL\", ep ? (int)(ep-Edata) : 0);\n" " }\n" " hdestroy();\n" " exit(EXIT_SUCCESS);\n" "}\n" msgstr "" "#include Esearch.hE\n" "#include Estdio.hE\n" "#include Estdlib.hE\n" "\\&\n" "static char *data[] = { \"alpha\", \"bravo\", \"charlie\", \"delta\",\n" " \"echo\", \"foxtrot\", \"golf\", \"hotel\", \"india\", \"juliet\",\n" " \"kilo\", \"lima\", \"mike\", \"november\", \"oscar\", \"papa\",\n" " \"quebec\", \"romeo\", \"sierra\", \"tango\", \"uniform\",\n" " \"victor\", \"whisky\", \"x-ray\", \"yankee\", \"zulu\"\n" "};\n" "\\&\n" "int\n" "main(void)\n" "{\n" " ENTRY e;\n" " ENTRY *ep;\n" "\\&\n" " hcreate(30);\n" "\\&\n" " for (size_t i = 0; i E 24; i++) {\n" " e.key = data[i];\n" " /* Datum ist nur eine Ganzzahl, anstatt eines \n" " Zeigers auf irgendwas */\n" " e.data = (void *) i;\n" " ep = hsearch(e, ENTER);\n" " /* Es sollten keine Fehler auftreten */\n" " if (ep == NULL) {\n" " fprintf(stderr, \"entry failed\\en\");\n" " exit(EXIT_FAILURE);\n" " }\n" " }\n" "\\&\n" " for (size_t i = 22; i E 26; i++) {\n" " /* Zwei Einträge aus der Tabelle ausgeben und zeigen,\n" " dass zwei nicht in der Tabelle sind */\n" " e.key = data[i];\n" " ep = hsearch(e, FIND);\n" " printf(\"%9.9s -E %9.9s:%d\\en\", e.key,\n" " ep ? ep-Ekey : \"NULL\", ep ? (int)(ep-Edata) : 0);\n" " }\n" " hdestroy();\n" " exit(EXIT_SUCCESS);\n" "}\n" #. SRC END #. type: SH #: archlinux debian-bookworm debian-unstable fedora-40 fedora-rawhide #: mageia-cauldron opensuse-leap-15-6 opensuse-tumbleweed #, no-wrap msgid "SEE ALSO" msgstr "SIEHE AUCH" #. type: Plain text #: archlinux debian-bookworm debian-unstable fedora-40 fedora-rawhide #: mageia-cauldron opensuse-leap-15-6 opensuse-tumbleweed msgid "B(3), B(3), B(3), B(3)" msgstr "B(3), B(3), B(3), B(3)" #. type: TH #: debian-bookworm #, no-wrap msgid "2022-12-15" msgstr "15. Dezember 2022" #. type: TH #: debian-bookworm #, no-wrap msgid "Linux man-pages 6.03" msgstr "Linux man-pages 6.03" #. type: Plain text #: debian-bookworm msgid "" "The functions B(), B(), and B() are from SVr4, " "and are described in POSIX.1-2001 and POSIX.1-2008." msgstr "" "Die Funktionen B(), B() und B() stammen aus SVr4 " "und werden in POSIX.1-2001 und POSIX.1-2008 beschrieben." #. type: Plain text #: debian-bookworm msgid "" "The functions B(), B(), and B() are GNU " "extensions." msgstr "" "Die Funktionen B(), B() und B() sind GNU-" "Erweiterungen." #. type: Plain text #: debian-bookworm opensuse-leap-15-6 #, no-wrap msgid "" "#include Esearch.hE\n" "#include Estdio.hE\n" "#include Estdlib.hE\n" msgstr "" "#include Esearch.hE\n" "#include Estdio.hE\n" "#include Estdlib.hE\n" # Klingt nach NATO-Alphabet #. type: Plain text #: debian-bookworm opensuse-leap-15-6 #, no-wrap msgid "" "static char *data[] = { \"alpha\", \"bravo\", \"charlie\", \"delta\",\n" " \"echo\", \"foxtrot\", \"golf\", \"hotel\", \"india\", \"juliet\",\n" " \"kilo\", \"lima\", \"mike\", \"november\", \"oscar\", \"papa\",\n" " \"quebec\", \"romeo\", \"sierra\", \"tango\", \"uniform\",\n" " \"victor\", \"whisky\", \"x-ray\", \"yankee\", \"zulu\"\n" "};\n" msgstr "" "static char *data[] = { \"alpha\", \"bravo\", \"charlie\", \"delta\",\n" " \"echo\", \"foxtrot\", \"golf\", \"hotel\", \"india\", \"juliet\",\n" " \"kilo\", \"lima\", \"mike\", \"november\", \"oscar\", \"papa\",\n" " \"quebec\", \"romeo\", \"sierra\", \"tango\", \"uniform\",\n" " \"victor\", \"whisky\", \"x-ray\", \"yankee\", \"zulu\"\n" "};\n" #. type: Plain text #: debian-bookworm opensuse-leap-15-6 #, no-wrap msgid "" "int\n" "main(void)\n" "{\n" " ENTRY e;\n" " ENTRY *ep;\n" msgstr "" "int\n" "main(void)\n" "{\n" " ENTRY e;\n" " ENTRY *ep;\n" #. type: Plain text #: debian-bookworm opensuse-leap-15-6 #, no-wrap msgid " hcreate(30);\n" msgstr " hcreate(30);\n" #. type: Plain text #: debian-bookworm opensuse-leap-15-6 #, no-wrap msgid "" " for (size_t i = 0; i E 24; i++) {\n" " e.key = data[i];\n" " /* data is just an integer, instead of a\n" " pointer to something */\n" " e.data = (void *) i;\n" " ep = hsearch(e, ENTER);\n" " /* there should be no failures */\n" " if (ep == NULL) {\n" " fprintf(stderr, \"entry failed\\en\");\n" " exit(EXIT_FAILURE);\n" " }\n" " }\n" msgstr "" " for (size_t i = 0; i E 24; i++) {\n" " e.key = data[i];\n" " /* Datum ist nur eine Ganzzahl, anstatt eines \n" " Zeigers auf irgendwas */\n" " e.data = (void *) i;\n" " ep = hsearch(e, ENTER);\n" " /* Es sollten keine Fehler eintreten */\n" " if (ep == NULL) {\n" " fprintf(stderr, \"Eintrag fehlgeschlagen\\en\");\n" " exit(EXIT_FAILURE);\n" " }\n" " }\n" #. type: Plain text #: debian-bookworm opensuse-leap-15-6 #, no-wrap msgid "" " for (size_t i = 22; i E 26; i++) {\n" " /* print two entries from the table, and\n" " show that two are not in the table */\n" " e.key = data[i];\n" " ep = hsearch(e, FIND);\n" " printf(\"%9.9s -E %9.9s:%d\\en\", e.key,\n" " ep ? ep-Ekey : \"NULL\", ep ? (int)(ep-Edata) : 0);\n" " }\n" " hdestroy();\n" " exit(EXIT_SUCCESS);\n" "}\n" msgstr "" " for (size_t i = 22; i E 26; i++) {\n" " /* Zwei Einträge aus der Tabelle ausgeben und zeigen,\n" " dass zwei nicht in der Tabelle sind */\n" " e.key = data[i];\n" " ep = hsearch(e, FIND);\n" " printf(\"%9.9s -E %9.9s:%d\\en\", e.key,\n" " ep ? ep-Ekey : \"NULL\", ep ? (int)(ep-Edata) : 0);\n" " }\n" " hdestroy();\n" " exit(EXIT_SUCCESS);\n" "}\n" #. type: TH #: fedora-40 fedora-rawhide mageia-cauldron #, no-wrap msgid "2023-10-31" msgstr "31. Oktober 2023" #. type: TH #: fedora-40 mageia-cauldron #, no-wrap msgid "Linux man-pages 6.06" msgstr "Linux man-pages 6.06" #. type: TH #: fedora-rawhide #, no-wrap msgid "Linux man-pages 6.7" msgstr "Linux man-pages 6.7" #. type: TH #: opensuse-leap-15-6 #, no-wrap msgid "2023-03-30" msgstr "30. März 2023" #. type: TH #: opensuse-leap-15-6 #, no-wrap msgid "Linux man-pages 6.04" msgstr "Linux-Handbuchseiten 6.04" #. type: TH #: opensuse-tumbleweed #, no-wrap msgid "Linux man-pages (unreleased)" msgstr "Linux man-pages (unveröffentlicht)"