purge remaining gpl code from clib, and make clib build again
[tangerine.git] / compiler / clib / setlinebuf.c
blob284446b13fa46e8e55ece2c5fed17c1b382d2182
1 /*
2 Copyright © 1995-2003, The AROS Development Team. All rights reserved.
3 $Id$
5 ANSI C function setlinebuf().
6 */
8 #define setlinebuf setlinebuf
10 /*****************************************************************************
12 NAME */
13 #include <stdio.h>
15 void setlinebuf (
17 /* SYNOPSIS */
18 FILE *stream)
20 /* FUNCTION
22 INPUTS
24 RESULT
26 NOTES
27 This is a simpler alias for setvbuf() according to manpage.
29 EXAMPLE
31 BUGS
33 SEE ALSO
35 INTERNALS
37 ******************************************************************************/
39 setvbuf(stream, (char *)NULL, _IOLBF, 0);
40 } /* setlinebuf */