Home
Search all pages
Subjects
By activity
Professions, Sciences, Humanities, Business, ...
User Interface
Text-based, GUI, Audio, Video, Keyboards, Mouse, Images,...
Text Strings
Conversions, tests, processing, manipulation,...
Math
Integer, Floating point, Matrix, Statistics, Boolean, ...
Processing
Algorithms, Memory, Process control, Debugging, ...
Stored Data
Data storage, Integrity, Encryption, Compression, ...
Communications
Networks, protocols, Interprocess, Remote, Client Server, ...
Hard World Timing, Calendar and Clock, Audio, Video, Printer, Controls...
File System
Management, Filtering, File & Directory access, Viewers, ...
|
|
|
RocketLink!--> Man page versions:
OpenBSD
FreeBSD
Others
VALLOC(3) OpenBSD Programmer's Manual VALLOC(3)
NAME
valloc - aligned memory allocation function
SYNOPSIS
#include <unistd.h>
void *
valloc(size_t size);
DESCRIPTION
The valloc() function is obsoleted by the current version of malloc(3),
which aligns page-sized and larger allocations.
The valloc() function allocates size bytes aligned on a page boundary.
It is implemented by calling malloc(3) with a slightly larger request,
saving the true beginning of the block allocated, and returning a proper-
ly aligned pointer.
RETURN VALUES
The valloc() function returns a pointer to the allocated space if suc-
cessful; otherwise a null pointer is returned.
HISTORY
The valloc() function appeared in 3.0BSD.
BUGS
A vfree() function has not been implemented.
OpenBSD 2.6 June 4, 1993 1
Source: OpenBSD 2.6 man pages. Copyright: Portions are copyrighted by BERKELEY SOFTWARE DESIGN, INC., The Regents of the University of California, Massachusetts Institute of Technology, Free Software Foundation, FreeBSD Inc., and others. |
(Corrections, notes, and links courtesy of RocketAware.com)
FreeBSD Sources for valloc(3) functions OpenBSD sources for valloc(3)
Up to: Memory blocks (Sometimes called "Byte Strings") - Memory blocks. Allocated, shared, mmaped, kernel et al
RocketLink!--> Man page versions:
OpenBSD
FreeBSD
Others
Rapid-Links:
Search | About | Comments | Submit Path: RocketAware > man pages >
valloc.3/
RocketAware.com is a service of Mib Software Copyright 1999, Forrest J. Cavalier III. All Rights Reserved. We welcome submissions and comments
|