LibU is a multiplatform C library that comes under a BSD-style license. It includes many interdependent modules for accomplishing several tasks: memory allocation, networking and URI parsing, string manipulation, debugging, and logging in a very compact way, plus many other miscellaneous tasks. It has a small footprint (about 70KB for the default configuration), it is modular, and it has a multiplatform nature, making it an ideal candidate for embedded systems. KLone is an example of such usage.
| Tags | Software Development Build Tools Embedded Systems |
|---|---|
| Implementation | C C++ |
Recent releases


Changes: New APIs were added: u_config_sort_children, u_config_del_child, u_config_print_to_fp, u_config_load_from_buf, u_config_save_to_buf, u_config_load_from_drv, u_list_insert, u_list_del_n, u_log_set_lock (MT support), u_log_set_unlock (MT support), and *_err_rcif. Support for loading a configuration from opaque data sources was added. Support for the "include" directive was added in the configuration. A new module for dynamic array handling was added. A memory leak in the list module was fixed. u_path_snprintf was fixed.


Changes: A bad memmove in u_path_snprintf (which may lead to buffer overflows) was fixed. A memory leak was fixed in the list module. Minor documentation fixes were made in the list module.


Changes: This release has a new module for dynamic lists handling, a new module for simple password authentication, and a new module for file handling. u_config_set_value is now in the public interface. u_config_get_child_n can return anonymous keys. A compilation error with GCC 2.95 has been fixed.