mirror of
https://git.savannah.gnu.org/git/guile.git
synced 2025-06-19 18:20:22 +02:00
Document write-line.
* libguile/rdelim.c (SCM_DEFINE): Use "procedure" rather than "function". * doc/ref/api-io.texi (Line/Delimited): Use it to document 'write-line'.
This commit is contained in:
parent
bdb07f8fc7
commit
3db293a71d
2 changed files with 12 additions and 1 deletions
|
@ -834,6 +834,17 @@ delimiter may be either a newline or the @var{eof-object}; if
|
|||
@code{(#<eof> . #<eof>)}.
|
||||
@end deffn
|
||||
|
||||
@deffn {Scheme Procedure} write-line obj [port]
|
||||
@deffnx {C Function} scm_write_line (obj, port)
|
||||
Display @var{obj} and a newline character to @var{port}. If
|
||||
@var{port} is not specified, @code{(current-output-port)} is
|
||||
used. This procedure is equivalent to:
|
||||
@lisp
|
||||
(display obj [port])
|
||||
(newline [port])
|
||||
@end lisp
|
||||
@end deffn
|
||||
|
||||
@node Default Ports
|
||||
@subsection Default Ports for Input, Output and Errors
|
||||
@cindex Default ports
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue