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

slapi_has8thBit()

Checks if a string has an 8-bit character.

Syntax

#include "slapi-plugin.h"
 int slapi_has8thBit(unsigned char *s);

Parameters

This function takes the following parameter:

s

Pointer to the NULL terminated string to test.

Returns

This function returns 1 if the string contains an 8-bit character, or 0 if it does not.