Wpi Routines For Character And String Processing - HP 9000 User Manual

Computers
Hide thumbs Also See for 9000:
Table of Contents

Advertisement

Character and String Processing
Character and string processing for international software must ensure that
local customs are observed in:
• Treating of accented characters
• Formatting date and time
• Formatting numeric and monetary quantities
• Comparing string data
Character Handling
Table 6-5 lists the WPI routines that are similar to the standard character and
string processing routines.
Table 6·5. WPI Routines for Character and String Processing
string(3C) Routine
wcstring(3C) Routine (WPI)
char *strcat
wchar_t *wcscat
char *strncat
wchar_t *wcsncat
int strcmp
int wcscmp
int strncmp
int wcsncmp
char *strcpy
wchar *wcscpy
char *strncpy
wchar_t *wcsncpy
size_ t strlen
size_ t wcslen
char *strchr
char *wcschr
char *strrchr
wchaLt *strrchr
char *strpbrk
wchar *wcspbrk
size_ t strspn
size_ t wcsspn
size_ t strcspn
size_ t wcscspn
char *strstr
wchaL t *wcswcs
char *strtok
wchar_t *wcstok
int strcoll
int wcscoll
size_t strxfrm
size_ t wcsxfrm
Developing International Software
6·13
6

Advertisement

Table of Contents
loading

Table of Contents