Adic Server Uživatelský manuál Strana 155

  • Stažení
  • Přidat do mých příruček
  • Tisk
  • Strana
    / 218
  • Tabulka s obsahem
  • KNIHY
  • Hodnocené. / 5. Na základě hodnocení zákazníků
Zobrazit stránku 154
aci_scratch_info 4-113
21 Dec 2001
Figure 4-103 Example of the aci_scratch_info Function
/* List scratch pool information */
int rc;
char *pszPoolName = "";
enum aci_media type = ACI_3590;
long lVolserCount, lScratchCount;
if ((rc =
aci_scratch_info (pszPoolName, type,
&lVolserCount, &lScratchCount)) != 0
)
{
aci_perror ("Command failed: ");
}
else
{
if (strcmp (pszPoolName, "") == 0)
{
printf ("DEFAULT_POOL:VolserCount:%d,
ScratchCount:%d\n",
lVolserCount, lScratchCount);
}
else
{
printf ("%s: VolserCount: %d,
ScratchCount: %d \n",
pszPoolName, lVolserCount,
lScratchCount);
}
}
Zobrazit stránku 154
1 2 ... 150 151 152 153 154 155 156 157 158 159 160 ... 217 218

Komentáře k této Příručce

Žádné komentáře