1
0
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:
Calvin Rose 2019-12-28 08:27:16 -05:00 committed by GitHub
commit ae474bc8d0
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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,