BOOTSTRAP (kutils) functions


LIBRARY ROUTINE

kread_pointer - read in a variable array

LIBRARY CALL

int kread_pointer(
   int   id,
   kaddr *data,
   int   type)

INPUT

OUTPUT

RETURN VALUE

TRUE (1) on success, FALSE (0) otherwise

DESCRIPTION

This module is used to read in a pointer to an variable sized array. The size of the array and the data is stored in the transport. The reader first reads the number of points, allocates enough space for the return data, and then calls kread_generic() to do the actual reading of the data. If NULL is stored then kread_pointer() will set the data pointer to NULL and return that 0 data points were read.

ADDITIONAL INFORMATION

none

EXAMPLES

none

SIDE EFFECTS

none

RESTRICTIONS

none

MODIFICATION

none

FILES

$BOOTSTRAP/objects/library/kutils/src/kread.c

SEE ALSO

kutils(3)

COPYRIGHT

Copyright (C) 1993 - 1997, Khoral Research, Inc. ("KRI") All rights reserved.