Deleted Added
full compact
33c33
< .\" $FreeBSD: head/lib/libc/gen/valloc.3 108040 2002-12-18 13:33:04Z ru $
---
> .\" $FreeBSD: head/lib/libc/gen/valloc.3 154252 2006-01-12 09:29:38Z jasone $
35c35
< .Dd June 4, 1993
---
> .Dd September 13, 2005
51,53c51,53
< function is obsoleted by the current version of
< .Xr malloc 3 ,
< which aligns page-sized and larger allocations.
---
> function is obsoleted by
> .Xr posix_memalign 3 ,
> which can be used to request page-aligned allocations.
62,65d61
< It is implemented by calling
< .Xr malloc 3
< with a slightly larger request, saving the true beginning of the block
< allocated, and returning a properly aligned pointer.
71c67,69
< a null pointer is returned
---
> a null pointer is returned.
> .Sh SEE ALSO
> .Xr posix_memalign 3
77,81c75,81
< .Sh BUGS
< A
< .Fn vfree
< function
< has not been implemented.
---
> .Pp
> The
> .Fn valloc
> function correctly allocated memory that could be deallocated via
> .Fn free
> in
> .Bx 7.0 .