Skip to content

sprintf, sprintl, sprinti library #343

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

Open
wants to merge 8 commits into
base: mikrosdk-2.14.4
Choose a base branch
from

Conversation

esmaniksic
Copy link
Contributor

No description provided.

@esmaniksic esmaniksic marked this pull request as ready for review April 11, 2025 06:21

// ------------------------------------------------------------- PRIVATE MACROS

// TODO
Copy link
Contributor

Choose a reason for hiding this comment

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

Was it left here by accident? If so, should be removed.

* @param ... Additional arguments to be formatted and inserted into the resulting string.
* @return The number of characters written, excluding the null terminator.
*/
int sprintf_me(char *str, const char *format, ...);
Copy link
Contributor

@IvanRuzavin IvanRuzavin Apr 11, 2025

Choose a reason for hiding this comment

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

All "(" symbols should be followed with a space and all ")" symbols should have space before them in function declarations and in the code. Should be fixed in all header and source files. In macros and comments it can be left without spaces.

Copy link
Contributor

@IvanRuzavin IvanRuzavin left a comment

Choose a reason for hiding this comment

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

Requested changes.

@StrahinjaJacimovic StrahinjaJacimovic self-assigned this Apr 11, 2025
@IvanRuzavin
Copy link
Contributor

Changelog should be placed in 2.14.4 folder, not 2.14.4/new_hw

esmaniksic and others added 2 commits April 25, 2025 09:33
Co-authored-by: Ivan Ruzavin <ivan.ruzavin@mikroe.com>
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.

3 participants