libowfat/buffer/buffer_putspace.c
leitner 05b4cf85f7 some constness stuff for buffer_0, an experimental optimization for
byte_copy and add buffer_putspace, a trivial shortcut.
2001-09-10 10:37:00 +00:00

8 lines
131 B
C

#include "str.h"
#include "buffer.h"
int buffer_putspace(buffer* b) {
static char space=' ';
return buffer_put(b,&space,1);
}