2 Copyright © 1995-2012, The AROS Development Team. All rights reserved.
5 C99 function setvbuf().
14 /*****************************************************************************
43 ******************************************************************************/
53 /* Fail if provided buffer is smaller than minimum required by DOS */
54 if (buf
&& size
< 208)
62 case _IOFBF
: mode
= BUF_FULL
; break;
63 case _IOLBF
: mode
= BUF_LINE
; break;
64 case _IONBF
: mode
= BUF_NONE
; break;
70 desc
= __getfdesc(stream
->fd
);
77 return SetVBuf(desc
->fcb
->handle
, buf
, mode
, size
? size
: -1);