Commit Graph

45 Commits

Author SHA1 Message Date
Meco Man 6cc63626d7 fix some -Wmissing-prototypes warnings 2024-01-02 21:25:26 +08:00
Meco Man b08d8672d2 [libc][posix/io/stdio] rename libc.c as posix/stdio.c 2023-08-17 02:22:53 -04:00
Man, Jianting (Meco) 8275e90203
[libc][newlib] format (#6104) 2022-06-23 14:38:26 +08:00
Meco Man 76cab376ad [libc] 调整文件结构 2022-01-17 11:18:09 +08:00
Meco Man 8b17d53da7 [libc]新建gcc文件夹,将newlib和partical文件夹并入 2021-09-27 16:40:12 -04:00
Meco Man 0a799653df [libc][syscalls]将在libc初始化之前调用printf的行为下调为警告级别 2021-09-27 07:49:25 -04:00
Meco Jianting Man 37d4abb822
Merge branch 'master' into libc_stdio 2021-09-27 06:16:39 -05:00
Meco Man 8e287cfdf7 [libc][newlib][syscalls] fileno(stdout)->STDOUT_FILENO 2021-09-27 07:14:07 -04:00
Meco Man 86bb54fde6 [libc][syscalls] 在标准输入输出前加校验,反正在libc初始化之前调用printf出问题 2021-09-27 06:51:40 -04:00
Meco Man a0e800617c [libc][newlib] 优化syscall 将minilib.c并入syscalls.c 2021-09-25 14:56:10 -04:00
Meco Man d4a5edf074 [libc]重构_libc_init_array 防止gcc下芯片无法启动 2021-09-25 13:03:23 -04:00
greedyhao 3fae226630 [newlib] fix compile error when closing RT_USING_CONSOLE 2021-08-11 09:42:24 +08:00
Meco Man fa3d95bb1c [libc][syscall]整理函数格式 2021-06-23 01:37:41 +08:00
Meco Man 19347ed454 [libc][unistd] 完善isatty() 2021-04-26 14:31:31 +08:00
Meco Man 3c05a4e719 [compoenets] auto & manual formatted 2021-03-08 18:19:04 +08:00
Meco Man 70f5c10262 remove comments 2021-02-28 11:12:18 +08:00
Meco Man ac275965f2 [libc][newlib] 对syscall中malloc相关桩函数做出编译调整 2021-02-28 11:09:48 +08:00
Meco Man 20b95b8af5 [libc]fix bug of _isatty_r() 2021-02-24 22:09:00 +08:00
Meco Man 19c8cab8bd update 2021-02-22 17:02:45 +08:00
Meco Man 69dc37e1aa update 2021-02-22 16:53:54 +08:00
Meco Man 46b5eb378f remove _getpid_r() 2021-02-22 16:30:10 +08:00
Meco Man 19ef112016 improve and beautify syscalls 2021-02-21 18:20:45 +08:00
Meco Man 0ce0e2c234 update 2021-02-20 11:35:41 +08:00
Meco Man eaa3454bbe 优化abort函数 2021-02-20 11:31:58 +08:00
Meco Man 263d856fa4 update 2021-02-17 23:50:12 +08:00
Meco Man 9f5878b2fb update 2021-02-17 00:18:49 +08:00
Meco Man e927a53b41 精简exit abort system函数 2021-02-17 00:02:28 +08:00
Bernard Xiong d1cb9c5d97
Merge pull request #4341 from mysterywolf/unlink
[libc][iar][gcc] 优化remove函数
2021-02-15 09:28:48 +08:00
Meco Man abcb050603 [libc][iar][gcc] 优化remove函数 2021-02-15 07:53:58 +08:00
Meco Man 2530a5a272 [dlib]remove syscalls.h and add syscalls.c to implement exit() and abort() 2021-02-13 15:14:07 +08:00
Meco Man 23d4c200c9 add noreturn 2021-02-13 13:23:18 +08:00
Meco Man b89b3958bc [libc][exit][abort] 重新实现exit和abort函数 2021-02-13 13:16:17 +08:00
Meco Man e904f9bf27 update common 2021-02-11 03:03:59 +08:00
Meco Man a400991ee9 remove _gettimeofday_r() and _times_r() 2021-02-11 02:58:19 +08:00
Bernard Xiong be43008c56 [libc] remove pthread.h in newlib/syscalls.c 2020-06-06 13:23:56 +08:00
zhangjun f7e7170536 [components][libc][compilers][newlib]添加flock接口 2019-09-26 14:34:59 +08:00
zhangjun 8ed3daed5f [components][libc][compilers][newlib]添加getuid和umask函数 2019-09-26 11:27:37 +08:00
MurphyZhao 9596a94a8b [compilers/newlib] 在 syscalls.c 增加 __errno () 函数实现,解决在使用 newlib 编译时 errno 无法重定向到 _rt_errno 的问题
Signed-off-by: MurphyZhao <d2014zjt@163.com>
2019-04-11 14:24:36 +08:00
Bernard Xiong 38c49099c9 [libc] Fix the printf issue when disable DFS 2018-12-28 21:41:01 +08:00
Bernard Xiong 9064b28c2a [license] Change license to Apache. 2018-10-14 19:28:18 +08:00
Bernard Xiong efe4523132 [Kernel] move module tolibc/libdl. 2018-08-30 20:27:45 +08:00
Bernard Xiong 682da9b249 [Kernel] Remove object container in module feature. 2018-06-10 17:56:02 +08:00
BernardXiong d3da3bd9b2 [libc] move clock_time to time. 2017-12-31 16:43:08 +08:00
bernard 5c7b16d00b [libc] Update libc.
1. Add POSIX termios implementation;
2. Add POSIX signals implementation;
3. Add stdio for each libc.
2017-10-15 22:41:59 +08:00
bernard db88c0b6a2 [libc] Change libc stubs to compiler folder. 2017-10-10 17:12:03 +08:00