BOOTSTRAP (kutils) functions


LIBRARY ROUTINE

kstruct_check - check to see if a datatype is defined

LIBRARY CALL

int kstruct_check(
   char *name)

INPUT

OUTPUT

none

RETURN VALUE

returns the structure data type on success, KUNDEFINED otherwise

DESCRIPTION

This module is used to check to see if a datatype structure is defined. It takes the name of the structure originally used to define the entry. If the structure exists kstruct_check() returns the structure data type define, which can then be used by the kread_generic()/ kwrite_generic() routines to read and write arbitary structures.

ADDITIONAL INFORMATION

none

EXAMPLES

none

SIDE EFFECTS

none

RESTRICTIONS

none

MODIFICATION

none

FILES

$BOOTSTRAP/objects/library/kutils/src/kstruct.c

SEE ALSO

kutils(3)

COPYRIGHT

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