lispdoc - results for foreign-alloc

(cffi:foreign-alloc type &key (initial-element nil initial-element-p)
 (initial-contents nil initial-contents-p) (count 1 count-p) null-terminated-p)
Function: Allocate enough memory to hold COUNT objects of type TYPE. If INITIAL-ELEMENT is supplied, each element of the newly allocated memory is initialized with its value. If INITIAL-CONTENTS is supplied, each of its elements will be used to initialize the contents of the newly allocated memory.
(cffi-sys:%foreign-alloc size)
Function: Allocate SIZE bytes on the heap and return a pointer.