Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
OpenHarmony
Third Party Musl
提交
c09b6f8a
T
Third Party Musl
项目概览
OpenHarmony
/
Third Party Musl
1 年多 前同步成功
通知
37
Star
125
Fork
0
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
0
列表
看板
标记
里程碑
合并请求
0
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
T
Third Party Musl
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
0
Issue
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
Pages
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
提交
Issue看板
提交
c09b6f8a
编写于
2月 06, 2012
作者:
R
Rich Felker
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
fix some omissions and mistakes in locale_t interface definitions
上级
e5a7f14c
变更
14
隐藏空白更改
内联
并排
Showing
14 changed file
with
37 addition
and
13 deletion
+37
-13
include/wctype.h
include/wctype.h
+24
-0
src/locale/iswalnum_l.c
src/locale/iswalnum_l.c
+1
-1
src/locale/iswalpha_l.c
src/locale/iswalpha_l.c
+1
-1
src/locale/iswblank_l.c
src/locale/iswblank_l.c
+1
-1
src/locale/iswcntrl_l.c
src/locale/iswcntrl_l.c
+1
-1
src/locale/iswctype_l.c
src/locale/iswctype_l.c
+1
-1
src/locale/iswdigit_l.c
src/locale/iswdigit_l.c
+1
-1
src/locale/iswgraph_l.c
src/locale/iswgraph_l.c
+1
-1
src/locale/iswlower_l.c
src/locale/iswlower_l.c
+1
-1
src/locale/iswprint_l.c
src/locale/iswprint_l.c
+1
-1
src/locale/iswpunct_l.c
src/locale/iswpunct_l.c
+1
-1
src/locale/iswspace_l.c
src/locale/iswspace_l.c
+1
-1
src/locale/iswupper_l.c
src/locale/iswupper_l.c
+1
-1
src/locale/iswxdigit_l.c
src/locale/iswxdigit_l.c
+1
-1
未找到文件。
include/wctype.h
浏览文件 @
c09b6f8a
...
...
@@ -43,6 +43,30 @@ wctype_t wctype(const char *);
#undef iswdigit
#define iswdigit(a) (((unsigned)(a)-L'0') < 10)
#if defined(_POSIX_SOURCE) || defined(_POSIX_C_SOURCE) \
|| defined(_XOPEN_SOURCE) || defined(_GNU_SOURCE)
int
iswalnum_l
(
wint_t
,
locale_t
);
int
iswalpha_l
(
wint_t
,
locale_t
);
int
iswblank_l
(
wint_t
,
locale_t
);
int
iswcntrl_l
(
wint_t
,
locale_t
);
int
iswdigit_l
(
wint_t
,
locale_t
);
int
iswgraph_l
(
wint_t
,
locale_t
);
int
iswlower_l
(
wint_t
,
locale_t
);
int
iswprint_l
(
wint_t
,
locale_t
);
int
iswpunct_l
(
wint_t
,
locale_t
);
int
iswspace_l
(
wint_t
,
locale_t
);
int
iswupper_l
(
wint_t
,
locale_t
);
int
iswxdigit_l
(
wint_t
,
locale_t
);
int
iswctype_l
(
wint_t
,
wctype_t
,
locale_t
);
wint_t
towlower_l
(
wint_t
,
locale_t
);
wint_t
towupper_l
(
wint_t
,
locale_t
);
wint_t
towctrans_l
(
wint_t
,
wctrans_t
,
locale_t
);
wctrans_t
wctrans_l
(
const
char
*
,
locale_t
);
wctype_t
wctype_l
(
const
char
*
,
locale_t
);
#endif
#ifdef __cplusplus
}
#endif
...
...
src/locale/iswalnum_l.c
浏览文件 @
c09b6f8a
#include <wctype.h>
wint_
t
iswalnum_l
(
wint_t
c
,
locale_t
l
)
in
t
iswalnum_l
(
wint_t
c
,
locale_t
l
)
{
return
iswalnum
(
c
);
}
src/locale/iswalpha_l.c
浏览文件 @
c09b6f8a
#include <wctype.h>
wint_
t
iswalpha_l
(
wint_t
c
,
locale_t
l
)
in
t
iswalpha_l
(
wint_t
c
,
locale_t
l
)
{
return
iswalpha
(
c
);
}
src/locale/iswblank_l.c
浏览文件 @
c09b6f8a
#include <wctype.h>
wint_
t
iswblank_l
(
wint_t
c
,
locale_t
l
)
in
t
iswblank_l
(
wint_t
c
,
locale_t
l
)
{
return
iswblank
(
c
);
}
src/locale/iswcntrl_l.c
浏览文件 @
c09b6f8a
#include <wctype.h>
wint_
t
iswcntrl_l
(
wint_t
c
,
locale_t
l
)
in
t
iswcntrl_l
(
wint_t
c
,
locale_t
l
)
{
return
iswcntrl
(
c
);
}
src/locale/iswctype_l.c
浏览文件 @
c09b6f8a
#include <wctype.h>
wint_
t
iswctype_l
(
wint_t
c
,
wctype_t
t
,
locale_t
l
)
in
t
iswctype_l
(
wint_t
c
,
wctype_t
t
,
locale_t
l
)
{
return
iswctype
(
c
,
t
);
}
src/locale/iswdigit_l.c
浏览文件 @
c09b6f8a
#include <wctype.h>
wint_
t
iswdigit_l
(
wint_t
c
,
locale_t
l
)
in
t
iswdigit_l
(
wint_t
c
,
locale_t
l
)
{
return
iswdigit
(
c
);
}
src/locale/iswgraph_l.c
浏览文件 @
c09b6f8a
#include <wctype.h>
wint_
t
iswgraph_l
(
wint_t
c
,
locale_t
l
)
in
t
iswgraph_l
(
wint_t
c
,
locale_t
l
)
{
return
iswgraph
(
c
);
}
src/locale/iswlower_l.c
浏览文件 @
c09b6f8a
#include <wctype.h>
wint_
t
iswlower_l
(
wint_t
c
,
locale_t
l
)
in
t
iswlower_l
(
wint_t
c
,
locale_t
l
)
{
return
iswlower
(
c
);
}
src/locale/iswprint_l.c
浏览文件 @
c09b6f8a
#include <wctype.h>
wint_
t
iswprint_l
(
wint_t
c
,
locale_t
l
)
in
t
iswprint_l
(
wint_t
c
,
locale_t
l
)
{
return
iswprint
(
c
);
}
src/locale/iswpunct_l.c
浏览文件 @
c09b6f8a
#include <wctype.h>
wint_
t
iswpunct_l
(
wint_t
c
,
locale_t
l
)
in
t
iswpunct_l
(
wint_t
c
,
locale_t
l
)
{
return
iswpunct
(
c
);
}
src/locale/iswspace_l.c
浏览文件 @
c09b6f8a
#include <wctype.h>
wint_
t
iswspace_l
(
wint_t
c
,
locale_t
l
)
in
t
iswspace_l
(
wint_t
c
,
locale_t
l
)
{
return
iswspace
(
c
);
}
src/locale/iswupper_l.c
浏览文件 @
c09b6f8a
#include <wctype.h>
wint_
t
iswupper_l
(
wint_t
c
,
locale_t
l
)
in
t
iswupper_l
(
wint_t
c
,
locale_t
l
)
{
return
iswupper
(
c
);
}
src/locale/iswxdigit_l.c
浏览文件 @
c09b6f8a
#include <wctype.h>
wint_
t
iswxdigit_l
(
wint_t
c
,
locale_t
l
)
in
t
iswxdigit_l
(
wint_t
c
,
locale_t
l
)
{
return
iswxdigit
(
c
);
}
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录