13 int main(
int argc,
char *argv[])
16 strcpy(name,
"123456");
25 memset((
char *)buffer, 0xffffffff,
sizeof(buffer));
28 for(
int i=0;i<20;i++) {
29 printf(
"%d -- 0x%08x\n",i,buffer[i]);
33 idx.putfileheader((
char *)buffer, name, 0,0);
35 printf(
"sizeof(SFS_File)=%ld\n",
sizeof(
SFS_File));
38 for(
int i=0;i<20;i++) {
39 printf(
"%d -- 0x%08x\n",i,buffer[i]);