add a 'append' mode for the ringbuffer
commitd3b0daa22166f8f977553ed3a394f320c0f5a90c
authorChristian Thaeter <ct@pipapo.org>
Fri, 18 Dec 2009 01:58:34 +0000 (18 02:58 +0100)
committerChristian Thaeter <ct@pipapo.org>
Fri, 18 Dec 2009 01:58:34 +0000 (18 02:58 +0100)
tree374325f70a8fb0096e7d9b8a20c053f223db12a7
parent37d192387a0e9cb3f6862b00a9f8f173a5966cee
add a 'append' mode for the ringbuffer

the write position is stepped back by one, but not over the begin of the
last write operation, thus the next printf will append to the last message
instead create a new message entry.
src/nobug.h
src/nobug_ringbuffer.c