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

slapi_UTF-8TOUPPER()

Converts a lower case UTF-8 character to an upper case character.

Syntax

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

Parameters

This function takes the following parameters:

s

Pointer to a single UTF-8 character (could be multiple bytes).

d

Pointer to the upper case version 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.