Skip to content

Commit 3e59cfd

Browse files
mysterywolfGuozhanxin
authored andcommitted
update posix-info.txt
1 parent 11d8322 commit 3e59cfd

File tree

1 file changed

+6
-9
lines changed

1 file changed

+6
-9
lines changed

components/libc/posix-info.txt

Lines changed: 6 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -16,8 +16,7 @@
1616
+ tolower()
1717
+ toupper()
1818

19-
<errno.h> -> for gcc, keil, iar platform at the same time;
20-
Suggest to choose <sys/errno.h>
19+
<errno.h> -> Suggesting to use <sys/errno.h> instead of <errno.h> to be compatible with three compilation platforms of IAR Keil GCC at the same time.
2120
+ errno
2221

2322
<fcntl.h>
@@ -138,8 +137,7 @@
138137
+ longjmp()
139138
+ setjmp()
140139

141-
<signal.h> -> for gcc, keil, iar platform at the same time;
142-
Suggest to choose <sys/signal.h>
140+
<signal.h> -> Suggesting to use <sys/signal.h> instead of <signal.h> to be compatible with three compilation platforms of IAR Keil GCC at the same time.
143141
+ kill()
144142
+ pthread_kill()
145143
+ pthread_sigmask()
@@ -174,7 +172,7 @@
174172
+ fflush()
175173
+ fgetc()
176174
+ fgets()
177-
- fileno()
175+
+ fileno() ; GCC and IAR support, but Keil doesn't support
178176
- flockfile()
179177
+ fopen()
180178
+ fprintf()
@@ -285,8 +283,7 @@
285283
<sys/utsname.h>
286284
+ uname()
287285

288-
<time.h> -> for gcc, keil, iar platform at the same time;
289-
Suggest to choose <sys/time.h>
286+
<time.h> -> Suggesting to use <sys/time.h> instead of <time.h> to be compatible with three compilation platforms of IAR Keil GCC at the same time.
290287
+ asctime()
291288
+ asctime_r()
292289
+ clock_getres()
@@ -309,8 +306,8 @@
309306
+ timer_getoverrun()
310307
+ timer_gettime()
311308
+ timer_settime()
312-
% tzname ; you should better use 'tz_xxx' in the rt-thread.
313-
% tzset() ; you should better use 'tz_xxx' in the rt-thread.
309+
- tzname ; you should better use 'tz_xxx' in the rt-thread.
310+
- tzset() ; you should better use 'tz_xxx' in the rt-thread.
314311

315312
<unistd.h>
316313
+ alarm()

0 commit comments

Comments
 (0)