Query: umad_alloc
OS: debian
Section: 3
Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar
UMAD_ALLOC(3) OpenIB Programmer's Manual UMAD_ALLOC(3)NAMEumad_alloc - allocate memory for umad buffersSYNOPSIS#include <infiniband/umad.h> void * umad_alloc(int num, size_t size);DESCRIPTIONumad_alloc() allocates memory for an array of num umad buffers of size bytes. Note that size should include the umad_size() plus the length (MAD_BLOCK_SIZE for normal MADs or the length returned from umad_recv() for RMPP MADs).RETURN VALUEumad_alloc() returns NULL if out of memory.SEE ALSOumad_free(3)AUTHORHal Rosenstock <halr@voltaire.com> OpenIB May 21, 2007 UMAD_ALLOC(3)