relay_alloc_buf (9) - Linux Man Pages
relay_alloc_buf: allocate a channel buffer
relay_alloc_buf - allocate a channel buffer
void * relay_alloc_buf(struct rchan_buf
* buf, size_t * size);
- the buffer struct
- 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.