mirror of
https://github.com/janet-lang/janet
synced 2024-11-20 07:34:49 +00:00
Merge pull request #228 from andrewchambers/pclose
Expand docs to explain pclose semantics.
This commit is contained in:
commit
ae474bc8d0
@ -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