linkcount.c

来自「存取UDF格式的DVD光盘的驱动程序」· C语言 代码 · 共 21 行

C
21
字号
#include <stdio.h>#include "chkudf.h"#include "protos.h"int TestLinkCount(void){  UINT32 i;  printf("\n--Testing link counts.\n");  for (i = 0; i < ICBlist_len; i++) {    if (ICBlist[i].Link != ICBlist[i].LinkRec) {      printf("**ICB at %04x:%08x has a link count of %d, found %d link%s.\n",             ICBlist[i].Ptn, ICBlist[i].LBN, ICBlist[i].LinkRec,              ICBlist[i].Link, ICBlist[i].Link == 1 ? "" : "s");    }  }  return 0;}

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?