Skip to content

document iso_reallocarray#100

Merged
struct merged 1 commit intostruct:masterfrom
devnexen:iso_reallocarray_doc
Jun 11, 2022
Merged

document iso_reallocarray#100
struct merged 1 commit intostruct:masterfrom
devnexen:iso_reallocarray_doc

Conversation

@devnexen
Copy link
Copy Markdown
Contributor

closes #99

Comment thread README.md Outdated

`void *iso_realloc(void *p, size_t size)` - Equivalent to `realloc`. Reallocates a new chunk, if necessary, to be size bytes big and copies the contents of p to it.

`void *iso_realloc(void *p, size_t size)` - Equivalent to `reallocarray`. In the same principles as `iso_realloc`, reallocates a new chunk but for an array of nmemb elements of size bytes and in addition check for possible size overflow.
Copy link
Copy Markdown
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This should be void *iso_reallocarray.

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ah yes true :)

@devnexen devnexen force-pushed the iso_reallocarray_doc branch from 5789e2f to 4b69b07 Compare June 11, 2022 16:50
@struct struct merged commit 4b1cd9c into struct:master Jun 11, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Document iso_reallocarray

2 participants