From ac012a27a2e3c28f191d2c38b3d1ab1ef70ba8ba Mon Sep 17 00:00:00 2001 From: Andy Wingo Date: Mon, 28 Feb 2011 20:53:40 +0100 Subject: update port-filename docs * doc/ref/api-io.texi (File Ports): * libguile/ports.c (scm_port_filename): Fix docs to match implementation. --- doc/ref/api-io.texi | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'doc/ref/api-io.texi') 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. -- cgit v1.2.3 From 958173e489c69b2f9e3c83752713a89e3ea3e79d Mon Sep 17 00:00:00 2001 From: Ludovic Courtès Date: Sun, 13 Mar 2011 23:21:07 +0100 Subject: doc: Remove "lack of support for Unicode I/O and strings". * doc/ref/api-io.texi (R6RS I/O Ports): Remove 1.8ish comment. --- doc/ref/api-io.texi | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'doc/ref/api-io.texi') diff --git a/doc/ref/api-io.texi b/doc/ref/api-io.texi index 6a50424a4..02c184986 100644 --- a/doc/ref/api-io.texi +++ b/doc/ref/api-io.texi @@ -1155,8 +1155,7 @@ string I/O, that complement or refine Guile's historical port API presented above (@pxref{Input and Output}). @c FIXME: Update description when implemented. -@emph{Note}: The implementation of this R6RS API is currently far from -complete, notably due to the lack of support for Unicode I/O and strings. +@emph{Note}: The implementation of this R6RS API is not complete yet. @menu * R6RS End-of-File:: The end-of-file object. -- cgit v1.2.3