cxw42 / cxw42/fixedptc-fork

string conversion: take max string length as a parameter

Open
#2 0 comments 0 reactions 0 assignees View on GitHub
enhancement
Dominant language
C
Stars
7
Forks
1
PR merge metrics
No merged PRs in 30d

Description

`fixedpt_str` and `fixedpt_cstr` are currently like `sprintf()`. Provide versions that operate like `snprintf()`.

Contributor guide

No contributing guide indexed for this repository

Research direction

Start by locating the declarations and implementations of fixedpt_str and fixedpt_cstr, then inspect any existing string-conversion tests or examples. Define completion as both functions accepting a maximum output length and behaving like snprintf without exceeding that limit.

Written by the indexing model from the issue text.

Assessment

Tech stack
c
Domain
embedded-iot
Issue type
Feature
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.