26 Commits (d42c303f7183831df3a6e7f7fac0a73286ddd45c)

Author SHA1 Message Date
Felix von Leitner 0698149baf switch to size_t and ssize_t 17 years ago
Felix von Leitner e5c56dc6b0 remove even more warnings
64-bit cleanliness issue with auto-NULL-appending macros
18 years ago
Felix von Leitner 8b636109ab gcc 4 cleanups (mostly unsigned char* vs char*) 18 years ago
Felix von Leitner 0359400b79 add buffer_mmapread 19 years ago
Felix von Leitner b05bf23905 cleanups in stralloc and buffer:
int -> long for sizes
    char -> unsigned char for strings
19 years ago
Felix von Leitner e3b165e9e8 add buffer_putm and buffer_putmflush 19 years ago
Felix von Leitner bb7c231fab add buffer_putsaflush 19 years ago
Felix von Leitner 429a61b461 extend API To read line/token to stralloc to allow clearing the
stralloc first.
  add stralloc_zero to clear a stralloc
19 years ago
Felix von Leitner e4d8a40db6 add "extern" before variables 20 years ago
Felix von Leitner 4c41a88194 add long long buffer routines
add tai64 and tai6464 typedefs
add error message buffer routines
add io timeout routines
20 years ago
Felix von Leitner 1e0728abd0 add buffer_fromsa (make virtual buffer from stralloc) 20 years ago
Felix von Leitner 3961f3e67e better and more predication, improved documentation 20 years ago
Felix von Leitner c44e273bde fix typo in buffer_GETC 20 years ago
Felix von Leitner b5c4e199cb add buffer_putsa, buffer_get_token_sa, buffer_getline_sa, stralloc_chomp
and stralloc_chop
21 years ago
Felix von Leitner ae10628ce7 remove buffer_init argument warning when passing read or write 21 years ago
Felix von Leitner 10f26fd5bc add some man pages 21 years ago
Felix von Leitner 045c34e8e6 add buffer_putnlflush 21 years ago
Felix von Leitner 457fb18f2d make buffer_get_token write \0 to buffer on end of file so it can be
distinguished from a length 0 token.
21 years ago
Felix von Leitner 3d345f814d Fixed input buffers, thanks to David Lichteblau. 22 years ago
Felix von Leitner 9c1ce2b6a5 some constness stuff for buffer_0, an experimental optimization for
byte_copy and add buffer_putspace, a trivial shortcut.
22 years ago
Felix von Leitner 40fda89f89 oops 22 years ago
Olaf Dreesen 29f7b13114 added a macro buffer_getline 23 years ago
Olaf Dreesen d5b756f08f 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.
23 years ago
Felix von Leitner 6f4a91060a und noch nen commit ;-) 23 years ago
Felix von Leitner 504192c0f9 add routines to put number in buffer. 23 years ago
Felix von Leitner 3e6480f5f4 forgot buffer.h 23 years ago