DOC HOME SITE MAP MAN PAGES GNU INFO SEARCH PRINT BOOK
 

wctob(S)


wctob -- wide character to byte conversion

Syntax

cc ...-lc

#include <wchar.h>

int wctob(wint_t c);

Description

wctob(S) 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)

Standards conformance

wctob(S) is not part of any currently supported standard; it was developed by UNIX System Laboratories, Inc. and is maintained by The SCO Group.
© 2003 Caldera International, Inc. All rights reserved.
SCO OpenServer Release 5.0.7 -- 11 February 2003