Copy_Segment_With_Mapping
Functions | |
HC_KEY | Copy_Segment_With_Mapping (const char *source_seg, const char *destination, int count, const HC_KEY *interesting_keys, HC_KEY *copied_keys) |
Allows the user to provide a list of keys from the segment to be copied, and returns a list of corresponding keys from the resulting copied segment. More... | |
Detailed Description
Function Documentation
◆ Copy_Segment_With_Mapping()
HC_KEY Copy_Segment_With_Mapping | ( | const char * | source_seg, |
const char * | destination, | ||
int | count, | ||
const HC_KEY * | interesting_keys, | ||
HC_KEY * | copied_keys | ||
) |
Allows the user to provide a list of keys from the segment to be copied, and returns a list of corresponding keys from the resulting copied segment.
- Parameters
-
source_seg Name of the segment to be copied. destination Name of the receiving segment. count Size of the interesting_keys array. interesting_keys List of keys to be copied. copied_keys New identifiers of the created segments. Passed by reference. Returned to user.