mirror of
https://github.com/janet-lang/janet
synced 2024-11-28 19:19:53 +00:00
Address #618 - clarify file/open docs.
This commit is contained in:
parent
c63fe6ef8a
commit
c9ea3ac304
@ -746,6 +746,7 @@ static const JanetReg io_cfuns[] = {
|
|||||||
"* r - allow reading from the file\n\n"
|
"* r - allow reading from the file\n\n"
|
||||||
"* w - allow writing to the file\n\n"
|
"* w - allow writing to the file\n\n"
|
||||||
"* a - append to the file\n\n"
|
"* a - append to the file\n\n"
|
||||||
|
"Following one fo the initial flags, 0 or more of the following flags can be appended:\n\n"
|
||||||
"* b - open the file in binary mode (rather than text mode)\n\n"
|
"* b - open the file in binary mode (rather than text mode)\n\n"
|
||||||
"* + - append to the file instead of overwriting it\n\n"
|
"* + - append to the file instead of overwriting it\n\n"
|
||||||
"* n - error if the file cannot be opened instead of returning nil")
|
"* n - error if the file cannot be opened instead of returning nil")
|
||||||
|
Loading…
Reference in New Issue
Block a user