CSConv Interfaces                                                conv(4)


NAME

     conv - perform code set conversion


SYNOPSIS

     #include "csconv.h"

     typedef struct _csc_state {
             /* private data for the converter */
     } csc_state_t;

     size_t prefix_conv(csc_state_t * csc_state,
                        const char ** inbuf, size_t * inbytesleft,
                        char ** outbuf, size_t * outbytesleft);


PARAMETERS

     csc_state  A pointer to the csc_state_t structure returned by open()
                routine of the converter.


DESCRIPTION

     The conv() function converts the sequence of characters from one
     code set, in the array specified by inbuf, into a sequence of
     corresponding characters in another code set, in the array
     specified by outbuf.  The conv() routine is called from csconv().
     See csconv(3) for more detail.


SEE ALSO

     csconv(3)
