realloc() returns a pointer to the newly allocated memory, which is suitably aligned for any kind of variable and
may be different from ptr, or NULL if the request fails. If size was equal to 0, either NULL or a pointer suit-
able to be passed to free() is returned. If realloc() fails the original block is left untouched; it is not
freed or moved.
歡迎光臨 Chinaunix (http://72891.cn/) | Powered by Discuz! X3.2 |