Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/jmcph4/tinyscstr

The tiny safe C strings library
https://github.com/jmcph4/tinyscstr

c library safety string string-library string-manipulation strings

Last synced: 27 days ago
JSON representation

The tiny safe C strings library

Awesome Lists containing this project

README

        

# tinyscstr #
---

The **t**iny **s**afe **C** **str**ing library. Strings are immutable at this stage (by that I mean concatenation doesn't modify supplied strings).

Basically, we have `scstr` type which just tracks size (*including terminating `NUL` byte*) and contents of the string, with some memory management abstractions on top.