aboutsummaryrefslogtreecommitdiffstats
path: root/lineio.txi
diff options
context:
space:
mode:
Diffstat (limited to 'lineio.txi')
-rw-r--r--lineio.txi24
1 files changed, 9 insertions, 15 deletions
diff --git a/lineio.txi b/lineio.txi
index c067678..34d42d5 100644
--- a/lineio.txi
+++ b/lineio.txi
@@ -1,10 +1,8 @@
+@defun read-line
-@defun read-line read-line
-
-
-@defunx read-line read-line port
+@defunx read-line port
Returns a string of the characters up to, but not including a
newline or end of file, updating @var{port} to point to the
character following the newline. If no characters are available, an
@@ -13,12 +11,11 @@ omitted, in which case it defaults to the value returned by
@code{current-input-port}.
@end defun
-
-@defun read-line! read-line! string
+@defun read-line! string
-@defunx read-line! read-line! string port
-Fills @var{read-line!} with characters up to, but not including a newline or end
+@defunx read-line! string port
+Fills @var{string} with characters up to, but not including a newline or end
of file, updating the @var{port} to point to the last character read
or following the newline if it was read. If no characters are
available, an end of file object is returned. If a newline or end
@@ -28,19 +25,16 @@ omitted, in which case it defaults to the value returned by
@code{current-input-port}.
@end defun
+@defun write-line string
-@defun write-line write-line string
-
-
-@defunx write-line write-line string port
-Writes @var{write-line} followed by a newline to the given @var{port} and returns
-an unspecified value. The @var{Port} argument may be omited, in
+@defunx write-line string port
+Writes @var{string} followed by a newline to the given @var{port} and returns
+an unspecified value. The @var{Port} argument may be omitted, in
which case it defaults to the value returned by
@code{current-input-port}.@refill
@end defun
-
@defun display-file path