[an error occurred while processing this directive]
HP OpenVMS Systems Documentation |
HP OpenVMS/Hangul RTL Korean Processing (HSY$) ManualOrder Number: BA322-90027
May 2005
This manual documents the library routines contained in the HSY$ facility of the OpenVMS/Hangul Run-Time Library. Revision/Update Information: This document supersedes the Introduction to the Multi-byte Processing Run Time Library HSYSHR manual, Version 6.0
Software Version:
OpenVMS/Hangul I64 Version 8.2 OpenVMS/Hangul Alpha Version 7.3-2
© Copyright 2005 Hewlett-Packard Development Company, L.P. Confidential computer software. Valid license from HP required for possession, use or copying. Consistent with FAR 12.211 and 12.212, Commercial Computer Software, Computer Software Documentation, and Technical Data for Commercial Items are licensed to the U.S. Government under vendor's standard commercial license. The information contained herein is subject to change without notice. The only warranties for HP products and services are set forth in the express warranty statements accompanying such products and services. Nothing herein should be construed as constituting an additional warranty. HP shall not be liable for technical or editorial errors or omissions contained herein. Intel and Itanium are trademarks or registered trademarks of Intel Corporation or its subsidiaries in the United States and other countries. Printed in Singapore
PrefaceThis manual provides users of the HP OpenVMS/Hangul operating system with detailed usage and reference information on library routines supplied in the HSY$ facility of the OpenVMS/Hangul Run-Time Library for Korean processing.
Intended AudienceThis manual is intended for application programmers who want to write applications for Korean processing. Document StructureThis manual is organized into two parts as follows:
Associated DocumentA description of how the Run-Time Library routines are accessed is presented in OpenVMS Programming Interface: Calling a System Routine. The HSY$ Run-Time Library routines can be used with other RTL facilities provided in OpenVMS and OpenVMS/Hangul. Descriptions of the other RTL facilities and their corresponding routines are presented in the following books:
Application programmers using any programming language can refer to Guide to Creating OpenVMS Modular Procedures for writing modular and reentrant code, and OpenVMS/Hangul User Guide for understanding the DEC Hangul character set. High-level language programmers will find additional information on calling Run-Time Library routines in their language reference manuals. Additional information may also be found in the programming language user's guide provided with your OpenVMS programming language software. For a complete list and description of the manuals in the OpenVMS documentation set, see Overview of OpenVMS Documentation. For additional information about HP OpenVMS products and services, visit the following World Wide Web address:
ConventionsThe following conventions may be used in this manual:
Chapter 1
|
Group | Types of Tasks Performed |
---|---|
String Routines | Perform manipulation of strings containing multi-byte or mixed ASCII and multi-byte characters. |
Read Write Routines | Perform read and write of ASCII and multi-byte characters in user buffers. |
Pointer Routines | Perform character pointer manipulation. |
Comparison Routines | Perform comparison of strings containing multi-byte or mixed ASCII multi-byte characters. |
Searching Routines | Perform searching of substrings in buffer containing multi-byte or mixed ASCII and multi-byte characters. |
Counting Routines | Perform counting of bytes and characters in buffer containing multi-byte or mixed ASCII and multi-byte characters. |
Character Type Routines | Perform checking of different classes of local language symbols and characters. |
Date Time Routines | Provide local language date time format. |
Conversion Routines | Perform various multi-byte character specific conversion. |
Table 1-2 to Table 1-10 list all routines available for each of the aforementioned groups, followed by brief statements of the routines' functions.
Routine Name | Function |
---|---|
HSY$CH_MOVE | Moves a substring from a specified source buffer to a specified destination buffer. |
HSY$TRIM | Trims trailing one-byte and multi-byte spaces and TAB characters. |
HSY$TRUNC | Returns the position of the first character that follows the truncated string. |
HSY$DX_TRIM | Trims trailing one-byte and multi-byte spaces and TAB characters. |
HSY$DX_TRUNC | Truncates the input string to the specified length. |
Routine Name | Function |
---|---|
HSY$CH_GCHAR | Reads the current character. |
HSY$CH_GNEXT | Reads the current character. |
HSY$CH_NEXTG | Reads the next character, skipping the current character. |
HSY$CH_RCHAR | Reads the current character. |
HSY$CH_RNEXT | Reads the current character. |
HSY$CH_RPREV | Reads the previous character. |
HSY$DX_RCHAR | Reads the current character. |
HSY$DX_RNEXT | Reads the current character. |
HSY$CH_PCHAR | Writes a specified character to the current position of a buffer. |
HSY$CH_PNEXT | Writes a specified character to the current position of a buffer. |
HSY$CH_WCHAR | Writes a specified character to the current position of a buffer. |
HSY$CH_WNEXT | Writes a specified character to the current position of a buffer. |
HSY$DX_WCHAR | Writes a specified character. |
HSY$DX_WNEXT | Writes a specified character. |
Routine Name | Function |
---|---|
HSY$SKPC | Skips a specified character. |
HSY$CH_CURR | Points to the first byte of the current character. |
HSY$CH_NEXT | Points to the first byte of the next character. |
HSY$CH_PREV | Points to the first byte of the previous character. |
HSY$POS_CURR | Points to the first byte of the current character. |
HSY$POS_NEXT | Points to the first byte of the next character. |
HSY$POS_PREV | Points to the first byte of the previous character. |
HSY$DX_SKPC | Skips a specified character. |
HSY$DX_POS_CURR | Points to the first byte of the current character. |
HSY$DX_POS_NEXT | Points to the first byte of the next character. |
HSY$DX_POS_PREV | Points to the first byte of the previous character. |
Routine Name | Function |
---|---|
HSY$COMPARE | Compares two specified strings. |
HSY$STR_EQUAL | Checks if two specified character strings are equal. |
HSY$DX_STR_EQUAL | Checks if two specified character strings are equal. |
Routine Name | Function |
---|---|
HSY$LOCC | Locates the position of the first occurrence of the specified character. |
HSY$POSITION | Searches the first occurrence of a specified substring in the input string. |
HSY$STR_SEARCH | Searches the first occurrence of a specified substring in the input string with conversion performed prior to comparing the characters. |
HSY$STR_START | Checks if the specified substring is found in another input string and starts from the first byte of the input string. |
HSY$DX_LOCC | Locates the position of the first occurrence of the specified character. |
HSY$DX_POSITION | Searches the first occurrence of a substring in a specified string. |
HSY$DX_STR_SEARCH | Searches the first occurrence of a specified substring in the input string. |
HSY$DX_STR_START | Checks if the specified substring is found in another input string and starts from the first byte of the input string. |
Routine Name | Function |
---|---|
HSY$CH_SIZE | Tells the byte length of the specified character. |
HSY$CH_NCHAR | Returns the number of characters in a specified string. |
HSY$CH_NBYTE | Counts the number of bytes of a character string. |
HSY$DX_NOF_CHAR | Returns the number of characters in a specified number of bytes. |
HSY$DX_NOF_BYTE | Counts the number of bytes of a character string. |
Routine Name | Function |
---|---|
HSY$IS_VALID | Checks if the input character is a valid multi-byte character. |
HSY$IS_IDEOGRAPH | Checks if the input multi-byte character is an ideographic multi-byte character. |
HSY$IS_DESCRIPTION | Checks if the input character is a multi-byte local language punctuation. |
HSY$IS_TECHNICAL | Checks if the input character is a scientific or mathematical multi-byte symbol character. |
HSY$IS_UNIT | Checks if the input character is a multi-byte standard unit symbol character. |
HSY$IS_GENERAL | Checks if the input character is a multi-byte general symbol character. |
HSY$IS_LINE_DRAWING | Checks if the input character is a multi-byte line drawing symbol character. |
HSY$IS_DIGIT | Checks if the input character is a one-byte or multi-byte numeric digit. |
HSY$IS_ROMAN | Checks if the input character is a one-byte or multi-byte English letter. |
HSY$IS_GREEK | Checks if the input character is a multi-byte Greek letter. |
HSY$IS_RUSSIAN | Checks if the input character is a multi-byte Russian letter. |
HSY$IS_ALPHA | Checks if the input character is a Greek, Russian or Roman letter. |
HSY$IS_UPPER | Checks if the input character is an upper case Greek, Russian or Roman letter. |
HSY$IS_LOWER | Checks if the input character is a lower case Greek, Russian or Roman letter. |
HSY$IS_HIRAGANA | Checks if the input character is a multi-byte Japanese Hiragana character. |
HSY$IS_KATAKANA | Checks if the input character is a multi-byte Japanese Katakana character. |
HSY$IS_KANA | Checks if the input character is a multi-byte Japanese Kana character. |
HSY$IS_PARENTHESIS | Checks if the input character is a multi-byte parenthesis symbol character. |
HSY$IS_LEFT_PARENTHESIS | Checks if the input character is a multi-byte left parenthesis symbol character. |
HSY$IS_RIGHT_PARENTHESIS | Checks if the input character is a multi-byte right parenthesis symbol character. |
HSY$IS_NO_FIRST | Checks if the input character is a multi-byte "NO FIRST" character. |
HSY$IS_NO_LAST | Checks if the input character is a multi-byte "NO-LAST" character. |
Routine Name | Function |
---|---|
HSY$DX_DATE_TIME | Returns the date and time in local language format. |
HSY$DX_TIME | Returns the date and time of the system time in local language format. |
Routine Name | Function |
---|---|
HSY$CHG_KEISEN | Converts '0' to '9' and '-' to multi-byte line drawing characters. |
HSY$CHG_GENERAL | Performs general multi-byte conversion. |
HSY$CHG_KANA_HIRA | Converts Katakana characters to Hiragana characters. |
HSY$CHG_KANA_KATA | Converts Hiragana characters to Katakana characters. |
HSY$CHG_KANA_KANA | Toggles Kana characters to Hiragana or Katakana characters. |
HSY$CHG_ROM_FULL | Converts half form ASCII to full form ASCII. |
HSY$CHG_ROM_HALF | Converts full form ASCII to half form ASCII equivalence. |
HSY$CHG_ROM_SIZE | Toggles the form (full form or half form) of the input character. |
HSY$CHG_ROM_UPPER | Converts one-byte and multi-byte letters to upper case. |
HSY$CHG_ROM_LOWER | Converts one byte and multi-byte letters to lower case. |
HSY$CHG_ROM_CASE | Toggles the casing of one-byte and multi-byte letters of the input character. |
HSY$TRA_KANA_HIRA | Converts Katakana character strings to Hiragana character strings. |
HSY$TRA_KANA_KATA | Converts Hiragana character strings to Katakana character strings. |
HSY$TRA_KANA_KANA | Toggles Kana character strings to Hiragana or Katakana characters. |
HSY$TRA_ROM_FULL | Converts half form ASCII to full form ASCII. |
HSY$TRA_ROM_HALF | Converts full form ASCII to half form ASCII equivalence. |
HSY$TRA_ROM_SIZE | Toggles the form (full form or half form) of the input string. |
HSY$TRA_ROM_UPPER | Converts one-byte and multi-byte letters to upper case. |
HSY$TRA_ROM_LOWER | Converts one-byte and multi-byte letters to lower case. |
HSY$TRA_ROM_CASE | Toggles the casing of one-byte and multi-byte letters found in the string. |
HSY$TRA_SYMBOL | Converts the sequence of a one-byte character to a string of multi-byte symbols. |
HSY$DX_TRA_KANA_HIRA | Converts Katakana character strings to Hiragana character strings. |
HSY$DX_TRA_KANA_KATA | Converts Hiragana character strings to Katakana character strings. |
HSY$DX_TRA_KANA_KANA | Toggles Kana character strings to Hiragana or Katakana character strings. |
HSY$DX_TRA_ROM_FULL | Converts half form ASCII to full form ASCII. |
HSY$DX_TRA_ROM_HALF | Converts full form ASCII to half form ASCII equivalence. |
HSY$DX_TRA_ROM_SIZE | Toggles the form (full form or half form) of the input string. |
HSY$DX_TRA_ROM_UPPER | Converts one-byte and multi-byte letters to upper case. |
HSY$DX_TRA_ROM_LOWER | Converts one-byte and multi-byte letters to lower case. |
HSY$DX_TRA_ROM_CASE | Toggles the casing of one-byte and multi-byte letters found in the input string. |
HSY$DX_TRA_SYMBOL | Converts the sequence of a one-byte character to a string of multi-byte symbols. |
Next | Contents |