2 Copyright © 1995-2007, The AROS Development Team. All rights reserved.
8 #include <exec/memory.h>
9 #include <proto/exec.h>
11 #include <dos/stdio.h>
12 #include <dos/dosextens.h>
14 #include "dos_intern.h"
16 #include <aros/debug.h>
18 /*****************************************************************************
21 #include <proto/dos.h>
26 AROS_LHA(BPTR
, file
, D1
),
27 AROS_LHA(LONG
, character
, D2
),
30 struct DosLibrary
*, DOSBase
, 52, Dos
)
33 Write a character to a file.
36 file - Filehandle to write to.
37 character - Character to write.
40 The character written or EOF in case of an error.
41 IoErr() gives additional information in that case.
54 *****************************************************************************/
59 return (1 == FWriteChars(file
, &c
, 1, DOSBase
))