1
Fork 0
mirror of https://git.savannah.gnu.org/git/guile.git synced 2025-06-10 05:50:26 +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:
Mark H Weaver 2011-04-21 09:56:11 -04:00
parent 68a78738a4
commit c3d8450c75

View file

@ -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)
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}.
The @var{handler} parameters suggests a strategy for dealing with
unconvertable characters.