Projects / ustr


ustr (Micro string library) is a string API for C. It has tiny overhead over just plain strdup(), is much safer, is easier to use, is faster for many operations, can be used with read-only or automatically allocated data. You don't even need to link to the library to use it (so there are no dependencies).

Operating Systems

Recent releases

  •  16 Jan 2008 19:02

    Release Notes: This release adds trim functions, multi-lib support, support for swapping out system vsnprintf calls. and a linecat example. It will not delete sized Ustr's unless needed.

    •  30 Oct 2007 10:57

      Release Notes: Some more functions were added for ASCII caseless compare/search, easily exporting data from a ustr, and getting a ustr's configuration. malloc checking was integrated into the library itself, making debugging much easier. Some new examples, a tutorial, and other documentation updates were added.

      •  05 Aug 2007 11:26

        Release Notes: A lot of new functions were added, such as insert, replace, split, substitute, and io_getdelim. Documentation improvements were made. Build fixes were made for Win32.

        •  13 Jul 2007 20:44

          Release Notes: Many interface and implementation fixes for 1.0.0. A lot more reference documentation. The unit testing now tests every single line of code.

          •  25 Jun 2007 02:46

            Release Notes: This release adds many functions, including UTF-8 and parsing integers. It increases unit test coverage to over 99%. It adds the "hexdump" and "nums" example programs. Internal functions have been removed from the linker export map.


            Project Spotlight


            A Fluent OpenStack client API for Java.


            Project Spotlight

            TurnKey TWiki Appliance

            A TWiki appliance that is easy to use and lightweight.