Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
OpenHarmony
Third Party Musl
提交
7597fc25
T
Third Party Musl
项目概览
OpenHarmony
/
Third Party Musl
10 个月 前同步成功
通知
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 搜索 >>
提交
7597fc25
编写于
10月 20, 2016
作者:
R
Rich Felker
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
fix various header namespace issues under feature-test-macro control
reported and changes suggested by Daniel Sabogal.
上级
2ed4e9d9
变更
6
隐藏空白更改
内联
并排
Showing
6 changed file
with
18 addition
and
7 deletion
+18
-7
include/dirent.h
include/dirent.h
+5
-2
include/grp.h
include/grp.h
+2
-0
include/pwd.h
include/pwd.h
+2
-0
include/sys/stat.h
include/sys/stat.h
+5
-2
include/time.h
include/time.h
+2
-1
include/unistd.h
include/unistd.h
+2
-2
未找到文件。
include/dirent.h
浏览文件 @
7597fc25
...
...
@@ -33,13 +33,16 @@ DIR *opendir(const char *);
struct
dirent
*
readdir
(
DIR
*
);
int
readdir_r
(
DIR
*
__restrict
,
struct
dirent
*
__restrict
,
struct
dirent
**
__restrict
);
void
rewinddir
(
DIR
*
);
void
seekdir
(
DIR
*
,
long
);
long
telldir
(
DIR
*
);
int
dirfd
(
DIR
*
);
int
alphasort
(
const
struct
dirent
**
,
const
struct
dirent
**
);
int
scandir
(
const
char
*
,
struct
dirent
***
,
int
(
*
)(
const
struct
dirent
*
),
int
(
*
)(
const
struct
dirent
**
,
const
struct
dirent
**
));
#if defined(_XOPEN_SOURCE) || defined(_GNU_SOURCE) || defined(_BSD_SOURCE)
void
seekdir
(
DIR
*
,
long
);
long
telldir
(
DIR
*
);
#endif
#if defined(_GNU_SOURCE) || defined(_BSD_SOURCE)
#define DT_UNKNOWN 0
#define DT_FIFO 1
...
...
include/grp.h
浏览文件 @
7597fc25
...
...
@@ -29,9 +29,11 @@ struct group *getgrnam(const char *);
int
getgrgid_r
(
gid_t
,
struct
group
*
,
char
*
,
size_t
,
struct
group
**
);
int
getgrnam_r
(
const
char
*
,
struct
group
*
,
char
*
,
size_t
,
struct
group
**
);
#if defined(_XOPEN_SOURCE) || defined(_GNU_SOURCE) || defined(_BSD_SOURCE)
struct
group
*
getgrent
(
void
);
void
endgrent
(
void
);
void
setgrent
(
void
);
#endif
#ifdef _GNU_SOURCE
struct
group
*
fgetgrent
(
FILE
*
);
...
...
include/pwd.h
浏览文件 @
7597fc25
...
...
@@ -27,9 +27,11 @@ struct passwd {
char
*
pw_shell
;
};
#if defined(_XOPEN_SOURCE) || defined(_GNU_SOURCE) || defined(_BSD_SOURCE)
void
setpwent
(
void
);
void
endpwent
(
void
);
struct
passwd
*
getpwent
(
void
);
#endif
struct
passwd
*
getpwuid
(
uid_t
);
struct
passwd
*
getpwnam
(
const
char
*
);
...
...
include/sys/stat.h
浏览文件 @
7597fc25
...
...
@@ -79,12 +79,15 @@ int fchmod(int, mode_t);
int
fchmodat
(
int
,
const
char
*
,
mode_t
,
int
);
mode_t
umask
(
mode_t
);
int
mkdir
(
const
char
*
,
mode_t
);
int
mknod
(
const
char
*
,
mode_t
,
dev_t
);
int
mkfifo
(
const
char
*
,
mode_t
);
int
mkdirat
(
int
,
const
char
*
,
mode_t
);
int
mknodat
(
int
,
const
char
*
,
mode_t
,
dev_t
);
int
mkfifoat
(
int
,
const
char
*
,
mode_t
);
#if defined(_XOPEN_SOURCE) || defined(_GNU_SOURCE) || defined(_BSD_SOURCE)
int
mknod
(
const
char
*
,
mode_t
,
dev_t
);
int
mknodat
(
int
,
const
char
*
,
mode_t
,
dev_t
);
#endif
int
futimens
(
int
,
const
struct
timespec
[
2
]);
int
utimensat
(
int
,
const
char
*
,
const
struct
timespec
[
2
],
int
);
...
...
include/time.h
浏览文件 @
7597fc25
...
...
@@ -111,6 +111,8 @@ int timer_settime (timer_t, int, const struct itimerspec *__restrict, struct iti
int
timer_gettime
(
timer_t
,
struct
itimerspec
*
);
int
timer_getoverrun
(
timer_t
);
extern
char
*
tzname
[
2
];
#endif
...
...
@@ -118,7 +120,6 @@ int timer_getoverrun (timer_t);
char
*
strptime
(
const
char
*
__restrict
,
const
char
*
__restrict
,
struct
tm
*
__restrict
);
extern
int
daylight
;
extern
long
timezone
;
extern
char
*
tzname
[
2
];
extern
int
getdate_err
;
struct
tm
*
getdate
(
const
char
*
);
#endif
...
...
include/unistd.h
浏览文件 @
7597fc25
...
...
@@ -110,10 +110,8 @@ gid_t getgid(void);
gid_t
getegid
(
void
);
int
getgroups
(
int
,
gid_t
[]);
int
setuid
(
uid_t
);
int
setreuid
(
uid_t
,
uid_t
);
int
seteuid
(
uid_t
);
int
setgid
(
gid_t
);
int
setregid
(
gid_t
,
gid_t
);
int
setegid
(
gid_t
);
char
*
getlogin
(
void
);
...
...
@@ -136,6 +134,8 @@ size_t confstr(int, char *, size_t);
#define F_TEST 3
#if defined(_XOPEN_SOURCE) || defined(_GNU_SOURCE) || defined(_BSD_SOURCE)
int
setreuid
(
uid_t
,
uid_t
);
int
setregid
(
gid_t
,
gid_t
);
int
lockf
(
int
,
int
,
off_t
);
long
gethostid
(
void
);
int
nice
(
int
);
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录