summaryrefslogtreecommitdiff
path: root/pcre16_utf16_utils.c
diff options
context:
space:
mode:
authorph10 <ph10@2f5784b3-3f2a-0410-8824-cb99058d5e15>2012-01-06 14:40:33 +0000
committerph10 <ph10@2f5784b3-3f2a-0410-8824-cb99058d5e15>2012-01-06 14:40:33 +0000
commitb63629ab6d0b76ae59c8aaa0e24d38fba474edcf (patch)
treecad7cc3910d86290e99d9483faac2a2151ea40b7 /pcre16_utf16_utils.c
parent104a41954a18417f8b575f2eb29bfb9d966e0e3a (diff)
downloadpcre-b63629ab6d0b76ae59c8aaa0e24d38fba474edcf.tar.gz
Typos in comments.
git-svn-id: svn://vcs.exim.org/pcre/code/trunk@854 2f5784b3-3f2a-0410-8824-cb99058d5e15
Diffstat (limited to 'pcre16_utf16_utils.c')
-rw-r--r--pcre16_utf16_utils.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/pcre16_utf16_utils.c b/pcre16_utf16_utils.c
index 57cba1f..5baefcb 100644
--- a/pcre16_utf16_utils.c
+++ b/pcre16_utf16_utils.c
@@ -57,7 +57,7 @@ strings to host byte order. */
/* This function takes an UTF-16 string and converts
it to host byte order. The length can be explicitly set,
-or autmatically detected for zero terminated strings.
+or automatically detected for zero terminated strings.
BOMs can be kept or discarded during the conversion.
Conversion can be done in place (output == input).
@@ -65,7 +65,7 @@ Arguments:
output the output buffer, its size must be greater
or equal than the input string
input any UTF-16 string
- length the number of characters in the input string
+ length the number of 16-bit units in the input string
can be less than zero for zero terminated strings
host_byte_order
A non-zero value means the input is in host byte
@@ -77,7 +77,7 @@ Arguments:
keep_boms for a non-zero value, the BOM (0xfeff) characters
are copied as well
-Returns: the number of characters placed into the output buffer,
+Returns: the number of 16-bit units placed into the output buffer,
including the zero-terminator
*/