add a few buffer_init*_forread variants to pretend we have type safety make sure buffer_init_staticcontents handles flushing attempts
8 lines
175 B
C
8 lines
175 B
C
#include <unistd.h>
|
|
#include <libowfat/buffer.h>
|
|
|
|
int buffer_init_read_allocbuf(buffer* b, int fd, size_t ylen) {
|
|
return buffer_init_allocbuf_forread(b, read, fd, ylen);
|
|
}
|
|
|