std.cstream
Jump to: CFile close cstream derr din dout eof file flush getc readBlock seek ungetc writeBlock writeLine writeLineW
Boost License 1.0. Authors:
Ben Hinkle Source:
std/cstream.d
- A Stream wrapper for a C file of type FILE*.
- this(shared(_iobuf)* cfile, FileMode mode, bool seekable = false);
- Create the stream wrapper for the given C file.
Parameters:
FileMode mode a bitwise combination of FileMode.In for a readable file and FileMode.Out for a writeable file. bool seekable indicates if the stream should be seekable. - Property to get or set the underlying file for this stream. Setting the file marks the stream as open.
- Overrides of the Stream methods to call the underlying FILE* C functions.
- CFile wrapper of std.c.stdio.stdin (not seekable).
- CFile wrapper of std.c.stdio.stdout (not seekable).
- CFile wrapper of std.c.stdio.stderr (not seekable).