Navigation
Search
|
[$] realloc() and the oversize importance of zero-size objects
Thursday October 24, 2024. 05:36 PM , from LWN.net
Small objects can lead to large email threads. In this
case, the GNU C Library (glibc) community has been having an extensive debate over the handling of zero-byte allocations. Specifically, what should happen when a program calls realloc() specifying a size of zero? This is, it seems, a topic about which some people, at least, have strong feelings.
https://lwn.net/Articles/995196/
Related News |
25 sources
Current Date
Dec, Sun 22 - 22:29 CET
|