2 Copyright © 2009, The AROS Development Team. All rights reserved.
6 #include <libraries/muiscreen.h>
8 #include <proto/iffparse.h>
10 #include <aros/debug.h>
12 /*****************************************************************************
15 #include <proto/muiscreen.h>
17 AROS_LH1(void, MUIS_ClosePubFile
,
20 AROS_LHA(APTR
, pf
, A0
),
23 struct Library
*, MUIScreenBase
, 10, MUIScreen
)
41 ******************************************************************************/
46 D(bug("MUIS_ClosePubFile(%p)\n", pf
));
48 struct IFFHandle
*iff
= (struct IFFHandle
*) pf
;
52 if(iff
->iff_Flags
& IFFF_WRITE
)
56 Close((BPTR
) iff
->iff_Stream
);