Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

memcpy and malloc_in_sandbox documentation #20

Open
deian opened this issue Dec 30, 2019 · 0 comments
Open

memcpy and malloc_in_sandbox documentation #20

deian opened this issue Dec 30, 2019 · 0 comments

Comments

@deian
Copy link
Member

deian commented Dec 30, 2019

It would be useful to document this a bit better.

For memcpy: the last parameter the number of elements, right? The type makes it seem like that is indeed the case; since this is different from POSIX memcpy which takes the number of bytes, we should be clear about this.

For malloc: it's again the length of elements not bytes, right? (no argument = 1?)

I can update docs on ACK.

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

No branches or pull requests

1 participant