Write a decimal ascii representation of a signed long integer to buffer
#include <buffer.h>
int buffer_putlong(buffer* b,signed long x);
buffer_putlong is similar to passing the result of fmt_long to buffer_put.
0 if everything is fine, -1 on error (setting errno).