alsa.audio: limit the supported frequencies to common set
[AROS.git] / compiler / stdc / setbuf.c
blobf0368beb8cbae4c1116b21a8d485fa0819e7d4cf
1 /*
2 Copyright © 1995-2012, The AROS Development Team. All rights reserved.
3 $Id$
5 C99 function setbuf().
6 */
8 /*****************************************************************************
10 NAME */
11 #include <stdio.h>
13 void setbuf (
15 /* SYNOPSIS */
16 FILE * restrict stream,
17 char * restrict buf)
19 /* FUNCTION
20 Sets a buffer associated with a stream.
22 INPUTS
23 stream: stream to set a buffer for.
24 buf: if it points to an array of at least size BUFSIZ it will be used
25 as a buffer with mode _IOFBF. If it is NULL mode will be set to
26 _IONBF
28 RESULT
31 NOTES
33 EXAMPLE
35 BUGS
37 SEE ALSO
38 setvbuf()
40 INTERNALS
42 ******************************************************************************/
44 setvbuf(stream, buf, buf ? _IOFBF : _IONBF, BUFSIZ);
45 } /* setbuf */