diff options
Diffstat (limited to 'lib')
-rwxr-xr-x | lib/pure/streams.nim | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/pure/streams.nim b/lib/pure/streams.nim index 5db21d76a..212aab493 100755 --- a/lib/pure/streams.nim +++ b/lib/pure/streams.nim @@ -263,7 +263,8 @@ proc newFileStream*(f: TFile): PFileStream = proc newFileStream*(filename: string, mode: TFileMode): PFileStream = ## creates a new stream from the file named `filename` with the mode `mode`. - ## If the file cannot be opened, nil is returned. + ## If the file cannot be opened, nil is returned. See the `system + ## <system.html>`_ module for a list of available TFileMode enums. var f: TFile if Open(f, filename, mode): result = newFileStream(f) |