add a few buffer_init*_forread variants to pretend we have type safety make sure buffer_init_staticcontents handles flushing attempts
7 lines
116 B
C
7 lines
116 B
C
#include "buffer.h"
|
|
|
|
int buffer_putnlflush(buffer* b) {
|
|
static char nl='\n';
|
|
return buffer_putflush(b,&nl,1);
|
|
}
|