ultrix man page for valloc

Query: valloc

OS: ultrix

Section: 3

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

valloc(3)						     Library Functions Manual							 valloc(3)

Name
       valloc - aligned memory allocator

Syntax
       #include <stdlib.h>

       void *valloc(size)
       size_t size;

Description
       The  subroutine	allocates  size bytes aligned on a page boundary.  It is implemented by calling with a slightly larger request, saving the
       true beginning of the block allocated, and returning a properly aligned pointer.

Diagnostics
       The subroutine returns a null pointer (0) if there is no available memory or if the arena has been detectably corrupted by storing  outside
       the bounds of a block.  The subroutine will fail and no additional memory will be allocated if one of the following is true:

       [ENOMEM]    The limit, as set by is exceeded.

       [ENOMEM]    The maximum possible size of a data segment (compiled into the system) is exceeded.

       [ENOMEM]    Insufficient space exists in the swap area to support the expansion.

																	 valloc(3)
Related Man Pages
posix_memalign(3) - redhat
free(3c) - sunos
realloc(3c) - sunos
memalign(3c) - sunos
valloc(3c) - sunos
Similar Topics in the Unix Linux Community
Error in compilation of cxx file on Sun C++ 5.9 SunOS_sparc 2007/05/03)
How to zip file in AIX with password.
Tool to simulate non-sequential disk I/O (simulate db file sequential read) in C POSIX
What is the function to get address of the virtual memory block in linux??
Grant unprivileged user rights to see the output of echo|format but not modify disks