mirror of
https://github.com/opnsense/src.git
synced 2026-05-28 04:12:45 -04:00
Clarify that realloc and reallocf may move the memory allocation.
This commit is contained in:
parent
9a8bd51965
commit
09a12d75cf
1 changed files with 7 additions and 3 deletions
|
|
@ -120,9 +120,13 @@ is valid and unchanged.
|
|||
If memory can be allocated, the memory referenced by
|
||||
.Fa ptr
|
||||
is freed and a pointer to the newly allocated memory is returned.
|
||||
Note that this may be different from the value
|
||||
passed as
|
||||
.Fa ptr .
|
||||
Note that the return value may differ from the
|
||||
.Fa ptr
|
||||
argument, that is
|
||||
.Fn realloc
|
||||
and
|
||||
.Fn reallocf
|
||||
may move the memory.
|
||||
If
|
||||
.Fa ptr
|
||||
is
|
||||
|
|
|
|||
Loading…
Reference in a new issue