28 Commits (5fd7bc834b64b940a9247a120b847beaddebf35c)

Author SHA1 Message Date
leitner e2f9fa232e remove buffer_copy prototype 16 years ago
leitner 02818883df add buffer_tosa (buffer writing to auto-growing stralloc) 16 years ago
leitner 3004b518ef switch to size_t and ssize_t 18 years ago
leitner eeffc36387 remove even more warnings
64-bit cleanliness issue with auto-NULL-appending macros
20 years ago
leitner c874604f12 gcc 4 cleanups (mostly unsigned char* vs char*) 20 years ago
leitner 34df761a0a add buffer_mmapread 20 years ago
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