musl/include/search.h, branch master musl - an implementation of the standard library for Linux-based systems implement hcreate_r, hdestroy_r and hsearch_r 2014年04月02日T22:37:45+00:00 sin sin@2f30.org 2014年03月25日T16:37:51+00:00 fe1ba7dbf187e34985896b40d469d84a7a4a98d0 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.
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.h 2013年10月29日T20:25:11+00:00 Szabolcs Nagy nsz@port70.net 2013年10月29日T20:25:11+00:00 b7d3210196ff3508601a9f57ad18315eb25f7330
default features: make musl usable without feature test macros 2012年09月08日T03:13:55+00:00 Rich Felker dalias@aerifal.cx 2012年09月08日T03:13:55+00:00 c1a9658bd19245ff0fb52d3da567815d822fb622 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.
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 2008 2012年09月07日T02:44:55+00:00 Rich Felker dalias@aerifal.cx 2012年09月07日T02:44:55+00:00 400c5e5c8307a2ebe44ef1f203f5a15669f20347 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.
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) 2012年05月12日T23:34:20+00:00 nsz nsz@port70.net 2012年05月12日T23:34:20+00:00 d197d6421c317145e2aff89dd41de9d03eeaa00b
gnu search.h has struct qelem... 2011年09月22日T01:01:56+00:00 Rich Felker dalias@aerifal.cx 2011年09月22日T01:01:56+00:00 319df20bc9c20231d8efd810780c012cbdcfb109
XSI search.h API implementation by Szabolcs Nagy 2011年06月25日T22:18:57+00:00 Rich Felker dalias@aerifal.cx 2011年06月25日T22:18:57+00:00 febbd12d00883a716a9edca25011f8aa306b859b
initial check-in, version 0.5.0 2011年02月12日T05:22:29+00:00 Rich Felker dalias@aerifal.cx 2011年02月12日T05:22:29+00:00 0b44a0315b47dd8eced9f3b7f31580cf14bbfc01

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