File.setvbuf

Calls $(CSTDIO setvbuf) for the file handle.

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

Throws

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

Meta