Renamed include file aros/_timeval.h to aros/types/timeval_s.h.
[AROS.git] / compiler / clib / putc.c
blobf941a0a431c4d7fd9614bd02602369edf86950cb
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 "__fdesc.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 */