In standard C there is no function capable of doing that.
C, realloc that fails if the allocation cannot grow IN PLACE
Pregunta
Is there a way to grow an array in C, but only if the memory can be grown in place (That is, fail to grow if the pointer needs to be changed)?
Solución
Licenciado bajo: CC-BY-SA con atribución
No afiliado a StackOverflow