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

slapi_UTF-8NCASECMP()

Compares a specified number of UTF-8 characters.

Syntax

#include "slapi-plugin.h"
 int slapi_UTF-8NCASECMP(char *s0, char *s1, int n);

Parameters

This function takes the following parameters:

s0

A NULL terminated UTF-8 string.

s1

A NULL terminated UTF-8 string.

n

The number of UTF-8 characters (not bytes) from s0 and s1 to compare.

Returns

This function returns one of the following values:

Description

This function has the following rules: