lx_lib 20050906 review
Downloadlx_lib handles memory allocations as structures, keeping important information such as the remaining allocated space and the length o
|
|
lx_lib handles memory allocations as structures, keeping important information such as the remaining allocated space and the length of the used string internal to each variable (or descriptor).
Installation:
Run 'make' to build the library.
To build the speed tests, run 'make tests'. They'll be located in ./bin.
To build programs associated with it, use:
CFLAGS = -I/lib
LDFLAGS = -L/lib -llx
Here are some key features of "lx_lib":
strings need not be scanned to determine their length
the amount of allocated string remaining is easily determined
promotes more secure programming practices
if used correctly, lx_lib can offer a significant speed increase over traditional methods
easy-to-use methods for manipulating strings
generic descriptor support for buffered i/o
generic descriptors enable fast scanning of input for specific characters (e.g. a newline)
lx_lib 20050906 keywords