Hallo, dies ist ein Test.
PWD: /www/data-lst1/unixsoft/unixsoft/kaempfer/.public_html
Running in File Mode
Relative path: ./../../../../../../usr/man/man3c/wctrans.3c
Real path: /usr/share/man/man3c/wctrans.3c
Zurück
'\" te .\" Copyright (c) 2002, 2014, Oracle and/or its affiliates. All rights reserved. .TH wctrans 3C "29 Sep 2014" "Oracle Solaris 11.4" "Standard C Library Functions" .SH NAME wctrans, wctrans_l \- define character mapping .SH SYNOPSIS .LP .nf #include <wctype.h> \fBwctrans_t\fR \fBwctrans\fR(\fBconst char *\fR\fIcharclass\fR); \fBwctrans_t\fR \fBwctrans_l\fR(\fBconst char *\fR\fIcharclass\fR, \fBlocale_t locale\fR); .fi .SH DESCRIPTION .sp .LP The \fBwctrans()\fR function is defined for valid character mapping names identified in the current locale. The \fIcharclass\fR is a string identifying a generic character mapping name for which codeset-specific information is required. The following character mapping names are defined in all locales \(mi "tolower" and "toupper". .sp .LP The function returns a value of type \fBwctrans_t\fR, which can be used as the second argument to subsequent calls of \fBtowctrans\fR(3C) and \fBtowctrans_l\fR(3C). The \fBwctrans()\fR function determines values of \fBwctrans_t\fR according to the rules of the coded character set defined by character mapping information in the current locale (category \fBLC_CTYPE\fR). .sp .LP The \fBwctrans_l()\fR function is equivalent to the \fBwctrans()\fR function, except that the locale data used is from the locale represented by locale. .sp .LP The values returned by \fBwctrans()\fR are valid until a call to \fBsetlocale\fR(3C) that modifies the category \fBLC_CTYPE\fR. .sp .LP The behavior is undefined if the locale argument to \fBwctrans_l()\fR is the special locale object \fBLC_GLOBAL_LOCALE\fR or is not a valid locale object handle. .SH RETURN VALUES .sp .LP The \fBwctrans()\fR and \fBwctrans_l()\fR functions returns \fB0\fR if the given character mapping name is not valid for the current locale (category \fBLC_CTYPE\fR), otherwise it returns a non-zero object of type \fBwctrans_t\fR that can be used in calls to \fBtowctrans\fR(3C) and \fBtowctrans_l\fR(3C). .SH ERRORS .sp .LP These functions may fail if: .sp .ne 2 .mk .na \fB\fBEINVAL\fR\fR .ad .RS 10n .rt The character mapping name pointed to by \fIcharclass\fR is not valid in the current locale or in the locale represented by locale. .RE .SH ATTRIBUTES .sp .LP See \fBattributes\fR(7) for descriptions of the following attributes: .sp .TS tab( ) box; cw(2.75i) |cw(2.75i) lw(2.75i) |lw(2.75i) . ATTRIBUTE TYPE ATTRIBUTE VALUE _ CSI Enabled _ Interface Stability Committed _ MT-Level MT-Safe _ Standard See \fBstandards\fR(7). .TE .sp .SH SEE ALSO .sp .LP \fBduplocale\fR(3C), \fBfreelocale\fR(3C), \fBnewlocale\fR(3C), \fBsetlocale\fR(3C), \fBtowctrans\fR(3C), \fBuselocale\fR(3C), \fBattributes\fR(7), \fBstandards\fR(7)