ssize_t kread_generic(
int id,
kaddr data,
size_t num,
int type)
INPUT
id - the file id to be read which was
opened earlier with kopen().
num - the number of data points to be
read into the data array.
type - data type.
OUTPUT
data - the kaddr array in which the data will be stored.
RETURN VALUE
the number of data points read
DESCRIPTION
This module is used to read an array of
data from a transport. The data will need
to contain enough memory to store "num"
data points of the specified type.
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.