leitner
24d8e81116
add buffer_fromarray, buffer_frombuf
11 years ago
leitner
bb1bebe517
stralloc* not const char*
16 years ago
leitner
1e549e9ee2
add man page
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
83bf636b86
add RETURN VALUE section
19 years ago
leitner
25c57a0b1b
implement Nikola's idea to remove limit number of strings in errmsg
19 years ago
leitner
636cfb70b0
make sure buffer_get tries to get all the bytes it was asked for
20 years ago
leitner
eeffc36387
remove even more warnings
...
64-bit cleanliness issue with auto-NULL-appending macros
20 years ago
leitner
6196f771cd
remove a few gcc 4 warnings
...
work around freebsd 5.4 brokenness (if you don't have IPv6 in the
kernel, socket(PF_INET6,SOCK_STREAM,0) returns EPROTONOSUPPORT
instead of EPFNOSUPPORT, which basically says "yeah, I know IPv6,
but TCP? never heard of it")
20 years ago
leitner
c874604f12
gcc 4 cleanups (mostly unsigned char* vs char*)
20 years ago
leitner
20c994bf59
fix a few man pages
20 years ago
leitner
9eb09b5bfe
add iob_free and man page for iob_reset.
...
check in some windoze compat crap (still does not compile through for
windoze)
20 years ago
leitner
34df761a0a
add buffer_mmapread
20 years ago
leitner
b617d63d1e
update dependencies
...
add errmsg_info and msg
20 years ago
leitner
77c5e333db
signal EOF properly
20 years ago
leitner
b48ce77792
add iob_write (to write an io batch through a callback)
20 years ago
leitner
ccba2abe9b
add RETURN VALUE to man page
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
9e598be7e5
add sys/types.h
21 years ago
leitner
a6a00edd75
add errmsg API
21 years ago
leitner
82a4ae868d
broken lose32 port using mingw (don't use!!!)
...
initial Solaris /dev/poll port
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
053aadde58
add buffer_putsa, buffer_get_token_sa, buffer_getline_sa, stralloc_chomp
...
and stralloc_chop
23 years ago
leitner
5950f0c5ae
add some man pages
23 years ago
leitner
ac331f66f6
duh, cut-and-paste error
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
5fb5d0fac1
duh
24 years ago
leitner
3259605baa
test
24 years ago
leitner
bb7870034f
fix buffer initializer.
24 years ago
sanjiyan
552b13e44e
added buffer_2.c... needed it !
24 years ago
leitner
2e578322c9
fixed typos.
24 years ago
leitner
fc4193e1ce
buffer stuff from Olaf and ip[46]_fmt stuff from me.
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
sanjiyan
9d8f55fca3
fixed length return
24 years ago
leitner
1a3d6ebe8e
add routines to put number in buffer.
24 years ago
leitner
2e8427998a
added man pages and ..._reuse socket bind functions.
24 years ago
sanjiyan
4819776eb5
some returns :)
24 years ago
leitner
a50b334f58
added initial buffer implementation.
24 years ago