LPC Library Functions: 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 about 10000). All elements are initialized to 0.

This function is only available if the driver flag NO_BUFFER_TYPE is not defined.

SEE ALSO

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

Truilkan

Page design by Frank Jacquette & Tim Hollebeek
Copyright (C) 1998 Tim Hollebeek & Frank Jacquette
Back to MudOS