Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
OpenHarmony
Third Party Musl
提交
57ae1b51
T
Third Party Musl
项目概览
OpenHarmony
/
Third Party Musl
8 个月 前同步成功
通知
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看板
前往新版Gitcode,体验更适合开发者的 AI 搜索 >>
提交
57ae1b51
编写于
5月 07, 2021
作者:
O
openharmony_ci
提交者:
Gitee
5月 07, 2021
浏览文件
操作
浏览文件
下载
差异文件
!19 feat: musl adapt for mksh & toybox
Merge pull request !19 from MGY917/master
上级
522b0ea7
09df7af0
变更
8
隐藏空白更改
内联
并排
Showing
8 changed file
with
1 addition
and
16 deletion
+1
-16
src/ctype/wcwidth.c
src/ctype/wcwidth.c
+0
-2
src/dirent/fdopendir.c
src/dirent/fdopendir.c
+0
-4
src/fcntl/openat.c
src/fcntl/openat.c
+0
-2
src/misc/getrusage.c
src/misc/getrusage.c
+0
-2
src/passwd/getgr_r.c
src/passwd/getgr_r.c
+0
-1
src/passwd/getpwent.c
src/passwd/getpwent.c
+1
-1
src/unistd/readlinkat.c
src/unistd/readlinkat.c
+0
-2
src/unistd/unlinkat.c
src/unistd/unlinkat.c
+0
-2
未找到文件。
src/ctype/wcwidth.c
浏览文件 @
57ae1b51
#include <wchar.h>
#include <unsupported_api.h>
static
const
unsigned
char
table
[]
=
{
#include "nonspacing.h"
...
...
@@ -11,7 +10,6 @@ static const unsigned char wtable[] = {
int
wcwidth
(
wchar_t
wc
)
{
unsupported_api
(
__FUNCTION__
);
if
(
wc
<
0xffU
)
return
(
wc
+
1
&
0x7f
)
>=
0x21
?
1
:
wc
?
-
1
:
0
;
if
((
wc
&
0xfffeffffU
)
<
0xfffe
)
{
...
...
src/dirent/fdopendir.c
浏览文件 @
57ae1b51
...
...
@@ -4,15 +4,11 @@
#include <errno.h>
#include <stdlib.h>
#include "__dirent.h"
#include <unsupported_api.h>
DIR
*
fdopendir
(
int
fd
)
{
DIR
*
dir
;
struct
stat
st
;
unsupported_api
(
__FUNCTION__
);
if
(
fstat
(
fd
,
&
st
)
<
0
)
{
return
0
;
}
...
...
src/fcntl/openat.c
浏览文件 @
57ae1b51
#include <fcntl.h>
#include <stdarg.h>
#include "syscall.h"
#include <unsupported_api.h>
int
openat
(
int
fd
,
const
char
*
filename
,
int
flags
,
...)
{
mode_t
mode
=
0
;
unsupported_api
(
__FUNCTION__
);
if
((
flags
&
O_CREAT
)
||
(
flags
&
O_TMPFILE
)
==
O_TMPFILE
)
{
va_list
ap
;
va_start
(
ap
,
flags
);
...
...
src/misc/getrusage.c
浏览文件 @
57ae1b51
#include <sys/resource.h>
#include <string.h>
#include <errno.h>
#include <unsupported_api.h>
#include "syscall.h"
int
getrusage
(
int
who
,
struct
rusage
*
ru
)
{
int
r
;
unsupported_api
(
__FUNCTION__
);
#ifdef SYS_getrusage_time64
long
long
kru64
[
18
];
r
=
__syscall
(
SYS_getrusage_time64
,
who
,
kru64
);
...
...
src/passwd/getgr_r.c
浏览文件 @
57ae1b51
...
...
@@ -47,6 +47,5 @@ int getgrnam_r(const char *name, struct group *gr, char *buf, size_t size, struc
int
getgrgid_r
(
gid_t
gid
,
struct
group
*
gr
,
char
*
buf
,
size_t
size
,
struct
group
**
res
)
{
unsupported_api
(
__FUNCTION__
);
return
getgr_r
(
0
,
gid
,
gr
,
buf
,
size
,
res
);
}
src/passwd/getpwent.c
浏览文件 @
57ae1b51
#include <unsupported_api.h>
#include "pwf.h"
#include <unsupported_api.h>
static
FILE
*
f
;
static
char
*
line
;
...
...
src/unistd/readlinkat.c
浏览文件 @
57ae1b51
#include <unistd.h>
#include <unsupported_api.h>
#include "syscall.h"
ssize_t
readlinkat
(
int
fd
,
const
char
*
restrict
path
,
char
*
restrict
buf
,
size_t
bufsize
)
{
unsupported_api
(
__FUNCTION__
);
return
syscall
(
SYS_readlinkat
,
fd
,
path
,
buf
,
bufsize
);
}
src/unistd/unlinkat.c
浏览文件 @
57ae1b51
#include <unistd.h>
#include <unsupported_api.h>
#include "syscall.h"
int
unlinkat
(
int
fd
,
const
char
*
path
,
int
flag
)
{
unsupported_api
(
__FUNCTION__
);
return
syscall
(
SYS_unlinkat
,
fd
,
path
,
flag
);
}
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录