From c3d8450c757d1a98b44b3556a334bbebe1ad6f37 Mon Sep 17 00:00:00 2001 From: Mark H Weaver Date: Thu, 21 Apr 2011 09:56:11 -0400 Subject: [PATCH] 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. --- doc/ref/api-data.texi | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/doc/ref/api-data.texi b/doc/ref/api-data.texi index 0cae22fdf..9825bef86 100644 --- a/doc/ref/api-data.texi +++ b/doc/ref/api-data.texi @@ -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.