mirror of
https://git.savannah.gnu.org/git/guile.git
synced 2025-06-12 14:50:19 +02:00
Clarify units of string length in decription of scm_from_stringn
* doc/ref/api-data.texi (Conversion to/from C): In description of scm_from_stringn, clarify that the length is specified in bytes.
This commit is contained in:
parent
68a78738a4
commit
c3d8450c75
1 changed files with 1 additions and 1 deletions
|
@ -4293,7 +4293,7 @@ character.
|
||||||
|
|
||||||
@deftypefn {C Function} SCM scm_from_stringn (const char *str, size_t len, const char *encoding, scm_t_string_failed_conversion_handler handler)
|
@deftypefn {C Function} SCM scm_from_stringn (const char *str, size_t len, const char *encoding, scm_t_string_failed_conversion_handler handler)
|
||||||
This function returns a scheme string from the C string @var{str}. The
|
This function returns a scheme string from the C string @var{str}. The
|
||||||
length of the C string is input as @var{len}. The encoding of the C
|
length in bytes of the C string is input as @var{len}. The encoding of the C
|
||||||
string is passed as the ASCII, null-terminated C string @code{encoding}.
|
string is passed as the ASCII, null-terminated C string @code{encoding}.
|
||||||
The @var{handler} parameters suggests a strategy for dealing with
|
The @var{handler} parameters suggests a strategy for dealing with
|
||||||
unconvertable characters.
|
unconvertable characters.
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue