Sun Java System Directory Server Enterprise Edition 6.1 Developer's Guide

slapi_UTF-8TOLOWER()

Converts a UTF-8 character to lower case.

Syntax

#include "slapi-plugin.h"
 void slapi_UTF-8TOLOWER(char *s, char *d, int *ssz, int *dsz);

Parameters

This function takes the following parameters:

s

A single UTF-8 character (could be multiple bytes).

d

Pointer to the lower case form of s. The memory for this must be allocated by the caller before calling the function.

ssz

Returns the length in bytes of the input character.

dsz

Returns the length in bytes of the output character.