Netscape DIRECTORY SERVER 6.1 - PLUG-IN Manual page 493

Table of Contents

Advertisement

dsz
slapi_utf8ToUpper()
Converts a lower-case UTF-8 character to an upper-case character.
Syntax
#include "slapi-plugin.h"
void slapi_utf8ToUpper(unsigned char *s, unsigned char *d, int *ssz,
int *dsz);
Parameters
This function takes the following parameters:
s
d
ssz
dsz
Memory Concerns
Memory for the output character is not allocated in this function; caller should
have allocated it (
slapi_UTF8TOUPPER()
Converts a lower-case UTF-8 character to an upper-case character.
Syntax
#include "slapi-plugin.h"
void slapi_UTF8TOUPPER(char *s, char *d, int *ssz, int *dsz);
Parameters
This function takes the following parameters:
s
Returns the length in bytes of the output character.
Pointer to a single UTF-8 character (could be multiple bytes).
Pointer to the upper case version of s. The memory for this must
be allocated by the caller before calling the function.
Length in bytes of the input character.
Length in bytes of the output character.
).
is used since
d
memmove
Pointer to a single UTF-8 character (could be multiple bytes).
Functions Related to UTF-8
and
are overlapped.
s
d
Chapter 15
Function Reference
493

Advertisement

Table of Contents
loading

This manual is also suitable for:

Directory server 6.1

Table of Contents