/[pcre]/code/trunk/doc/html/pcre_utf16_to_host_byte_order.html
ViewVC logotype

Diff of /code/trunk/doc/html/pcre_utf16_to_host_byte_order.html

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 877 by ph10, Sat Jan 14 11:16:23 2012 UTC revision 878 by ph10, Sun Jan 15 15:44:47 2012 UTC
# Line 20  SYNOPSIS Line 20  SYNOPSIS
20  </P>  </P>
21  <P>  <P>
22  <b>int pcre16_utf16_to_host_byte_order(PCRE_UCHAR16 *<i>output</i>,</b>  <b>int pcre16_utf16_to_host_byte_order(PCRE_UCHAR16 *<i>output</i>,</b>
23  <b>PCRE_SPTR16 <i>input</i>, int <i>length</i>, int *<i>byte_order</i>, </b>  <b>PCRE_SPTR16 <i>input</i>, int <i>length</i>, int *<i>host_byte_order</i>, </b>
24  <b>int <i>keep_boms</i>);</b>  <b>int <i>keep_boms</i>);</b>
25  </P>  </P>
26  <br><b>  <br><b>
# Line 31  This function, which exists only in the Line 31  This function, which exists only in the
31  string to the correct order for the current host, taking account of any byte  string to the correct order for the current host, taking account of any byte
32  order marks (BOMs) within the string. Its arguments are:  order marks (BOMs) within the string. Its arguments are:
33  <pre>  <pre>
34    <i>output</i>      pointer to output buffer, may be the same as <i>input</i>    <i>output</i>           pointer to output buffer, may be the same as <i>input</i>
35    <i>input</i>       pointer to input buffer    <i>input</i>            pointer to input buffer
36    <i>length</i>      number of 16-bit units in the input, or negative for    <i>length</i>           number of 16-bit units in the input, or negative for
37                  a zero-terminated string                       a zero-terminated string
38    <i>byte_order</i>  a NULL value or a value of 0 pointed to means start    <i>host_byte_order</i>  a NULL value or a non-zero value pointed to means
39                  in host byte order                       start in host byte order
40    <i>keep_boms</i>   if non-zero, BOMs are copied to the output string    <i>keep_boms</i>        if non-zero, BOMs are copied to the output string
41  </pre>  </pre>
42  The result of the function is the number of 16-bit units placed into the output  The result of the function is the number of 16-bit units placed into the output
43  buffer, including the zero terminator if the string was zero-terminated.  buffer, including the zero terminator if the string was zero-terminated.
44  </P>  </P>
45  <P>  <P>
46  If <i>byte_order</i> is not NULL, it is set to indicate the byte order that is  If <i>host_byte_order</i> is not NULL, it is set to indicate the byte order that
47  current at the end of the string.  is current at the end of the string.
48  </P>  </P>
49  <P>  <P>
50  There is a complete description of the PCRE native API in the  There is a complete description of the PCRE native API in the

Legend:
Removed from v.877  
changed lines
  Added in v.878

  ViewVC Help
Powered by ViewVC 1.1.5