一、POSIX PSE52接口列表
根据IEEE 1003.13-2003,整理了POSIX PSE52接口API(一共342个),每个API支持链接查看。
IEEE POSIX接口online搜索链接:
The Open Group Base Specifications Issue 7, 2018 edition
详细内容参考下面表格:
| SN | Module/_POSIX_宏 | Function | File | 
| 1 | POSIX_C_LANG_MATH (249=183+66) | acos() | <math.h> | 
| 2 | acosf() | ||
| 3 | acosh() | ||
| 4 | acoshf() | ||
| 5 | acoshl() | ||
| 6 | acosl() | ||
| 7 | asin() | ||
| 8 | asinf() | ||
| 9 | asinh() | ||
| 10 | asinhf() | ||
| 11 | asinhl() | ||
| 12 | asinl() | ||
| 13 | atan() | ||
| 14 | atan2() | ||
| 15 | atan2f() | ||
| 16 | atan2l() | ||
| 17 | atanf() | ||
| 18 | atanh() | ||
| 19 | atanhf() | ||
| 20 | atanhl() | ||
| 21 | atanl() | ||
| 22 | cbrt() | ||
| 23 | cbrtf() | ||
| 24 | cbrtl() | ||
| 25 | ceil() | ||
| 26 | ceilf() | ||
| 27 | ceill() | ||
| 28 | copysign() | ||
| 29 | copysignf() | ||
| 30 | copysignl() | ||
| 31 | cos() | ||
| 32 | cosf() | ||
| 33 | cosh() | ||
| 34 | coshf() | ||
| 35 | coshl() | ||
| 36 | cosl() | ||
| 37 | erf() | ||
| 38 | erfc() | ||
| 39 | erfcf() | ||
| 40 | erfcl() | ||
| 41 | erff() | ||
| 42 | erfl() | ||
| 43 | exp() | ||
| 44 | exp2() | ||
| 45 | exp2f() | ||
| 46 | exp2l() | ||
| 47 | expf() | ||
| 48 | expl() | ||
| 49 | expm1() | ||
| 50 | expm1f() | ||
| 51 | expm1l() | ||
| 52 | fabs() | ||
| 53 | fabsf() | ||
| 54 | fabsl() | ||
| 55 | fdim() | ||
| 56 | fdimf() | ||
| 57 | fdiml() | ||
| 58 | floor() | ||
| 59 | floorf() | ||
| 60 | floorl() | ||
| 61 | fma() | ||
| 62 | fmaf() | ||
| 63 | fmal() | ||
| 64 | fmax() | ||
| 65 | fmaxf() | ||
| 66 | fmaxl() | ||
| 67 | fmin() | ||
| 68 | fminf() | ||
| 69 | fminl() | ||
| 70 | fmod() | ||
| 71 | fmodf() | ||
| 72 | fmodl() | ||
| 73 | fpclassify() | ||
| 74 | frexp() | ||
| 75 | frexpf() | ||
| 76 | frexpl() | ||
| 77 | hypot() | ||
| 78 | hypotf() | ||
| 79 | hypotl() | ||
| 80 | ilogb() | ||
| 81 | ilogbf() | ||
| 82 | ilogbl() | ||
| 83 | isfinite() | ||
| 84 | isgreater() | ||
| 85 | isgreaterequal() | ||
| 86 | isinf() | ||
| 87 | isless() | ||
| 88 | islessequal() | ||
| 89 | islessgreater() | ||
| 90 | isnan() | ||
| 91 | isnormal() | ||
| 92 | isunordered() | ||
| 93 | ldexp() | ||
| 94 | ldexpf() | ||
| 95 | ldexpl() | ||
| 96 | lgamma() | ||
| 97 | lgammaf() | ||
| 98 | lgammal() | ||
| 99 | llrint() | ||
| 100 | llrintf() | ||
| 101 | llrintl() | ||
| 102 | llround() | ||
| 103 | llroundf() | ||
| 104 | llroundl() | ||
| 105 | log() | ||
| 106 | log10() | ||
| 107 | log10f() | ||
| 108 | log10l() | ||
| 109 | log1p() | ||
| 110 | log1pf() | ||
| 111 | log1pl() | ||
| 112 | log2() | ||
| 113 | log2f() | ||
| 114 | log2l() | ||
| 115 | logb() | ||
| 116 | logbf() | ||
| 117 | logbl() | ||
| 118 | logf() | ||
| 119 | logl() | ||
| 120 | lrint() | ||
| 121 | lrintf() | ||
| 122 | lrintl() | ||
| 123 | lround() | ||
| 124 | lroundf() | ||
| 125 | lroundl() | ||
| 126 | modf() | ||
| 127 | modff() | ||
| 128 | modfl() | ||
| 129 | nan() | ||
| 130 | nanf() | ||
| 131 | nanl() | ||
| 132 | nearbyint() | ||
| 133 | nearbyintf() | ||
| 134 | nearbyintl() | ||
| 135 | nextafter() | ||
| 136 | nextafterf() | ||
| 137 | nextafterl() | ||
| 138 | nexttoward() | ||
| 139 | nexttowardf() | ||
| 140 | nexttowardl() | ||
| 141 | pow() | ||
| 142 | powf() | ||
| 143 | powl() | ||
| 144 | remainder() | ||
| 145 | remainderf() | ||
| 146 | remainderl() | ||
| 147 | remquo() | ||
| 148 | remquof() | ||
| 149 | remquol() | ||
| 150 | rint() | ||
| 151 | rintf() | ||
| 152 | rintl() | ||
| 153 | round() | ||
| 154 | roundf() | ||
| 155 | roundl() | ||
| 156 | scalbln() | ||
| 157 | scalblnf() | ||
| 158 | scalblnl() | ||
| 159 | scalbn() | ||
| 160 | scalbnf() | ||
| 161 | scalbnl() | ||
| 162 | signbit() | ||
| 163 | sin() | ||
| 164 | sinf() | ||
| 165 | sinh() | ||
| 166 | sinhf() | ||
| 167 | sinhl() | ||
| 168 | sinl() | ||
| 169 | sqrt() | ||
| 170 | sqrtf() | ||
| 171 | sqrtl() | ||
| 172 | tan() | ||
| 173 | tanf() | ||
| 174 | tanh() | ||
| 175 | tanhf() | ||
| 176 | tanhl() | ||
| 177 | tanl() | ||
| 178 | tgamma() | ||
| 179 | tgammaf() | ||
| 180 | tgammal() | ||
| 181 | trunc() | ||
| 182 | truncf() | ||
| 183 | truncl() | ||
| 184 | cabs() | <complex.h> | |
| 185 | cabsf() | ||
| 186 | cabsl() | ||
| 187 | cacos() | ||
| 188 | cacosf() | ||
| 189 | cacosh() | ||
| 190 | cacoshf() | ||
| 191 | cacoshl() | ||
| 192 | cacosl() | ||
| 193 | carg() | ||
| 194 | cargf() | ||
| 195 | cargl() | ||
| 196 | casin() | ||
| 197 | casinf() | ||
| 198 | casinh() | ||
| 199 | casinhf() | ||
| 200 | casinhl() | ||
| 201 | casinl() | ||
| 202 | catan() | ||
| 203 | catanf() | ||
| 204 | catanh() | ||
| 205 | catanhf() | ||
| 206 | catanhl() | ||
| 207 | catanl() | ||
| 208 | ccos() | ||
| 209 | ccosf() | ||
| 210 | ccosh() | ||
| 211 | ccoshf() | ||
| 212 | ccoshl() | ||
| 213 | ccosl() | ||
| 214 | cexp() | ||
| 215 | cexpf() | ||
| 216 | cexpl() | ||
| 217 | cimag() | ||
| 218 | cimagf() | ||
| 219 | cimagl() | ||
| 220 | clog() | ||
| 221 | clogf() | ||
| 222 | clogl() | ||
| 223 | conj() | ||
| 224 | conjf() | ||
| 225 | conjl() | ||
| 226 | cpow() | ||
| 227 | cpowf() | ||
| 228 | cpowl() | ||
| 229 | cproj() | ||
| 230 | cprojf() | ||
| 231 | cprojl() | ||
| 232 | creal() | ||
| 233 | crealf() | ||
| 234 | creall() | ||
| 235 | csin() | ||
| 236 | csinf() | ||
| 237 | csinh() | ||
| 238 | csinhf() | ||
| 239 | csinhl() | ||
| 240 | csinl() | ||
| 241 | csqrt() | ||
| 242 | csqrtf() | ||
| 243 | csqrtl() | ||
| 244 | ctan() | ||
| 245 | ctanf() | ||
| 246 | ctanh() | ||
| 247 | ctanhf() | ||
| 248 | ctanhl() | ||
| 249 | ctanl() | ||
| 250 | POSIX_FD_MGMT (12=3+1+7+1) | dup() | <unistd.h> | 
| 251 | dup2() | ||
| 252 | lseek() | ||
| 253 | fcntl() | <fcntl.h> | |
| 254 | fgetpos() | <stdio.h> | |
| 255 | fseek() | ||
| 256 | fseeko() | ||
| 257 | fsetpos() | ||
| 258 | ftell() | ||
| 259 | ftello() | ||
| 260 | rewind() | ||
| 261 | ftruncate() | <unistd.h> | |
| 262 | POSIX_FILE_SYSTEM (22=8+5+1+3+4+1) | access() | <unistd.h> | 
| 263 | chdir() | ||
| 264 | fpathconf() | ||
| 265 | getcwd() | ||
| 266 | link() | ||
| 267 | pathconf() | ||
| 268 | rmdir() | ||
| 269 | unlink() | ||
| 270 | closedir() | <dirent.h> | |
| 271 | opendir() | ||
| 272 | readdir() | ||
| 273 | readdir_r() | ||
| 274 | rewinddir() | ||
| 275 | creat() | <fcntl.h> | |
| 276 | fstat() | <sys/stat.h> | |
| 277 | mkdir() | ||
| 278 | stat() | ||
| 279 | remove() | <stdio.h> | |
| 280 | rename() | ||
| 281 | tmpfile() | ||
| 282 | tmpnam() | ||
| 283 | utime() | <utime.h> | |
| 284 | _POSIX_MAPPED_FILES and _POSIX_SYNCHRONIZED_IO (1) | msync() | <sys/mman.h> | 
| 285 | _POSIX_MESSAGE_PASSING (8) | mq_close() | <mqueue.h> | 
| 286 | mq_getattr() | ||
| 287 | mq_notify() | ||
| 288 | mq_open() | ||
| 289 | mq_receive() | ||
| 290 | mq_send() | ||
| 291 | mq_setattr() | ||
| 292 | mq_unlink() | ||
| 293 | _POSIX_MESSAGE_PASSING and _POSIX_TIMEOUTS(2) | mq_timedreceive() | <mqueue.h> | 
| 294 | mq_timedsend() | ||
| 295 | _POSIX_TIMEOUTS and _POSIX_TRACE(1) | posix_trace_timedgetnext_event() | <trace.h> | 
| 296 | _POSIX_TRACE (30) | posix_trace_attr_destroy() | <trace.h> | 
| 297 | posix_trace_attr_getclockres() | ||
| 298 | posix_trace_attr_getcreatetime() | ||
| 299 | posix_trace_attr_getgenversion() | ||
| 300 | posix_trace_attr_getname() | ||
| 301 | posix_trace_attr_getstreamfullpolicy() | ||
| 302 | posix_trace_attr_getmaxdatasize() | ||
| 303 | posix_trace_attr_getmaxsystemeventsize() | ||
| 304 | posix_trace_attr_getmaxusereventsize() | ||
| 305 | posix_trace_attr_getstreamsize() | ||
| 306 | posix_trace_attr_init() | ||
| 307 | posix_trace_attr_setmaxdatasize() | ||
| 308 | posix_trace_attr_setname() | ||
| 309 | posix_trace_attr_setstreamfullpolicy() | ||
| 310 | posix_trace_attr_setstreamsize() | ||
| 311 | posix_trace_clear() | ||
| 312 | posix_trace_create() | ||
| 313 | posix_trace_event() | ||
| 314 | posix_trace_eventid_equal() | ||
| 315 | posix_trace_eventid_get_name() | ||
| 316 | posix_trace_eventid_open() | ||
| 317 | posix_trace_eventtypelist_getnext_id() | ||
| 318 | posix_trace_eventtypelist_rewind() | ||
| 319 | posix_trace_get_attr() | ||
| 320 | posix_trace_get_status() | ||
| 321 | posix_trace_getnext_event() | ||
| 322 | posix_trace_shutdown() | ||
| 323 | posix_trace_start() | ||
| 324 | posix_trace_stop() | ||
| 325 | posix_trace_trygetnext_event() | ||
| 326 | _POSIX_TRACE and _POSIX_TRACE_LOG (9) | posix_trace_attr_getlogfullpolicy() | <trace.h> | 
| 327 | posix_trace_attr_getlogsize() | ||
| 328 | posix_trace_attr_setlogfullpolicy() | ||
| 329 | posix_trace_attr_setlogsize() | ||
| 330 | posix_trace_close() | ||
| 331 | posix_trace_create_withlog() | ||
| 332 | posix_trace_flush() | ||
| 333 | posix_trace_open() | ||
| 334 | posix_trace_rewind() | ||
| 335 | _POSIX_TRACE and _POSIX_TRACE_EVENT_FILTER (8) | posix_trace_eventset_add() | <trace.h> | 
| 336 | posix_trace_eventset_del() | ||
| 337 | posix_trace_eventset_empty() | ||
| 338 | posix_trace_eventset_fill() | ||
| 339 | posix_trace_eventset_ismember() | ||
| 340 | posix_trace_get_filter() | ||
| 341 | posix_trace_set_filter() | ||
| 342 | posix_trace_trid_eventid_open() | 
二、参考
1.学习笔记:IEEE 1003.13-2003(POSIX实时与嵌入式规范)
2.POSIX标准及RT-Thread实现情况