Age | Commit message (Collapse) | Author | Lines | |
---|---|---|---|---|
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 | |