File.setvbuf

Calls $(CSTDIO setvbuf) for the file handle.

  1. void setvbuf(size_t size, int mode)
    struct File
    @trusted
    void
    setvbuf
    (
    size_t size
    ,
    int mode = _IOFBF
    )
  2. void setvbuf(void[] buf, int mode)

Throws

Exception if the file is not opened. ErrnoException if the call to setvbuf fails.

Meta