hpux man page for memalign

Query: memalign

OS: hpux

Section: 3c

Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar

memalign(3C)															      memalign(3C)

NAME
memalign() - allocate aligned memory
SYNOPSIS
DESCRIPTION
allocates space for a block of size bytes, whose address is a multiple of boundary. The space is not initialized. The boundary must be a power of 2.
EXTERNAL INFLUENCES
employs the allocator. For tuning information, see the malloc(3C) man page.
RETURN VALUE
Upon successful completion, returns a pointer to space aligned to a multiple of boundary. Otherwise, it returns a NULL pointer.
DIAGNOSTICS
returns a NULL pointer if there is no available memory, or if the value of boundary is not a power of 2.
ERRORS
sets to and returns a NULL pointer when an out-of-memory condition arises. sets to and returns a NULL pointer when the value of boundary is not a power of 2. sets to and returns a NULL pointer when the memory being managed by has been detectably corrupted.
WARNINGS
For warnings, see the malloc(3C) man page.
SEE ALSO
thread_safety(5).
STANDARDS CONFORMANCE
There appear to be no standards applicable to Some implementations do not check that boundary is a power of 2. The HP-UX implementation is not derived from any predecessor. memalign(3C)
Related Man Pages
free(3c) - sunos
memalign(3) - suse
posix_memalign(3) - suse
valloc(3) - suse
memalign(3c) - hpux
Similar Topics in the Unix Linux Community
sh: syntax error at line 1: `>' unexpected
For a research race potentially affecting tens of millions of lives, Pharmasset choos
Increase for the Page space