Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ calloc(3) — BSD/386 1.0

Media Vault

Software Library

Restoration Projects

Artifacts Sought

Related Articles

malloc(3)

realloc(3)

free(3)

CALLOC(3)                   BSD Programmer's Manual                  CALLOC(3)

NAME
     calloc - allocate clean memory (zero initialized space)

SYNOPSIS
     #include <stdlib.h>

     void *
     calloc(sizet nmemb, sizet size)

DESCRIPTION
     The calloc() function allocates space for an array of nmemb objects, each
     of whose size is size. The space is initialized to all bits zero.

RETURN VALUES
     The calloc() function returns a pointer to the the allocated space if
     successful; otherwise a null pointer is returned.

SEE ALSO
     malloc(3),  realloc(3),  free(3),

STANDARDS
     The calloc() function conforms to ANSI C3.159-1989 (``ANSI C'').

BSDI BSD/386                    March 26, 1993                               1








































Typewritten Software • bear@typewritten.org • Edmonds, WA 98026