1
Fork 0
mirror of https://git.savannah.gnu.org/git/guile.git synced 2025-04-30 03:40:34 +02:00

(File Ports): In port-filename, cannot use after close.

This commit is contained in:
Kevin Ryde 2005-02-03 23:17:27 +00:00
parent b0fb230659
commit e55abf4140

View file

@ -812,6 +812,9 @@ used only during port creation are not retained.
Return the filename associated with @var{port}. This function returns Return the filename associated with @var{port}. This function returns
the strings "standard input", "standard output" and "standard error" the strings "standard input", "standard output" and "standard error"
when called on the current input, output and error ports respectively. 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 @end deffn
@deffn {Scheme Procedure} set-port-filename! port filename @deffn {Scheme Procedure} set-port-filename! port filename