MCPcopy Create free account
hub / github.com/cgsecurity/testdisk / is_part_fat16

Function is_part_fat16

src/fat.c:1178–1198  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1176}
1177
1178int is_part_fat16(const partition_t *partition)
1179{
1180#if !defined(SINGLE_PARTITION_TYPE) || defined(SINGLE_PARTITION_I386)
1181 if(partition->arch==&arch_i386)
1182 {
1183 switch(partition->part_type_i386)
1184 {
1185 case P_16FAT:
1186 case P_16FATH:
1187 case P_16FATBD_LBA:
1188 case P_16FATBD:
1189 case P_16FATBDH:
1190 case P_16FATBD_LBAH:
1191 return 1;
1192 default:
1193 break;
1194 }
1195 }
1196#endif
1197 return 0;
1198}
1199
1200static int is_fat16(const partition_t *partition)
1201{

Callers 3

is_part_fatFunction · 0.85
is_fat16Function · 0.85
adv_menu_boot_selectedFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected