2 Copyright © 1995-2007, The AROS Development Team. All rights reserved.
9 #include <proto/exec.h>
11 #include <aros/asmcall.h>
12 #include "dos_intern.h"
14 AROS_UFP2(void, vfp_hook
,
15 AROS_UFPA(UBYTE
, chr
, D0
),
16 AROS_UFPA(struct vfp
*, vfp
, A3
)
19 /*****************************************************************************
22 #include <proto/dos.h>
24 AROS_LH2(LONG
, VPrintf
,
27 AROS_LHA(CONST_STRPTR
, format
, D1
),
28 AROS_LHA(IPTR
*, argarray
, D2
),
31 struct DosLibrary
*, DOSBase
, 159, Dos
)
49 *****************************************************************************/
54 BPTR file
= ((struct Process
*)FindTask(NULL
))->pr_COS
;
58 vfp
.DOSBase
= DOSBase
;
60 (void)RawDoFmt(format
, argarray
,
61 (VOID_FUNC
)AROS_ASMSYMNAME(vfp_hook
), &vfp
);
63 /* Remove the last character (which is a NUL character) */
68 ((struct FileHandle *)BADDR(file))->fh_Pos--;