RETRO (vutils) functions


LIBRARY ROUTINE

vgettype - a utility to convert an input string to a xvimage data type

LIBRARY CALL

int vget_type(
	int *type,
	char *stype)

INPUT

none

OUTPUT

none

RETURN VALUE

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

DESCRIPTION

This routine takes as input a string that should be one of bit, byte, short, int, float, complex, or double. Given this string, it will return a TRUE indicating that no error has occured, and * the integer argument will be returned with the corresponding VFF data type.

ADDITIONAL INFORMATION

none

EXAMPLES

none

SIDE EFFECTS

none

RESTRICTIONS

none

MODIFICATION

none

FILES

$RETRO/objects/library/vutils/src/vget_type.c

SEE ALSO

vutils(3)

COPYRIGHT

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