/* Redirects an Fclose request. 
Redirects an Fclose request to the appropriate handler based on the specified file handle. */
RtStatus_t Fclose(int32_t handleNumber)
/* Redirects an Fclose request. 
Redirects an Fclose request to the appropriate handler based on the specified file handle. */
RtStatus_t Fclose(int32_t handleNumber)
{
    RtStatus_t result = ERROR_OS_FILESYSTEM_NO_STEERING_FUNCTION;
    FsType_t type;
    Fclose_t function;
    type = FileSystemType(handleNumber);
    function = pRedirectFclose[type];
    if (function != NULL) {
        result = function(handleNumber);
    }
    totalFileOpened--;
    fatCacheRelease(NULL);
    return result;
}