compiler/clib: Rename IoErr2errno() to __arosc_ioerr2errno(); function is now defined...
[AROS.git] / compiler / clib / putc.c
blobaf6c790f63f055a4acfc8950ee83ca1b88ef5c9a
1 /*
2 Copyright © 1995-2012, The AROS Development Team. All rights reserved.
3 $Id$
5 ANSI C function putc().
6 */
8 #include <dos/dos.h>
9 #include <dos/dosextens.h>
10 #include <proto/exec.h>
11 #include <proto/dos.h>
12 #include "__fdesc.h"
14 #include <stdio.h>
15 #undef putc
17 /*****************************************************************************
19 NAME */
20 #include <stdio.h>
22 int putc (
24 /* SYNOPSIS */
25 int c,
26 FILE * stream)
28 /* FUNCTION
29 Write one character to the specified stream.
31 INPUTS
32 c - The character to output
33 stream - The character is written to this stream
35 RESULT
36 The character written or EOF on error.
38 NOTES
40 EXAMPLE
42 BUGS
44 SEE ALSO
46 INTERNALS
48 ******************************************************************************/
50 return fputc(c, stream);
51 } /* putc */