Commit Graph

36 Commits

Author SHA1 Message Date
mysterywolf c7aa6f0619 [fix bug] #3902 2020-10-02 12:00:52 +08:00
mysterywolf ff097f0467 增加 __GNUC__宏定义 和sconscript的平台识别以避免重复定义 2020-09-08 13:16:49 +08:00
mysterywolf 0eadf69f81 增加rtconfig.h头文件 2020-09-06 12:31:42 +08:00
mysterywolf 0d7d1fbbf7 修改include/libc头文件版权信息格式 2020-09-05 22:05:16 +08:00
mysterywolf 443978eb78 增加RT_USING_POSIX_GETLINE用于单独控制是否启用getline函数,并修改Kconfig增加对应选项 2020-09-05 19:47:34 +08:00
mysterywolf cf00e7f0a1 增加 RT_USING_POSIX 2020-09-05 18:10:30 +08:00
mysterywolf d5d8b345f4 修改libc_signal.h 该文件中不能用rt_数据类型,否则会引起编译器递归编译 2020-09-05 16:59:53 +08:00
mysterywolf 6fa049ee3d add libc_stdio.h 2020-09-05 16:21:00 +08:00
mysterywolf 74ab1551fd add posix 2008 limit.h 2020-09-05 16:14:21 +08:00
Bernard Xiong b5e4aa58e0 [Kernel] Fix the signal compiling issue when using minilibc 2019-12-18 23:06:36 +08:00
Bernard Xiong 992d3af3ae [kernel] code and comments cleanup 2019-12-16 13:59:46 +08:00
zhangjun b69ce64286 改回O_DIRCTORY与O_NONBLOCK,解决O_DIRCOTY与newlib中O_BINARY的相同定义 2019-08-20 09:16:42 +08:00
zhangjun 00d7cd66f2 fixup two macro definition in include/libc/libc_fcntl.h 2019-08-10 16:32:31 +08:00
MurphyZhao 5885fc414f [include/libc] 在使用 ARMCC 和 IAR 时,移除对 errno.h 的引入。如果引入了 errno.h,errno 就不会被重定向到 _rt_errno。
Signed-off-by: MurphyZhao <d2014zjt@163.com>
2019-04-11 14:27:16 +08:00
MLW b7e672e096 修复libc_errno.h的bug 2019-03-02 15:12:46 +08:00
Bernard Xiong 96e6deac29 [Kernel] Fix the errno definitions in armcc/iar. 2018-12-27 09:11:07 +08:00
chenchaoqun@rt-thread.com a0ef72ee93 [unite] header of process 2018-11-24 14:14:39 +08:00
Bernard Xiong e108dfe4a5 [libc] Fix the _EXFUN issue in newlib 2018-11-10 16:58:07 +08:00
Bernard Xiong b98a0ba804 [Kernel] Add ARMCC 6.x support. 2018-09-23 12:08:44 +08:00
Bernard Xiong 41f7f2c284 [Kernel] Update to Apache License v2.0
Update license for RT-Thread kernel.
2018-09-14 22:37:43 +08:00
chenyong 8cda48a132 [net][sal] Add SAL (socket abstraction layer) framework 2018-07-18 13:34:13 +08:00
Bernard Xiong 6ac213d622 Add GCC version detection.
Add cconfig.h file for different version of GCC, which is automatically
detected and generated by scons script.
2018-05-14 21:37:11 +08:00
armink c6e928a780 [Libc] Update struct stat on libc_stat.h . 2018-03-20 17:51:12 +08:00
BernardXiong 38b9ed3118 [Kernel] add sigwait implementation 2018-03-01 13:36:22 +08:00
Bernard Xiong 484b667d7d [libc] Add O_BINARY definition 2018-02-09 09:30:32 +08:00
Bernard Xiong 4e41b0573b [libc] fix the fcntl issue in newlib 2018-02-07 19:55:35 +08:00
BernardXiong 4bc082e7cb [libc] move `struct sigevent` to libc_signal.h file. 2017-12-31 14:48:54 +08:00
BernardXiong 5a95d35626 [DFS] Add fcntl API (same with ioctl in RT-Thread). 2017-12-31 14:46:24 +08:00
bernard 9644678dcb [libc] include <sys/select.h> when enable HAVE_SYS_SELECT_H 2017-12-22 14:46:45 +08:00
bernard c4b6fa7978 [libc] Add stat definitions for WIN32. 2017-12-14 10:47:07 +08:00
bernard ae7237dc53 [BSP] Fix the WIN32 compiling issue.
rename _errno to __rt_errno for conflict in WIN32.
2017-11-30 23:56:52 +08:00
bernard b3d872740b [libc] Fix the typedef in minilibc. 2017-10-31 10:24:11 +08:00
bernard 7d673f921c [libc] Adjust libc.
1. Move struct stat to libc_stat.h;
2. Defined a new FD_SET macros in libc_fdset.h.
2017-10-31 09:52:49 +08:00
yygg_you 2d0c10a0ca 修改simulator,匹配RTT 3.0 2017-10-20 13:26:47 +08:00
bernard 947d8aa4d2 [libc] Use correct header file for newlib. 2017-10-17 22:24:40 +08:00
bernard cd215b2545 [Kernel] header files
1. Remove components.h file;
2. Add libc_* files for standard libc definitions;
3. Add rtdbg.h file for simple debug log;
4. Add single list implementation;
5. Change the 'rt_uint8_t' type of cmd to 'int'.
2017-10-15 22:30:05 +08:00