add buffer_putnlflush
parent
eb31b3eb62
commit
75a033e481
@ -0,0 +1,7 @@
|
||||
#include "str.h"
|
||||
#include "buffer.h"
|
||||
|
||||
int buffer_putspace(buffer* b) {
|
||||
static char nl='\n';
|
||||
return buffer_putflush(b,&nl,1);
|
||||
}
|
Loading…
Reference in New Issue