about summary refs log tree commit diff
path: root/include/search.h
Commit message (Collapse)AuthorAgeFilesLines
* implement hcreate_r, hdestroy_r and hsearch_rsin2014-04-021-0/+12
| | | | | | | | | | 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.
* POSIX conformance fix: define struct entry in search.hSzabolcs Nagy2013-10-291-1/+1
|
* default features: make musl usable without feature test macrosRich Felker2012-09-071-6/+1
| | | | | | | | | | 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.
* use restrict everywhere it's required by c99 and/or posix 2008Rich Felker2012-09-061-1/+8
| | | | | | | | 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.
* search: add tdestroy (gnu extension)nsz2012-05-131-0/+2
|
* gnu search.h has struct qelem...Rich Felker2011-09-211-0/+7
|
* XSI search.h API implementation by Szabolcs NagyRich Felker2011-06-251-1/+35
|
* initial check-in, version 0.5.0 v0.5.0Rich Felker2011-02-121-0/+6