blob: db35dee34df07359c55d9b67753a690e4bae36e0 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
|
#include <wctype.h>
#include <wchar.h>
#include "_assert.h"
wint_t towctrans(wint_t wc, wctrans_t desc)
{
ASSERT_REPRESENTABLE(wc, WCHAR_MIN, WCHAR_MAX, "wchar_t", WEOF);
ASSERT_REPRESENTABLE(desc, 1, __libc.wctype.nwctrans, "wctrans_t", 0);
/* TODO: actual work */
(void)wc; (void)desc;
return 0;
}
/***
The fn(towctrans) function translates the wide character arg(wc) according to
mapping described by arg(desc), which must come from a previous call to
fn(wctrans), in the current locale.
***/
/* RETURN: the translated wide character */
/* UNSPECIFIED: - */
/* IMPLEMENTATION: - */
/* LOCALE: LC_CTYPE */
/*
STDC(199409)
*/
|