Flashnux

GNU/Linux man pages

Livre :
Expressions régulières,
Syntaxe et mise en oeuvre :

ISBN : 978-2-7460-9712-4
EAN : 9782746097124
(Editions ENI)

GNU/Linux

CentOS 4.8

i386

umad_alloc(3)


UMAD_ALLOC

UMAD_ALLOC

NAME
SYNOPSIS
DESCRIPTION
RETURN VALUE
SEE ALSO
AUTHOR

NAME

umad_alloc − allocate memory for umad buffers

SYNOPSIS

#include <infiniband/umad.h>

void * umad_alloc(int num, size_t size);

DESCRIPTION

umad_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 VALUE

umad_alloc() returns NULL if out of memory.

SEE ALSO

umad_free(3)

AUTHOR

Hal Rosenstock <halr@voltaire.com>



umad_alloc(3)