mirror of
https://github.com/janet-lang/janet
synced 2024-11-28 19:19:53 +00:00
Expand docs to explain pclose semantics.
This commit is contained in:
parent
da93a73dbd
commit
ddc4274314
@ -604,7 +604,8 @@ static const JanetReg io_cfuns[] = {
|
||||
JDOC("(file/close f)\n\n"
|
||||
"Close a file and release all related resources. When you are "
|
||||
"done reading a file, close it to prevent a resource leak and let "
|
||||
"other processes read the file.")
|
||||
"other processes read the file. If the file is the result of a file/popen "
|
||||
"call, close waits for and returns the process exit status.")
|
||||
},
|
||||
{
|
||||
"file/read", cfun_io_fread,
|
||||
|
Loading…
Reference in New Issue
Block a user