summaryrefslogtreecommitdiff
path: root/doc/ref/api-io.texi
diff options
context:
space:
mode:
authorKevin Ryde <user42@zip.com.au>2005-02-03 23:17:27 +0000
committerKevin Ryde <user42@zip.com.au>2005-02-03 23:17:27 +0000
commite55abf41404dfbb7941337ba4f22b05f03dd5eb6 (patch)
tree167bbea1ea563a1093158bf5217814ecc64594ff /doc/ref/api-io.texi
parentb0fb230659c57392b265466095fff2b18622c959 (diff)
downloadguile-e55abf41404dfbb7941337ba4f22b05f03dd5eb6.tar.gz
(File Ports): In port-filename, cannot use after close.
Diffstat (limited to 'doc/ref/api-io.texi')
-rw-r--r--doc/ref/api-io.texi3
1 files changed, 3 insertions, 0 deletions
diff --git a/doc/ref/api-io.texi b/doc/ref/api-io.texi
index 4a38a8378..ac9bb3e77 100644
--- a/doc/ref/api-io.texi
+++ b/doc/ref/api-io.texi
@@ -812,6 +812,9 @@ used only during port creation are not retained.
Return the filename associated with @var{port}. This function returns
the strings "standard input", "standard output" and "standard error"
when called on the current input, output and error ports respectively.
+
+@var{port} must be open, @code{port-filename} cannot be used once the
+port is closed.
@end deffn
@deffn {Scheme Procedure} set-port-filename! port filename