README

Sat, 04 Nov 2000 21:14:52 +0100

author
tuomov
date
Sat, 04 Nov 2000 21:14:52 +0100
changeset 27
228f64ffb422
parent 25
9d41e3611050
child 35
5a71d53d0228
permissions
-rw-r--r--

trunk: changeset 30
Added LIBTU_NO_ERRMSG so snprintf is not needed with programs that
don't use the errmsg functions (pwm).



                                    libtu
				 
		   Copyright (c) Tuomo Valkonen 1999-2000.
		    
                             <tuomov@cc.tut.fi>
		  
		  

Libtu is a small utility library for programs written in C. Naturally,
libtu is free software under the "Artistic License". See the file
LICENSE for details.

To build the library, first edit system.mk to customize it for your
system if necessary. Then 'make depend && make'.
To install it run 'make install' (perhaps as root depending on
where you are installing it).

If you want to use it in your programs, you may try to figure out how
by reading the header files (include/*.h) and test programs (tester*.c).
Or you could try urging me to write some sort of a manual.

---

Libtu needs the functions asprintf and vasprintf. These do not
exist on most platforms. One implementation is available at
<http://www.ijs.si/software/snprintf/>, which is used by default
and is supposed to be found at ../snprintf_2.2. To use the
system's versions, if available, modify system.mk.

mercurial