• S
    implement hcreate_r, hdestroy_r and hsearch_r · fe1ba7db
    sin 提交于
    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.
    fe1ba7db
hsearch.c 3.1 KB