DATASERV (kdataman) functions


LIBRARY ROUTINE

kdms_destroy_segment - destroy a segment from a data object.

LIBRARY CALL

int
kdms_destroy_segment(
   kobject object,
   char   *segment)

INPUT

OUTPUT

none

RETURN VALUE

TRUE on success, FALSE otherwise

DESCRIPTION

This function is used to destroy an existing segment from a data object. Once a segment has been destroyd, any data or attributes associated with that segment will be lost forever. A new segment can be created in its place.

If the segment does not exist, then an error message will be issued.

ADDITIONAL INFORMATION

none

EXAMPLES

none

SIDE EFFECTS

none

RESTRICTIONS

none

MODIFICATION

none

FILES

$DATASERV/objects/library/kdataman/src/segment.c

SEE ALSO

kdataman(3)

COPYRIGHT

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