Hallo, dies ist ein Test.
PWD: /www/data-lst1/unixsoft/unixsoft/kaempfer/.public_html
Running in File Mode
Relative path: ./../../../../../../usr/man/man3c/./towctrans.3c
Real path: /usr/share/man/man3c/towctrans.3c
Zurück
'\" te .\" Copyright (c) 1996, 2014, Oracle and/or its affiliates. All rights reserved. .TH towctrans 3C "26 Sep 2014" "Oracle Solaris 11.4" "Standard C Library Functions" .SH NAME towctrans, towctrans_l \- wide-character mapping .SH SYNOPSIS .LP .nf #include <wctype.h> \fBwint_t\fR \fBtowctrans\fR(\fBwint_t\fR \fIwc\fR, \fBwctrans_t\fR \fIdesc\fR); \fBwint_t\fR \fBtowctrans_l\fR(\fBwint_t\fR \fIwc\fR, \fBwctrans_t\fR \fIdesc\fR, \fBlocale_t locale\fR); .fi .SH DESCRIPTION .sp .LP The \fBtowctrans()\fR and \fBtowctrans_l\fR functions map the wide character \fIwc\fR using the mapping described by \fIdesc\fR. The setting of the \fBLC_CTYPE\fR category in the current locale or in the locale represented by locale, respectively, should be the same as during the call to \fBwctrans()\fR or \fBwctrans_l()\fR that returned the value \fIdesc\fR. .sp .LP If the value of \fIdesc\fR is invalid (that is, not obtained by a call to \fBwctrans()\fR or \fIdesc\fR is invalidated by a subsequent call to \fBsetlocale()\fR that has affected category \fBLC_CTYPE\fR), the result is unspecified. .sp .LP If the value of \fIdesc\fR is invalid (that is, not obtained by a call to \fBwctrans_l()\fR with the same locale object locale) the result is unspecified. .sp .LP The function call \fBtowctrans(\fR\fIwc\fR, \fBwctrans("tolower"))\fR behaves the same as \fBtowlower(\fR\fIwc\fR). .sp .LP The function call \fBtowctrans_l(\fR\fIwc\fR, \fBwctrans_l("toupper", locale)\fR, \fBlocale\fR) behaves the same as \fBtowupper_l(\fR\fIwc\fR, \fBlocale\fR). .SH RETURN VALUES .sp .LP The \fBtowctrans()\fR and \fBtowctrans_l()\fR functions return the mapped value of \fIwc\fR, using the mapping described by \fIdesc\fR; otherwise, it returns \fIwc\fR unchanged. .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), \fBuselocale\fR(3C), \fBwctrans\fR(3C), \fBattributes\fR(7), \fBstandards\fR(7)