adopted an updated path to a test script.
[AROS.git] / compiler / posixc / getc_unlocked.c
blobe9bb24fa9e0f1115d4c8d258f241220c0190b52f
1 /*
2 Copyright © 2017, The AROS Development Team. All rights reserved.
3 $Id$
4 */
6 #include <errno.h>
7 #include <dos/dos.h>
8 #include <dos/dosextens.h>
9 #include <proto/exec.h>
10 #include <proto/dos.h>
11 #include "__fdesc.h"
12 #include "__stdio.h"
14 #define DEBUG 0
15 #include <aros/debug.h>
17 /*****************************************************************************
19 NAME */
20 #include <stdio.h>
22 int getc_unlocked (
24 /* SYNOPSIS */
25 FILE * stream)
27 /* FUNCTION
29 INPUTS
30 stream - Read from this stream
32 RESULT
33 The character read or EOF on end of file or error.
35 NOTES
37 EXAMPLE
39 BUGS
41 SEE ALSO
42 getc(), fputc(), putc()
44 INTERNALS
46 ******************************************************************************/
48 return getc(stream);