valloc man page on Ultrix

Man page or keyword search:  
man Server   3690 pages
apropos Keyword Search (all sections)
Output format
Ultrix logo
[printable version]

valloc(3)							     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 mem‐
       ory  or	if  the arena has been detectably corrupted by storing outside
       the bounds of a block.  The subroutine will fail and no additional mem‐
       ory 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)
[top]

List of man pages available for Ultrix

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