FrcaCacheDelete Subroutine

Purpose

Deletes a cache instance within the scope of a Fast Response Cache Accelerator (FRCA) instance.

Library

FRCA Library (libfrca.a)

Syntax

#include <frca.h>
int32_t FrcaCacheDelete ( CacheHandle,  FrcaHandle);
int32_t  CacheHandle;
int32_t  FrcaHandle;

Description

The FrcaCacheDelete subroutine deletes a cache instance and releases any associated resources.

Parameters

Item Description
CacheHandle Identifies the cache instance that is to be deleted.
FrcaHandle Identifies the FRCA instance to which the cache instance belongs.

Return Values

Item Description
0 The subroutine completed successfully.
-1 The subroutine failed. The global variable errno is set to indicate the specific type of error.

Error Codes

Item Description
ENOENT The CacheHandle or the FrcaHandle parameter is invalid.