Skip to main content

Mozilla

  • About
  • Foundation
  • Contribute
  • Community
  • Developers
  • Projects

  • Roadmap
  • Projects
  • Coding
    • Module Owners
    • Hacking
    • Get the Source
    • Build It
  • Testing
    • Releases
    • Nightly Builds
    • Report A Problem
  • Tools
    • Bugzilla
    • Tinderbox
    • Bonsai
    • MXR
  • FAQs

PUBLIC int INTL_PrevCharIdx ( int16 charSetID, unsigned char *str, int pos )

Returns the byte index of the previous character

Documentation

Returns the byte index of the previous character. Given the position of any byte of any character in some text, this function returns the position of the 1st byte of the previous character. The difference between this function and INTL_PrevCharIdxInText is that this function will accept the position of any byte of a character rather than just the 1st byte of a character.
Returns:
The index of the previous character
Parameters:
charSetID - Specifies the charset ID of the text
str - Specifies the beginning of the text
pos - Specifies any byte of any character
See Also:
INTL_PrevCharIdxInText, INTL_NextCharIdx

alphabetic index hierarchy of classes


Copyright © 1998 Netscape Communications Corporation

generated by doc++


  • Support Options
  • Security Center
  • Privacy Policy
  • Contact Us

International Affiliates: Mozilla Europe - Mozilla Japan - Mozilla China

Portions of this content are © 1998–2008 by individual mozilla.org contributors
Content available under a Creative Commons license

Last modified April 16, 1998 Document History Edit this Page (or via CVS)