summaryrefslogtreecommitdiff
path: root/doc/ref/api-io.texi
diff options
context:
space:
mode:
authorAndy Wingo <wingo@pobox.com>2011-02-28 20:53:40 +0100
committerAndy Wingo <wingo@pobox.com>2011-02-28 20:54:03 +0100
commitac012a27a2e3c28f191d2c38b3d1ab1ef70ba8ba (patch)
treeffa6a461bf991719d5aeb6d706866a98cab580d5 /doc/ref/api-io.texi
parent6a94e6e1ae6c018fe1ea1c0c6a9cca577dff4d85 (diff)
downloadguile-ac012a27a2e3c28f191d2c38b3d1ab1ef70ba8ba.tar.gz
update port-filename docs
* doc/ref/api-io.texi (File Ports): * libguile/ports.c (scm_port_filename): Fix docs to match implementation.
Diffstat (limited to 'doc/ref/api-io.texi')
-rw-r--r--doc/ref/api-io.texi5
1 files changed, 2 insertions, 3 deletions
diff --git a/doc/ref/api-io.texi b/doc/ref/api-io.texi
index 52dfdd4fe..6a50424a4 100644
--- a/doc/ref/api-io.texi
+++ b/doc/ref/api-io.texi
@@ -949,9 +949,8 @@ used only during port creation are not retained.
@deffn {Scheme Procedure} port-filename port
@deffnx {C Function} scm_port_filename (port)
-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.
+Return the filename associated with @var{port}, or @code{#f} if no
+filename is associated with the port.
@var{port} must be open, @code{port-filename} cannot be used once the
port is closed.