HP 9000 User Manual page 138

Computers
Hide thumbs Also See for 9000:
Table of Contents

Advertisement

These routines perform as follows:
Table 8·1. Conversion Routines
Routine
Action
ICONV
Fetches a character from the buffer pointed to by inchar and converts
it to the target codeset, placing it plus any lock-shift information in
the buffer pointed to by outchar. The descriptor cd identifies the
conversion to perform. Inbytesleft and outbytesleft point to the
number of bytes left in the input and output buffers, respectively.
While conversions are done from the input buffer to the output buffer,
these variables are incremented or decremented to reflect the current
status of each buffer.
ICONV1
ICONV1 converts single-byte characters in from according to the
conversion identified by cd, placing the result in to. Use this routine
and the routine below when it is more efficient to handle single- and
multi-byte information separately. This routine does not check for
lock-shift information. Buflen specifies the number of bytes to convert.
ICONV2
Same as above, except ICONV2 assumes from contains only
double-byte characters.
For more information see iconv(3C) in the HP_ UX Reference
8
Advanced NLS Topics
8·5

Advertisement

Table of Contents
loading

Table of Contents