Function report |
Source Code:block\partitions\msdos.c |
Create Date:2022-07-28 17:29:09 |
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
| home page | Tree |
| Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:aix_magic_present
Proto:static int aix_magic_present(struct parsed_partitions *state, unsigned char *p)
Type:int
Parameter:
| Type | Parameter | Name |
|---|---|---|
| struct parsed_partitions * | state | |
| unsigned char * | p |
| 74 | ret = 0 |
| 76 | If Not ( p[0] == Value is EBCDIC 'IBMA' && p[1] == AIX_LABEL_MAGIC2 && p[2] == AIX_LABEL_MAGIC3 && p[3] == AIX_LABEL_MAGIC4 ) Then Return 0 |
| 83 | If What partition type == LINUX_SWAP_PARTITION || What partition type == LINUX_RAID_PARTITION || What partition type == LINUX_DATA_PARTITION || What partition type == LINUX_LVM_PARTITION || is_extended_partition(pt) Then Return 0 |
| 90 | d = read_part_sector(state, 7, & sect) |
| 91 | If d Then |
| 96 | Return ret |
| Name | Describe |
|---|---|
| msdos_partition |
| Source code conversion tool public plug-in interface | X |
|---|---|
| Support c/c++/esqlc/java Oracle/Informix/Mysql Plug-in can realize: logical Report Code generation and batch code conversion |