MacMusic  |  PcMusic  |  440 Software  |  440 Forums  |  440TV  |  Zicos
realloc
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

News copyright owned by their original publishers | Copyright © 2004 - 2024 Zicos / 440Network
Current Date
Nov, Thu 21 - 13:34 CET