Allocate a channel buffer
void * relay_alloc_buf(struct rchan_buf * buf, size_t * size);
buf
the buffer struct
size
total size of the buffer
Returns a pointer to the resulting buffer, NULL if unsuccessful. The passed in size will get page aligned, if it isn't already.