buffer_getc - read one char from buffer
#include <buffer.h>
int buffer_getc(buffer* b,char* x);
buffer_getc(b,x) is similar to buffer_get(b,x,1).
buffer_init(3), buffer_get(3), buffer(3)