libowfat/buffer/buffer_puterror2.c

7 lines
130 B
C

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