Sat, 19 Jan 2002 19:31:04 +0100
trunk: changeset 39
- The tokenizer also supports reading from a buffer now.
- 2002 update
0 | 1 | |
2 | ||
3 | libtu | |
4 | ||
36 | 5 | Copyright (c) Tuomo Valkonen 1999-2002. |
0 | 6 | |
7 | <tuomov@cc.tut.fi> | |
8 | ||
9 | ||
10 | ||
11 | Libtu is a small utility library for programs written in C. Naturally, | |
12 | libtu is free software under the "Artistic License". See the file | |
13 | LICENSE for details. | |
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 |