The OpenD Programming Language

File.writef

Writes its arguments in text format to the file, according to the format string fmt.

  1. void writef(A args)
    struct File
    void
    writef
    (
    alias fmt
    A...
    )
    ()
  2. void writef(Char[] fmt, A args)

Parameters

fmt

The format string. When passed as a compile-time argument, the string will be statically checked against the argument types passed.

args A

Items to write.

Throws

Exception if the file is not opened. ErrnoException on an error writing to the file.

Meta