mirror of
git://git.code.sf.net/p/zsh/code
synced 2025-01-01 05:16:05 +01:00
35885: document closing fd's opened with sysopen
This commit is contained in:
parent
df5f825538
commit
ade35d3c26
2 changed files with 10 additions and 0 deletions
|
@ -1,3 +1,8 @@
|
|||
2015-08-10 Peter Stephenson <p.stephenson@samsung.com>
|
||||
|
||||
* 35885: Doc/Zsh/mod_system.zo: document how to close
|
||||
fd's opened with sysopen.
|
||||
|
||||
2015-08-09 Barton E. Schaefer <schaefer@zsh.org>
|
||||
|
||||
* 36033: Src/glob.c, Src/pattern.c: a few more queue_signals()
|
||||
|
|
|
@ -68,6 +68,11 @@ item(tt(trunc))(
|
|||
truncate file to size 0
|
||||
)
|
||||
enditem()
|
||||
|
||||
To close the file, use one of the following:
|
||||
|
||||
example(tt(exec {)var(fd)tt(}<&-)
|
||||
tt(exec {)var(fd)tt(}>&-))
|
||||
)
|
||||
findex(sysread)
|
||||
redef(SPACES)(0)(tt(ifztexi(NOTRANS(@ @ @ @ @ @ @ @ ))ifnztexi( )))
|
||||
|
|
Loading…
Reference in a new issue