Skip to content

Commit

Permalink
Texinfo markup.
Browse files Browse the repository at this point in the history
git-svn-id: https://svn.r-project.org/R/trunk@84810 00db46b3-68df-0310-9c12-caf00c1e9a41
  • Loading branch information
hornik committed Aug 1, 2023
1 parent 8e7ec71 commit 6a610ca
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions doc/manual/R-exts.texi
Original file line number Diff line number Diff line change
Expand Up @@ -15853,12 +15853,11 @@ of @code{iconv}.
These are declared in header file @file{R_ext/Riconv.h}.

@deftypefun {void *} Riconv_open (const char *@var{to}, const char *@var{from})
@end deftypefun
Set up a pointer to an encoding object to be used to convert between two
encodings: @code{""} indicates the current locale.
@end deftypefun

@deftypefun size_t Riconv (void *@var{cd}, const char **@var{inbuf}, size_t *@var{inbytesleft}, char **@var{outbuf}, size_t *@var{outbytesleft})
@end deftypefun
Convert as much as possible of @code{inbuf} to @code{outbuf}. Initially
the @code{size_t} variables indicate the number of bytes available in the
buffers, and they are updated (and the @code{char} pointers are updated
Expand All @@ -15869,10 +15868,11 @@ that an error condition sets @code{errno} to one of @code{E2BIG} (the
output buffer is full), @code{EILSEQ} (the input cannot be converted,
and might be invalid in the encoding specified) or @code{EINVAL} (the
input does not end with a complete multi-byte character).
@end deftypefun

@deftypefun int Riconv_close (void * @var{cd})
@end deftypefun
Free the resources of an encoding object.
@end deftypefun


@node Condition handling and cleanup code, Allowing interrupts, Re-encoding, The R API
Expand Down

0 comments on commit 6a610ca

Please sign in to comment.