MacMusic  |  PcMusic  |  440 Software  |  440 Forums  |  440TV  |  Zicos
realloc
Recherche

[$] realloc() and the oversize importance of zero-size objects

jeudi 24 octobre 2024, 17:36 , par 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/

Voir aussi

News copyright owned by their original publishers | Copyright © 2004 - 2024 Zicos / 440Network
Date Actuelle
dim. 22 déc. - 16:56 CET