BOOTSTRAP (kutils) functions


LIBRARY ROUTINE

kwrite_pointer - write a variable array

LIBRARY CALL

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

INPUT

OUTPUT

none

RETURN VALUE

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

DESCRIPTION

This module is used to write a pointer to an variable sized array. The size of the array and the data is stored in the transport. The writer first writes the number of points, and then calls kwrite_generic() to do the actual writing of the data. If NULL is passed in then kwrite_pointer() will write out 0 for the number of points, which will then be used by kread_pointer() to return NULL.

ADDITIONAL INFORMATION

none

EXAMPLES

none

SIDE EFFECTS

none

RESTRICTIONS

none

MODIFICATION

none

FILES

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

SEE ALSO

kutils(3)

COPYRIGHT

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