History log of /seL4-camkes-master/projects/musllibc/include/search.h
Revision Date Author Comments
# fe1ba7db 25-Mar-2014 sin <sin@2f30.org>

implement hcreate_r, hdestroy_r and hsearch_r

the size and alignment of struct hsearch_data are matched to the glibc
definition for binary compatibility. the members of the structure do
not match, which should not be a problem as long as applications
correctly treat the structure as opaque.

unlike the glibc implementation, this version of hcreate_r does not
require the caller to zero-fill the structure before use.


# b7d32101 29-Oct-2013 Szabolcs Nagy <nsz@port70.net>

POSIX conformance fix: define struct entry in search.h


# c1a9658b 07-Sep-2012 Rich Felker <dalias@aerifal.cx>

default features: make musl usable without feature test macros

the old behavior of exposing nothing except plain ISO C can be
obtained by defining __STRICT_ANSI__ or using a compiler option (such
as -std=c99) that predefines it. the new default featureset is POSIX
with XSI plus _BSD_SOURCE. any explicit feature test macros will
inhibit the default.

installation docs have also been updated to reflect this change.


# 400c5e5c 06-Sep-2012 Rich Felker <dalias@aerifal.cx>

use restrict everywhere it's required by c99 and/or posix 2008

to deal with the fact that the public headers may be used with pre-c99
compilers, __restrict is used in place of restrict, and defined
appropriately for any supported compiler. we also avoid the form
[restrict] since older versions of gcc rejected it due to a bug in the
original c99 standard, and instead use the form *restrict.


# d197d642 12-May-2012 nsz <nsz@port70.net>

search: add tdestroy (gnu extension)


# 319df20b 21-Sep-2011 Rich Felker <dalias@aerifal.cx>

gnu search.h has struct qelem...


# febbd12d 25-Jun-2011 Rich Felker <dalias@aerifal.cx>

XSI search.h API implementation by Szabolcs Nagy


# 0b44a031 11-Feb-2011 Rich Felker <dalias@aerifal.cx>

initial check-in, version 0.5.0