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

libc: Add setbuffer to stdio. #9148

Merged
merged 1 commit into from May 1, 2023

Conversation

g2gps
Copy link
Contributor

@g2gps g2gps commented May 1, 2023

Summary

The setbuffer() function is a wrapper around setvbuf() which enables full buffering on a buffer allocated by the caller, assuming buffer is not a null pointer.

Impact

Add setbuffer to stdio.h namespace.

Testing

Considering this directly wraps setvbuf, no separate test case has been added to app/testing/ostest for setbuffer.

The setbuffer() function is a wrapper around setvbuf() which
enables full buffering on a buffer allocated by the caller, assuming
buffer is not a null pointer.
@pkarashchenko pkarashchenko merged commit 4e2a8d4 into apache:master May 1, 2023
26 checks passed
@g2gps g2gps deleted the libc-setbuffer branch May 5, 2023 00:37
@jerpelea jerpelea added this to To-Add in Release Notes - 12.2.0 Jun 13, 2023
@jerpelea jerpelea moved this from To-Add to In Progress in Release Notes - 12.2.0 Jun 26, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
No open projects
Development

Successfully merging this pull request may close these issues.

None yet

3 participants