adopted an updated path to a test script.
[AROS.git] / compiler / posixc / setlinebuf.c
blob1d8578ded626bb340b88006b41a2cbcb95cabc24
1 /*
2 Copyright © 1995-2013, The AROS Development Team. All rights reserved.
3 $Id$
5 BSD legacy function setlinebuf().
6 Function is deprecated and not part of POSIX standard.
7 */
9 /*****************************************************************************
11 NAME */
12 #include <stdio.h>
14 void setlinebuf (
16 /* SYNOPSIS */
17 FILE *stream)
19 /* FUNCTION
21 INPUTS
23 RESULT
25 NOTES
26 This is a simpler alias for setvbuf() according to manpage.
27 This function is not part of POSIX and programmers are advised
28 to use setvbuf() function directly.
29 Legacy functions may be removed in the future.
31 EXAMPLE
33 BUGS
35 SEE ALSO
36 setvbuf()
38 INTERNALS
39 This function is part of the static link lib and not in
40 posixc.library.
42 ******************************************************************************/
44 setvbuf(stream, (char *)NULL, _IOLBF, 0);
45 } /* setlinebuf */