This is the mail archive of the glibc-bugs@sourceware.org mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug manual/17183] New: description of ENTRY struct in <search.h> in glibc manual is incorrect


https://sourceware.org/bugzilla/show_bug.cgi?id=17183

            Bug ID: 17183
           Summary: description of ENTRY struct in <search.h> in glibc
                    manual is incorrect
           Product: glibc
           Version: unspecified
            Status: NEW
          Severity: normal
          Priority: P2
         Component: manual
          Assignee: unassigned at sourceware dot org
          Reporter: iep1ungo at yopmail dot com
                CC: mtk.manpages at gmail dot com, roland at gnu dot org

The glibc manual incorrectly describes the ENTRY struct defined in <search.h>
(the hash table entries used by hsearch().

The manual states that both the key and the data fields of the ENTRY struct are
char pointers.
( here
https://www.gnu.org/software/libc/manual/html_node/Hash-Search-Function.html )

This is incorrect. The "key" field is a char* and the "data" field is a null*.

-- 
You are receiving this mail because:
You are on the CC list for the bug.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]