int kdata_fill(
kaddr data,
int num,
int datatype,
double real,
double imaginary)
INPUT
data - point to the data to be filled
num - number of points to be filled
datatype - data type to fill with
real - real part of data to fill with
imaginary - imaginary part of data to fill with
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.