libowfat/buffer/buffer_putlong.c

9 lines
156 B
C

#include "buffer.h"
#include "fmt.h"
int buffer_putlong(buffer *b,unsigned long l) {
char buf[FMT_ULONG];
return buffer_put(b,buf,fmt_long(buf,l));
}