libowfat/buffer/buffer_puterror.c

8 lines
136 B
C

#include "buffer.h"
#include <string.h>
#include <errno.h>
int buffer_puterror(buffer* b) {
return buffer_puts(b,strerror(errno));
}