musl - musl - an implementation of the standard library for Linux-based systems

index : musl
musl - an implementation of the standard library for Linux-based systems
summary refs log tree commit diff
path: root/include/search.h
AgeCommit message (Collapse)AuthorLines
2014年04月02日implement hcreate_r, hdestroy_r and hsearch_r sin-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.
2013年10月29日POSIX conformance fix: define struct entry in search.h Szabolcs Nagy-1/+1
2012年09月07日default features: make musl usable without feature test macros Rich Felker-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.
2012年09月06日use restrict everywhere it's required by c99 and/or posix 2008 Rich Felker-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.
2012年05月13日search: add tdestroy (gnu extension) nsz-0/+2
2011年09月21日gnu search.h has struct qelem... Rich Felker-0/+7
2011年06月25日XSI search.h API implementation by Szabolcs Nagy Rich Felker-1/+35
2011年02月12日initial check-in, version 0.5.0 v0.5.0 Rich Felker-0/+6
generated by cgit v1.2.1 (git 2.18.0) at 2025年09月05日 01:54:55 +0000

AltStyle によって変換されたページ (->オリジナル) /