memalign man page on HP-UX

Man page or keyword search:  
man Server   10987 pages
apropos Keyword Search (all sections)
Output format
HP-UX logo
[printable version]

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 bound‐
		       ary 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)
[top]

List of man pages available for HP-UX

Copyright (c) for man pages and the logo by the respective OS vendor.

For those who want to learn more, the polarhome community provides shell access and support.

[legal] [privacy] [GNU] [policy] [cookies] [netiquette] [sponsors] [FAQ]
Tweet
Polarhome, production since 1999.
Member of Polarhome portal.
Based on Fawad Halim's script.
....................................................................
Vote for polarhome
Free Shell Accounts :: the biggest list on the net