summaryrefslogtreecommitdiff
path: root/doc/ref/api-data.texi
diff options
context:
space:
mode:
authorMark H Weaver <mhw@netris.org>2011-04-21 09:56:11 -0400
committerMark H Weaver <mhw@netris.org>2011-04-21 09:56:11 -0400
commitc3d8450c757d1a98b44b3556a334bbebe1ad6f37 (patch)
tree3411b081dce3b947cb7cfa7b4674063b643890e3 /doc/ref/api-data.texi
parent68a78738a4a3248c8c5ea1965936998763ff2d2e (diff)
downloadguile-c3d8450c757d1a98b44b3556a334bbebe1ad6f37.tar.gz
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.
Diffstat (limited to 'doc/ref/api-data.texi')
-rw-r--r--doc/ref/api-data.texi2
1 files changed, 1 insertions, 1 deletions
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.