libowfat/buffer/buffer_getline_sa.c

7 lines
136 B
C

#include "stralloc.h"
#include "buffer.h"
int buffer_getline_sa(buffer* b,stralloc* sa) {
return buffer_get_token_sa(b,sa,"\n",1);
}