Netscape DIRECTORY SERVER 6.02 - PLUG-IN Manual page 445

Table of Contents

Advertisement

slapi_utf8ToLower()
Converts an upper-case UTF-8 character to a lower-case character.
Syntax
#include "slapi-plugin.h"
void slapi_utf8ToLower(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_UTF8TOLOWER()
Converts an upper-case UTF-8 character to a lower-case character.
Syntax
#include "slapi-plugin.h"
void slapi_UTF8TOLOWER(char *s, char *d, int *ssz, int *dsz);
Parameters
This function takes the following parameters:
s
d
ssz
A single UTF-8 character (could be multiple bytes).
Pointer to the lower case form 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
A single UTF-8 character (could be multiple bytes).
Pointer to the lower case form of s. The memory for this must be
allocated by the caller before calling the function.
Returns the length in bytes of the input character.
Functions Related to UTF-8
and
are overlapped.
s
d
Chapter 14
Function Reference
445

Advertisement

Table of Contents
loading

This manual is also suitable for:

Directory server 6.02

Table of Contents