Skip to main content

allocate_buffer

Discworld driver help

allocate_buffer

Name

allocate_buffer() - allocate a buffer

Synopsis

buffer allocate_buffer( int size );

Description

Allocate a buffer of <size> elements. The number of elements must be >= 0 and not bigger than a system maximum (usually ~10000). All elements are initialized to 0.

See also

bufferp(), read_buffer(), write_buffer(), sizeof(), to_int()