home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Fresh Fish 8
/
FreshFishVol8-CD1.bin
/
gnu
/
man
/
cat3
/
calloc.0
< prev
next >
Wrap
Text File
|
1993-12-07
|
1KB
|
67 lines
CALLOC(3) UNIX Programmer's Manual CALLOC(3)
NNAAMMEE
ccaalllloocc - allocate clean memory (zero initialized space)
SSYYNNOOPPSSIISS
##iinncclluuddee <<ssttddlliibb..hh>>
_v_o_i_d _*
ccaalllloocc(_s_i_z_e___t _n_m_e_m_b, _s_i_z_e___t _s_i_z_e)
DDEESSCCRRIIPPTTIIOONN
The ccaalllloocc() function allocates space for an array of _n_m_e_m_b objects, each
of whose size is _s_i_z_e. The space is initialized to all bits zero.
RREETTUURRNN VVAALLUUEESS
The ccaalllloocc() function returns a pointer to the the allocated space if
successful; otherwise a null pointer is returned.
SSEEEE AALLSSOO
malloc(3), realloc(3), free(3),
SSTTAANNDDAARRDDSS
The ccaalllloocc() function conforms to ANSI C3.1591989 (``ANSI C'').
BSD Experimental June 29, 1991 1