BOOTSTRAP (klibm) functions


LIBRARY ROUTINE

kdata_fill - fill memory with value by data type

LIBRARY CALL

int kdata_fill(
   kaddr  data,
   int    num,
   int    datatype,
   double real,
   double imaginary)

INPUT

OUTPUT

none

RETURN VALUE

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

DESCRIPTION

This function is used to fill a region of memory with a specified value. A datatype is used to determine how to use interpret the real and imaginary values specified. The data types are byte, unsigned byte, short, unsigned short, long, unsigned long, int, unsigned int, float, double, complex, and double complex.

ADDITIONAL INFORMATION

none

EXAMPLES

none

SIDE EFFECTS

none

RESTRICTIONS

none

MODIFICATION

none

FILES

$BOOTSTRAP/objects/library/klibm/src/kdata_fill.c

SEE ALSO

klibm(3)

COPYRIGHT

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