define __KERNEL_STRICT_NAMES to avoid inclusion of kernel types on systems that carry...
[cake.git] / compiler / clib / putc.c
blob8b41b4aefcb52792e16310bf34cb0e11eac4b8d1
1 /*
2 Copyright © 1995-2003, The AROS Development Team. All rights reserved.
3 $Id$
5 ANSI C function putc().
6 */
8 #include <errno.h>
9 #include <dos/dos.h>
10 #include <dos/dosextens.h>
11 #include <proto/exec.h>
12 #include <proto/dos.h>
13 #include "__open.h"
14 #include "__errno.h"
16 #include <stdio.h>
17 #undef putc
19 /*****************************************************************************
21 NAME */
22 #include <stdio.h>
24 int putc (
26 /* SYNOPSIS */
27 int c,
28 FILE * stream)
30 /* FUNCTION
31 Write one character to the specified stream.
33 INPUTS
34 c - The character to output
35 stream - The character is written to this stream
37 RESULT
38 The character written or EOF on error.
40 NOTES
42 EXAMPLE
44 BUGS
46 SEE ALSO
48 INTERNALS
50 ******************************************************************************/
52 return fputc(c, stream);
53 } /* putc */