7 BPTR fh
= Open("__TEST__", MODE_NEWFILE
);
11 struct FileInfoBlock
*fib
= AllocDosObject(DOS_FIB
, NULL
);
15 if (ExamineFH(fh
, fib
))
17 printf("got fib. filename = %s\n", fib
->fib_FileName
);
21 printf("examinefh failed, ioerr = %ld\n", IoErr());
23 FreeDosObject(DOS_FIB
, fib
);
27 printf("couldn't allocate fileinfoblock\n");
31 DeleteFile("__TEST__");
35 printf("couldn't create file\n");