flush -> flushFile in doc
This commit is contained in:
parent
651f5122e4
commit
06bbd6e7d7
1 changed files with 1 additions and 1 deletions
|
|
@ -2031,7 +2031,7 @@ proc echo*[T](x: varargs[T, `$`]) {.magic: "Echo", tags: [FWriteIO], gcsafe.}
|
||||||
## Special built-in that takes a variable number of arguments. Each argument
|
## Special built-in that takes a variable number of arguments. Each argument
|
||||||
## is converted to a string via ``$``, so it works for user-defined
|
## is converted to a string via ``$``, so it works for user-defined
|
||||||
## types that have an overloaded ``$`` operator.
|
## types that have an overloaded ``$`` operator.
|
||||||
## It is roughly equivalent to ``writeln(stdout, x); flush(stdout)``, but
|
## It is roughly equivalent to ``writeln(stdout, x); flushFile(stdout)``, but
|
||||||
## available for the JavaScript target too.
|
## available for the JavaScript target too.
|
||||||
##
|
##
|
||||||
## Unlike other IO operations this is guaranteed to be thread-safe as
|
## Unlike other IO operations this is guaranteed to be thread-safe as
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue