_SRAMmerge Function

Microchip MDD File System Interface

MDDFS Interface Library Help
_SRAMmerge Function
C
NEAR unsigned char _SRAMmerge(
    SALLOC * NEAR pSegA
);
Description

This function tries to merge adjacent segments that have not been allocated. The largest possible segment is merged if possible.

Parameters
Parameters 
Description 
SALLOC * NEAR pSegA 
pointer to the first segment. 
Returns

usnigned char - returns the length of the merged segment or zero if failed to merge.

Microchip MDD File System Interface 1.2.0 - [Aug 18, 2008]
Copyright © 2008 Microchip Technology, Inc.  All rights reserved.