1. NAME

relay_alloc_buf - allocate a channel buffer

2. SYNOPSIS

void * relay_alloc_buf(struct rchan_buf *  buf , size_t *  size );

3. ARGUMENTS

buf
    the buffer struct

size
    total size of the buffer

4. DESCRIPTION

Returns a pointer to the resulting buffer, NULL if unsuccessful. The passed in size will get page aligned, if it isnAqt already.

5. COPYRIGHT