1 #include <proto/exec.h>
3 #include <kernel_base.h>
4 #include <proto/kernel.h>
8 AROS_LH1(void, KrnPutChar
,
10 struct KernelBase
*, KernelBase
, 25, Kernel
)
14 write (STDERR_FILENO
, &c
, 1);
15 /* Make sure it makes it to the user. Slow but save.
16 On Linux this gives an error (stderr is already unbuffered) */
17 #if !(defined(__linux__) || defined(__FreeBSD__))
18 fsync (STDERR_FILENO
);