multibyte

Determines whether the current environment is using multibyte characters.

Library:LibC
Classification:Novell
Service:General C Services

Syntax

  #include <stdlib.h> 
   
  int multibyte ( void );
  

Return Values

Returns a nonzero value if the current environment is using multibyte characters. Otherwise, returns 0, and the caller can safely assume that all strings obtained within the framework of the current code page do not use more than one byte per character.

Remarks

The multibyte function determines whether the host supports multibyte characters and whether the host's current code page makes use of multibyte characters.

For NetWare, a multibyte character code page is a code page where characters are represented by either one, or at most two, bytes and includes a mixture of both. The null character (0x00) is never used to express a valid character and is used for string termination.

See Also