Commit Graph

34 Commits (3407e87536bc207b863d66af0621f7324a511a43)

Author SHA1 Message Date
leitner 34df761a0a add buffer_mmapread
leitner b617d63d1e update dependencies
add errmsg_info and msg
leitner 77c5e333db signal EOF properly
leitner b48ce77792 add iob_write (to write an io batch through a callback)
leitner ccba2abe9b add RETURN VALUE to man page
leitner 5eb1cdf888 cleanups in stralloc and buffer:
int -> long for sizes
    char -> unsigned char for strings
leitner 38ef27207a add buffer_putm and buffer_putmflush
leitner 5dfea5617e add buffer_putsaflush
leitner 82b0bb6f39 extend API To read line/token to stralloc to allow clearing the
stralloc first.
  add stralloc_zero to clear a stralloc
leitner 9e598be7e5 add sys/types.h
leitner a6a00edd75 add errmsg API
leitner 82a4ae868d broken lose32 port using mingw (don't use!!!)
initial Solaris /dev/poll port
leitner 63e070c1cb add long long buffer routines
add tai64 and tai6464 typedefs
add error message buffer routines
add io timeout routines
leitner a327b75831 add buffer_fromsa (make virtual buffer from stralloc)
leitner 558c6128fe better and more predication, improved documentation
leitner 053aadde58 add buffer_putsa, buffer_get_token_sa, buffer_getline_sa, stralloc_chomp
and stralloc_chop
leitner 5950f0c5ae add some man pages
leitner ac331f66f6 duh, cut-and-paste error
leitner 75a033e481 add buffer_putnlflush
leitner 12fbaf7c9c make buffer_get_token write \0 to buffer on end of file so it can be
distinguished from a length 0 token.
leitner f6d554da10 Fixed input buffers, thanks to David Lichteblau.
leitner 05b4cf85f7 some constness stuff for buffer_0, an experimental optimization for
byte_copy and add buffer_putspace, a trivial shortcut.
leitner 5fb5d0fac1 duh
leitner 3259605baa test
leitner bb7870034f fix buffer initializer.
sanjiyan 552b13e44e added buffer_2.c... needed it !
leitner 2e578322c9 fixed typos.
leitner fc4193e1ce buffer stuff from Olaf and ip[46]_fmt stuff from me.
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.
sanjiyan 9d8f55fca3 fixed length return
leitner 1a3d6ebe8e add routines to put number in buffer.
leitner 2e8427998a added man pages and ..._reuse socket bind functions.
sanjiyan 4819776eb5 some returns :)
leitner a50b334f58 added initial buffer implementation.