File.setvbuf

void setvbuf(size_t size, int mode = _IOFBF) @trusted

Calls setvbuf for the file handle.

Throws

Exception if the file is not opened.

ErrnoException if the call to setvbuf fails.

void setvbuf(void[] buf, int mode = _IOFBF) @trusted

Calls setvbuf for the file handle.

Throws

Exception if the file is not opened.

ErrnoException if the call to setvbuf fails.