BOOTSTRAP (klibm) functions
LIBRARY ROUTINE
kdefine_to_datatype - takes the #define data type value and returns the string value
LIBRARY CALL
char *kdefine_to_datatype(
int type)
INPUT
- type - #define of data type
OUTPUT
none
RETURN VALUE
string that represents data type
DESCRIPTION
This routine returns a string value corresponding
to the #define data type passed in.
Here is a table of types
that can be used and the return values.
Data Type Return Value
---------------------------------------------------
KBIT bit
KBYTE byte
KUBYTE unsigned byte
KSHORT short
KUSHORT unsigned short
KINT integer
KUINT unsigned integer
KLONG long
KULONG unsigned long
KFLOAT float
KDOUBLE double
KCOMPLEX complex
KDCOMPLEX double complex
KSTRING string
KSTRUCT struct
ADDITIONAL INFORMATION
none
EXAMPLES
none
SIDE EFFECTS
none
RESTRICTIONS
none
MODIFICATION
none
FILES
$BOOTSTRAP/objects/library/klibm/src/kdata_type.c
SEE ALSO
klibm(3)
COPYRIGHT
Copyright (C) 1993 - 1997, Khoral Research, Inc. ("KRI") All rights reserved.