leitner
|
5eb1cdf888
|
cleanups in stralloc and buffer:
int -> long for sizes
char -> unsigned char for strings
|
20 years ago |
leitner
|
38ef27207a
|
add buffer_putm and buffer_putmflush
|
20 years ago |
leitner
|
5dfea5617e
|
add buffer_putsaflush
|
20 years ago |
leitner
|
82b0bb6f39
|
extend API To read line/token to stralloc to allow clearing the
stralloc first.
add stralloc_zero to clear a stralloc
|
20 years ago |
leitner
|
aeb609627b
|
add "extern" before variables
|
21 years ago |
leitner
|
63e070c1cb
|
add long long buffer routines
add tai64 and tai6464 typedefs
add error message buffer routines
add io timeout routines
|
22 years ago |
leitner
|
a327b75831
|
add buffer_fromsa (make virtual buffer from stralloc)
|
22 years ago |
leitner
|
558c6128fe
|
better and more predication, improved documentation
|
22 years ago |
leitner
|
734b248bdc
|
fix typo in buffer_GETC
|
22 years ago |
leitner
|
053aadde58
|
add buffer_putsa, buffer_get_token_sa, buffer_getline_sa, stralloc_chomp
and stralloc_chop
|
22 years ago |
leitner
|
e8d842791b
|
remove buffer_init argument warning when passing read or write
|
22 years ago |
leitner
|
5950f0c5ae
|
add some man pages
|
23 years ago |
leitner
|
75a033e481
|
add buffer_putnlflush
|
23 years ago |
leitner
|
12fbaf7c9c
|
make buffer_get_token write \0 to buffer on end of file so it can be
distinguished from a length 0 token.
|
23 years ago |
leitner
|
f6d554da10
|
Fixed input buffers, thanks to David Lichteblau.
|
23 years ago |
leitner
|
05b4cf85f7
|
some constness stuff for buffer_0, an experimental optimization for
byte_copy and add buffer_putspace, a trivial shortcut.
|
24 years ago |
leitner
|
1093f1c267
|
oops
|
24 years ago |
sanjiyan
|
647dd96943
|
added a macro buffer_getline
|
24 years ago |
sanjiyan
|
6838f0f0bb
|
aded buffer_getc, buffer_getn get n bytes less only if EOF and
buffer_get_token for getting n bytes till finding a termination char or
EOF/error.
|
24 years ago |
leitner
|
03209de7f0
|
und noch nen commit ;-)
|
24 years ago |
leitner
|
1a3d6ebe8e
|
add routines to put number in buffer.
|
24 years ago |
leitner
|
fec092cda1
|
forgot buffer.h
|
24 years ago |