DOC HOME SITE MAP MAN PAGES GNU INFO SEARCH PRINT BOOK
 

wctob(S-osr5)


wctob -- wide character to byte conversion

Syntax

cc ...-lc

#include <wchar.h>

int wctob(wint_t c);

Description

wctob(S-osr5) determines whether c is a member of the extended character set whose multibyte character representation is a single byte in the initial shift state.

Return values

wctob( ) returns EOF if c does not correspond to a multibyte character with length one. Otherwise, it returns the single byte representation.

Diagnostics

This function does not set errno.

See also

mbtowc(S-osr5)

Standards conformance

wctob(S-osr5) is not part of any currently supported standard; it was developed by UNIX System Laboratories, Inc. and is maintained by The SCO Group.
© 2005 The SCO Group, Inc. All rights reserved.
SCO OpenServer Release 6.0.0 -- 02 June 2005