41.17. 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
Pointer to a single UTF-8 character (could be multiple bytes).
d
Pointer to the uppercase 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.