c_ealloc - Allocates memory for image lines of a group

SYNTAX

#include "las.h"

FUNCTION unsigned char *c_ealloc (fdarray, buffersz)

     int                *fdarray;
     long               *buffersz;

PARAMETERS

fdarray (input, integer array, null terminated)

A null terminated array containing the individual file descriptors, created by calling c_eopens() each image file.

buffersz (output, integer)

Size of the memory area (buffer) in bytes returned to the caller.

DESCRIPTION

The c_ealloc() call is used to dynamically allocate the buffer space to be used for the file group to be processed by c_estep().

RETURN VALUE

c_ealloc() returns

     A pointer to the newly created memory buffer on success.
     NULL (0) --> failure

SPECIAL CONSIDERATIONS

The c_ealloc() call is for C only. The c_ealloc() call is for sequential processing only.