update posix-info.txt

This commit is contained in:
Meco Man 2022-01-24 02:04:10 -05:00 committed by guo
parent 11d83225d6
commit 3e59cfd70e
1 changed files with 6 additions and 9 deletions

View File

@ -16,8 +16,7 @@
+ tolower() + tolower()
+ toupper() + toupper()
<errno.h> -> for gcc, keil, iar platform at the same time; <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.
Suggest to choose <sys/errno.h>
+ errno + errno
<fcntl.h> <fcntl.h>
@ -138,8 +137,7 @@
+ longjmp() + longjmp()
+ setjmp() + setjmp()
<signal.h> -> for gcc, keil, iar platform at the same time; <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.
Suggest to choose <sys/signal.h>
+ kill() + kill()
+ pthread_kill() + pthread_kill()
+ pthread_sigmask() + pthread_sigmask()
@ -174,7 +172,7 @@
+ fflush() + fflush()
+ fgetc() + fgetc()
+ fgets() + fgets()
- fileno() + fileno() ; GCC and IAR support, but Keil doesn't support
- flockfile() - flockfile()
+ fopen() + fopen()
+ fprintf() + fprintf()
@ -285,8 +283,7 @@
<sys/utsname.h> <sys/utsname.h>
+ uname() + uname()
<time.h> -> for gcc, keil, iar platform at the same time; <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.
Suggest to choose <sys/time.h>
+ asctime() + asctime()
+ asctime_r() + asctime_r()
+ clock_getres() + clock_getres()
@ -309,8 +306,8 @@
+ timer_getoverrun() + timer_getoverrun()
+ timer_gettime() + timer_gettime()
+ timer_settime() + timer_settime()
% tzname ; you should better use 'tz_xxx' in the rt-thread. - tzname ; you should better use 'tz_xxx' in the rt-thread.
% tzset() ; you should better use 'tz_xxx' in the rt-thread. - tzset() ; you should better use 'tz_xxx' in the rt-thread.
<unistd.h> <unistd.h>
+ alarm() + alarm()