28. ?~ ?一部抜粋 ?~
if ?(memcntl(area1, ?8192, ?MC_?ENABLE_?ADI, ?NULL, ?0, ?0) ?< ?0) ?{
perror(“MC_?ENABLE_?ADI ? failed”);
exit(1);
}
area1 ?= ?adi_?set_?version(area1, ?8192, ?1);
if ?(memcntl(area2, ?8192, MC_?ENABLE_?ADI, ?NULL, ?0, ?0) ?< ?0) ?{
perror("MC_?ENABLE_?ADI ? failed");
exit(1);
}
area2 ?= ?adi_?set_?version(area2, ?8192, 2);
printf(" ?Original ?: ?pass ?= ?%s ??n", ? area2);
printf(" ??n");
fill_?with_?x(area1, ?8200);
printf(" ??n");
printf(" ?Current ? ?: ?pass ?= ?%s ??n", ? area2);
printf(" ??n");
A
B
C
D
1
2
3
4
A
B
C
D
1
2
3
4
X
X
X
X
X
X
X
X
X
X
X