Annotation of researchv10dc/man/manb/valloc.3, revision 1.1.1.1

1.1       root        1: .UC
                      2: .TH VALLOC 3
                      3: .SH NAME
                      4: valloc \- aligned memory allocator
                      5: .SH SYNOPSIS
                      6: .nf
                      7: .B char *valloc(size)
                      8: .B unsigned size;
                      9: .fi
                     10: .SH DESCRIPTION
                     11: .I Valloc
                     12: allocates
                     13: .I size
                     14: bytes aligned on a boundary adequate for
                     15: .IR vread (2)).
                     16: It is implemented by calling
                     17: .IR malloc (3)
                     18: with a slightly larger request, saving the true beginning of the block
                     19: allocated, and returning a properly aligned pointer.
                     20: .SH DIAGNOSTICS
                     21: .I Valloc
                     22: returns a null pointer (0) if there is no available memory
                     23: or if the arena has been detectably corrupted by storing outside the bounds
                     24: of a block.
                     25: .SH BUGS
                     26: .I Vfree
                     27: isn't implemented.

unix.superglobalmegacorp.com

This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.