alsa.audio: drop remaining buffer when closing
[AROS.git] / compiler / stdc / getc.c
blobf951a20a351a629f9c62fea82d7118eff0be80b9
1 /*
2 Copyright © 1995-2013, The AROS Development Team. All rights reserved.
3 $Id$
5 C99 function getc().
6 */
8 /*****************************************************************************
10 NAME
11 #include <stdio.h>
13 int getc (
15 SYNOPSIS
16 FILE * stream)
18 FUNCTION
19 Read one character from the stream. If there is no character
20 available or an error occurred, the function returns EOF.
22 INPUTS
23 stream - Read from this stream
25 RESULT
26 The character read or EOF on end of file or error.
28 NOTES
30 EXAMPLE
32 BUGS
34 SEE ALSO
35 fgetc(), fputc(), putc()
37 INTERNALS
38 getc() is an alias for fgetc().
40 ******************************************************************************/