Fri, 15 Mar 2013 10:12:47 +0000
Option help display line wrapping fix
| 53 | 1 | |
| 2 | libtu | |
| 3 | ||
| 107 | 4 | Copyright (c) Tuomo Valkonen 1999-2007. |
| 53 | 5 | <tuomov at iki.fi> |
| 0 | 6 | |
| 7 | ||
| 65 | 8 | Libtu is a small utility library for programs written in C. |
| 9 | ||
| 10 | Most of this library may be distributed and modified under either under | |
| 11 | the Clarified Artistic License or the GNU LGPL, version 2.1 or later, | |
| 12 | both reproduced in the file LICENSE. The red-black tree code is under | |
| 13 | the GNU LGPL; see README.rb for details. | |
| 0 | 14 | |
| 3 | 15 | To build the library, first edit system.mk to customize it for your |
| 0 | 16 | system if necessary. Then 'make depend && make'. |
| 17 | To install it run 'make install' (perhaps as root depending on | |
| 18 | where you are installing it). | |
| 19 | ||
| 20 | If you want to use it in your programs, you may try to figure out how | |
| 21 | by reading the header files (include/*.h) and test programs (tester*.c). | |
| 22 | Or you could try urging me to write some sort of a manual. | |
| 25 | 23 | |
| 24 | --- | |
| 25 | ||
| 26 | Libtu needs the functions asprintf and vasprintf. These do not | |
| 35 | 27 | exist on most platforms. One implementation by Mark Martinec |
| 28 | is included in snprintf_2.2/ and is used by default. To use the | |
| 29 | system's versions of these functions, if available, modify | |
| 30 | system.mk. | |
| 25 | 31 | |
| 107 | 32 | The implementation of red-black trees is based on that by |
| 33 | James S. Plank; see README.rb for details. |