accept
4830 / 3251 / 165
Регистрация: 10.12.2008
Сообщений: 10,569
|
15.06.2013, 12:28
|
|

Сообщение от Croessmah
Си'шный realloc запрашивает память сразу за уже выделенной.
это не всегда
C89 (draft)
Код
4.10.3.4 The realloc function
...
Returns
The realloc function returns either a null pointer or a pointer to
the possibly moved allocated space.
0
|