|
@ -30,9 +30,9 @@ |
|
|
.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF |
|
|
.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF |
|
|
.\" SUCH DAMAGE. |
|
|
.\" SUCH DAMAGE. |
|
|
.\" |
|
|
.\" |
|
|
.\" $OpenBSD: malloc.3,v 1.49 2007/09/03 21:38:34 millert Exp $ |
|
|
|
|
|
|
|
|
.\" $OpenBSD: malloc.3,v 1.50 2007/09/05 06:03:08 deraadt Exp $ |
|
|
.\" |
|
|
.\" |
|
|
.Dd $Mdocdate: September 3 2007 $ |
|
|
|
|
|
|
|
|
.Dd $Mdocdate: September 5 2007 $ |
|
|
.Dt MALLOC 3 |
|
|
.Dt MALLOC 3 |
|
|
.Os |
|
|
.Os |
|
|
.Sh NAME |
|
|
.Sh NAME |
|
@ -115,7 +115,7 @@ function allocates space for an array of |
|
|
.Fa nmemb |
|
|
.Fa nmemb |
|
|
objects, each of whose size is |
|
|
objects, each of whose size is |
|
|
.Fa size . |
|
|
.Fa size . |
|
|
The space is initialized to all bits zero. |
|
|
|
|
|
|
|
|
The space is initialized to zero. |
|
|
The use of |
|
|
The use of |
|
|
.Fn calloc |
|
|
.Fn calloc |
|
|
is strongly encouraged when allocating multiple sized objects |
|
|
is strongly encouraged when allocating multiple sized objects |
|
|