IsDBCSLeadByteEx equivalent for unix

I am using IsDBCSLeadByteEx for windows, i would like to know whether there is any equivalent function in unix(linux) platform.

There is none. locale is "codepage" and it works totally different from the way Windows maps keyboards, characters, and gylphs.

try man mbstowcs which creates a "normal" array from UTF-8 (unicode) character arrays.

You will have to roll your own.

Thanks Jim !!!!