<<

RTEMS POSIX 1003.1 Compliance Guide Release 5.1 (26th August 2020) © 1988, 2020 RTEMS Project and contributors

CONTENTS

1 Preface 3

2 Standards 5

3 RTEMS Complete Profile7 3.1 Summary...... 8 3.2 ...... 9 3.3 ...... 10 3.4 ...... 11 3.5 ...... 12 3.6 ...... 14 3.7 ...... 15 3.8 ...... 16 3.9 ...... 17 3.10 ...... 18 3.11 ...... 19 3.12 ...... 20 3.13 ...... 21 3.14 ...... 22 3.15 ...... 23 3.16 ...... 24 3.17 ...... 25 3.18 ...... 26 3.19 ...... 27 3.20 ...... 28 3.21 ...... 29 3.22 ...... 30 3.23 ...... 31 3.24 ...... 37 3.25 ...... 38 3.26 ...... 39 3.27 ...... 40 3.28 ...... 41 3.29 ...... 42 3.30 ...... 43 3.31 ...... 44 3.32 ...... 48 3.33 ...... 49

i 3.34 ...... 50 3.35 ...... 51 3.36 ...... 52 3.37 ...... 53 3.38 ...... 54 3.39 ...... 55 3.40 ...... 56 3.41 ...... 57 3.42 ...... 58 3.43 ...... 61 3.44 ...... 64 3.45 ...... 66 3.46 ...... 67 3.47 ...... 68 3.48 ...... 69 3.49 ...... 70 3.50 ...... 71 3.51 ...... 72 3.52 ...... 73 3.53 ...... 74 3.54 ...... 75 3.55 ...... 76 3.56 ...... 77 3.57 ...... 78 3.58 ...... 79 3.59 ...... 80 3.60 ...... 81 3.61 ...... 82 3.62 ...... 83 3.63 ...... 84 3.64 ...... 85 3.65 ...... 87 3.66 ...... 89 3.67 ...... 90 3.68 ...... 93 3.69 ...... 94 3.70 ...... 95 3.71 ...... 98 3.72 ...... 100

4 POSIX-2008 101 4.1 Summary...... 102 4.2 ...... 103 4.3 ...... 104 4.4 ...... 105 4.5 ...... 106 4.6 ...... 108 4.7 ...... 109 4.8 ...... 110 4.9 ...... 111 4.10 ...... 112 ii 4.11 ...... 113 4.12 ...... 114 4.13 ...... 115 4.14 ...... 116 4.15 ...... 117 4.16 ...... 118 4.17 ...... 119 4.18 ...... 120 4.19 ...... 121 4.20 ...... 122 4.21 ...... 123 4.22 ...... 124 4.23 ...... 130 4.24 ...... 131 4.25 ...... 132 4.26 ...... 133 4.27 ...... 134 4.28 ...... 135 4.29 ...... 136 4.30 ...... 137 4.31 ...... 141 4.32 ...... 142 4.33 ...... 143 4.34 ...... 144 4.35 ...... 145 4.36 ...... 146 4.37 ...... 147 4.38 ...... 148 4.39 ...... 149 4.40 ...... 150 4.41 ...... 151 4.42 ...... 154 4.43 ...... 156 4.44 ...... 158 4.45 ...... 159 4.46 ...... 160 4.47 ...... 161 4.48 ...... 162 4.49 ...... 163 4.50 ...... 164 4.51 ...... 165 4.52 ...... 166 4.53 ...... 167 4.54 ...... 168 4.55 ...... 169 4.56 ...... 170 4.57 ...... 171 4.58 ...... 172 4.59 ...... 173 4.60 ...... 174 4.61 ...... 175

iii 4.62 ...... 176 4.63 ...... 178 4.64 ...... 180 4.65 ...... 181 4.66 ...... 184 4.67 ...... 185 4.68 ...... 186 4.69 ...... 189 4.70 ...... 191

5 POSIX-2003 193 5.1 Summary...... 194 5.2 ...... 195 5.3 ...... 196 5.4 ...... 197 5.5 ...... 198 5.6 ...... 200 5.7 ...... 201 5.8 ...... 202 5.9 ...... 203 5.10 ...... 204 5.11 ...... 205 5.12 ...... 206 5.13 ...... 207 5.14 ...... 208 5.15 ...... 209 5.16 ...... 210 5.17 ...... 211 5.18 ...... 212 5.19 ...... 213 5.20 ...... 214 5.21 ...... 215 5.22 ...... 216 5.23 ...... 222 5.24 ...... 223 5.25 ...... 224 5.26 ...... 225 5.27 ...... 226 5.28 ...... 227 5.29 ...... 228 5.30 ...... 229 5.31 ...... 232 5.32 ...... 233 5.33 ...... 234 5.34 ...... 235 5.35 ...... 236 5.36 ...... 237 5.37 ...... 238 5.38 ...... 239 5.39 ...... 240 5.40 ...... 241 iv 5.41 ...... 242 5.42 ...... 244 5.43 ...... 247 5.44 ...... 248 5.45 ...... 249 5.46 ...... 250 5.47 ...... 251 5.48 ...... 252 5.49 ...... 253 5.50 ...... 254 5.51 ...... 255 5.52 ...... 256 5.53 ...... 257 5.54 ...... 258 5.55 ...... 259 5.56 ...... 260 5.57 ...... 261 5.58 ...... 262 5.59 ...... 263 5.60 ...... 264 5.61 ...... 265 5.62 ...... 266 5.63 ...... 268 5.64 ...... 270 5.65 ...... 271 5.66 ...... 274 5.67 ...... 275 5.68 ...... 276 5.69 ...... 278 5.70 ...... 279

6 POSIX PSE51 - Minimal 281 6.1 Summary...... 282 6.2 ...... 283 6.3 ...... 284 6.4 ...... 285 6.5 ...... 286 6.6 ...... 287 6.7 ...... 288 6.8 ...... 289 6.9 ...... 292 6.10 ...... 293 6.11 ...... 294 6.12 ...... 295 6.13 ...... 296 6.14 ...... 297 6.15 ...... 299 6.16 ...... 300 6.17 ...... 301 6.18 ...... 302 6.19 ...... 303

v 6.20 ...... 304

7 POSIX PSE52 - Real-Time Controller 305 7.1 Summary...... 306 7.2 ...... 307 7.3 ...... 309 7.4 ...... 310 7.5 ...... 311 7.6 ...... 312 7.7 ...... 313 7.8 ...... 314 7.9 ...... 315 7.10 ...... 316 7.11 ...... 322 7.12 ...... 323 7.13 ...... 326 7.14 ...... 327 7.15 ...... 328 7.16 ...... 329 7.17 ...... 330 7.18 ...... 331 7.19 ...... 333 7.20 ...... 334 7.21 ...... 335 7.22 ...... 336 7.23 ...... 337 7.24 ...... 338 7.25 ...... 339 7.26 ...... 341 7.27 ...... 342

8 POSIX PSE53 - Dedicated 343 8.1 Summary...... 344 8.2 ...... 345 8.3 ...... 346 8.4 ...... 347 8.5 ...... 348 8.6 ...... 350 8.7 ...... 351 8.8 ...... 352 8.9 ...... 353 8.10 ...... 354 8.11 ...... 355 8.12 ...... 356 8.13 ...... 357 8.14 ...... 363 8.15 ...... 364 8.16 ...... 365 8.17 ...... 366 8.18 ...... 369 8.19 ...... 370 8.20 ...... 371 vi 8.21 ...... 372 8.22 ...... 373 8.23 ...... 374 8.24 ...... 375 8.25 ...... 377 8.26 ...... 379 8.27 ...... 380 8.28 ...... 381 8.29 ...... 382 8.30 ...... 383 8.31 ...... 384 8.32 ...... 385 8.33 ...... 386 8.34 ...... 387 8.35 ...... 388 8.36 ...... 390 8.37 ...... 392

9 POSIX PSE54 - Multipurpose 393 9.1 Summary...... 394 9.2 ...... 395 9.3 ...... 396 9.4 ...... 397 9.5 ...... 398 9.6 ...... 400 9.7 ...... 401 9.8 ...... 402 9.9 ...... 403 9.10 ...... 404 9.11 ...... 405 9.12 ...... 406 9.13 ...... 407 9.14 ...... 408 9.15 ...... 409 9.16 ...... 410 9.17 ...... 411 9.18 ...... 417 9.19 ...... 418 9.20 ...... 419 9.21 ...... 420 9.22 ...... 423 9.23 ...... 424 9.24 ...... 425 9.25 ...... 426 9.26 ...... 427 9.27 ...... 428 9.28 ...... 429 9.29 ...... 430 9.30 ...... 431 9.31 ...... 433 9.32 ...... 435

vii 9.33 ...... 436 9.34 ...... 437 9.35 ...... 438 9.36 ...... 439 9.37 ...... 440 9.38 ...... 441 9.39 ...... 442 9.40 ...... 443 9.41 ...... 444 9.42 ...... 445 9.43 ...... 446 9.44 ...... 448 9.45 ...... 450 9.46 ...... 451 9.47 ...... 453 9.48 ...... 454

10 C99 Standard Library 455 10.1 Summary...... 456 10.2 ...... 457 10.3 ...... 458 10.4 ...... 460 10.5 ...... 461 10.6 ...... 462 10.7 ...... 463 10.8 ...... 464 10.9 ...... 465 10.10 ...... 471 10.11 ...... 472 10.12 ...... 473 10.13 ...... 474 10.14 ...... 475 10.15 ...... 477 10.16 ...... 479 10.17 ...... 480 10.18 ...... 481 10.19 ...... 483

11 C11 Standard Library 485 11.1 Summary...... 486 11.2 ...... 487 11.3 ...... 488 11.4 ...... 490 11.5 ...... 491 11.6 ...... 492 11.7 ...... 493 11.8 ...... 494 11.9 ...... 495 11.10 ...... 501 11.11 ...... 502 11.12 ...... 503 11.13 ...... 504 viii 11.14 ...... 505 11.15 ...... 507 11.16 ...... 509 11.17 ...... 510 11.18 ...... 511 11.19 ...... 512 11.20 ...... 514

12 FACE 2.1 Security 515 12.1 Summary...... 516 12.2 ...... 517 12.3 ...... 518 12.4 ...... 519 12.5 ...... 520 12.6 ...... 521 12.7 ...... 522 12.8 ...... 523 12.9 ...... 525 12.10 ...... 526 12.11 ...... 527 12.12 ...... 528 12.13 ...... 529 12.14 ...... 530 12.15 ...... 531 12.16 ...... 532 12.17 ...... 533 12.18 ...... 534

13 FACE 2.1 Safety Base 535 13.1 Summary...... 536 13.2 ...... 537 13.3 ...... 538 13.4 ...... 539 13.5 ...... 540 13.6 ...... 541 13.7 ...... 542 13.8 ...... 543 13.9 ...... 544 13.10 ...... 545 13.11 ...... 546 13.12 ...... 548 13.13 ...... 549 13.14 ...... 550 13.15 ...... 551 13.16 ...... 552 13.17 ...... 553 13.18 ...... 554 13.19 ...... 555 13.20 ...... 556 13.21 ...... 557 13.22 ...... 558 13.23 ...... 559

ix 14 FACE 2.1 Safety Extended 561 14.1 Summary...... 562 14.2 ...... 563 14.3 ...... 564 14.4 ...... 565 14.5 ...... 566 14.6 ...... 567 14.7 ...... 568 14.8 ...... 569 14.9 ...... 570 14.10 ...... 571 14.11 ...... 572 14.12 ...... 574 14.13 ...... 575 14.14 ...... 576 14.15 ...... 577 14.16 ...... 578 14.17 ...... 579 14.18 ...... 580 14.19 ...... 581 14.20 ...... 582 14.21 ...... 583 14.22 ...... 584 14.23 ...... 585 14.24 ...... 586 14.25 ...... 587 14.26 ...... 588 14.27 ...... 589 14.28 ...... 590 14.29 ...... 591

15 FACE 2.1 General Purpose 593 15.1 Summary...... 594 15.2 ...... 595 15.3 ...... 596 15.4 ...... 597 15.5 ...... 598 15.6 ...... 600 15.7 ...... 601 15.8 ...... 602 15.9 ...... 603 15.10 ...... 604 15.11 ...... 605 15.12 ...... 606 15.13 ...... 607 15.14 ...... 608 15.15 ...... 614 15.16 ...... 615 15.17 ...... 616 15.18 ...... 617 15.19 ...... 620 x 15.20 ...... 621 15.21 ...... 622 15.22 ...... 623 15.23 ...... 624 15.24 ...... 625 15.25 ...... 626 15.26 ...... 628 15.27 ...... 630 15.28 ...... 631 15.29 ...... 632 15.30 ...... 633 15.31 ...... 634 15.32 ...... 635 15.33 ...... 636 15.34 ...... 637 15.35 ...... 638 15.36 ...... 639 15.37 ...... 641 15.38 ...... 643

16 FACE 3.0 Security 645 16.1 Summary...... 646 16.2 ...... 647 16.3 ...... 648 16.4 ...... 649 16.5 ...... 650 16.6 ...... 651 16.7 ...... 652 16.8 ...... 653 16.9 ...... 655 16.10 ...... 656 16.11 ...... 657 16.12 ...... 658 16.13 ...... 659 16.14 ...... 660 16.15 ...... 661 16.16 ...... 662 16.17 ...... 663 16.18 ...... 664

17 FACE 3.0 Safety Base 665 17.1 Summary...... 666 17.2 ...... 667 17.3 ...... 668 17.4 ...... 669 17.5 ...... 670 17.6 ...... 671 17.7 ...... 672 17.8 ...... 673 17.9 ...... 674 17.10 ...... 675 17.11 ...... 676

xi 17.12 ...... 678 17.13 ...... 679 17.14 ...... 680 17.15 ...... 681 17.16 ...... 682 17.17 ...... 683 17.18 ...... 684 17.19 ...... 685 17.20 ...... 686 17.21 ...... 687 17.22 ...... 688 17.23 ...... 689

18 FACE 3.0 Safety Extended 691 18.1 Summary...... 692 18.2 ...... 693 18.3 ...... 694 18.4 ...... 695 18.5 ...... 696 18.6 ...... 697 18.7 ...... 698 18.8 ...... 699 18.9 ...... 700 18.10 ...... 701 18.11 ...... 702 18.12 ...... 704 18.13 ...... 705 18.14 ...... 706 18.15 ...... 707 18.16 ...... 708 18.17 ...... 709 18.18 ...... 710 18.19 ...... 711 18.20 ...... 712 18.21 ...... 713 18.22 ...... 714 18.23 ...... 715 18.24 ...... 716 18.25 ...... 717 18.26 ...... 718 18.27 ...... 719 18.28 ...... 720 18.29 ...... 721

19 FACE 3.0 General Purpose 723 19.1 Summary...... 724 19.2 ...... 725 19.3 ...... 726 19.4 ...... 727 19.5 ...... 728 19.6 ...... 730 19.7 ...... 731 xii 19.8 ...... 732 19.9 ...... 733 19.10 ...... 734 19.11 ...... 735 19.12 ...... 736 19.13 ...... 737 19.14 ...... 738 19.15 ...... 744 19.16 ...... 745 19.17 ...... 746 19.18 ...... 747 19.19 ...... 750 19.20 ...... 751 19.21 ...... 752 19.22 ...... 753 19.23 ...... 754 19.24 ...... 755 19.25 ...... 756 19.26 ...... 758 19.27 ...... 760 19.28 ...... 761 19.29 ...... 762 19.30 ...... 763 19.31 ...... 764 19.32 ...... 765 19.33 ...... 766 19.34 ...... 767 19.35 ...... 768 19.36 ...... 769 19.37 ...... 771 19.38 ...... 772

20 SCA 2.2.2 AEP 773 20.1 Summary...... 774 20.2 ...... 775 20.3 ...... 776 20.4 ...... 777 20.5 ...... 778 20.6 ...... 779 20.7 ...... 780 20.8 ...... 783 20.9 ...... 784 20.10 ...... 785 20.11 ...... 786 20.12 ...... 788 20.13 ...... 789 20.14 ...... 790 20.15 ...... 791 20.16 ...... 792 20.17 ...... 793

21 SCA 4.1 Ultra Lightweight AEP 795

xiii 21.1 Summary...... 796 21.2 ...... 797 21.3 ...... 798 21.4 ...... 799 21.5 ...... 800 21.6 ...... 801

22 SCA 4.1 Lightweight AEP 803 22.1 Summary...... 804 22.2 ...... 805 22.3 ...... 806 22.4 ...... 807 22.5 ...... 808 22.6 ...... 809 22.7 ...... 810 22.8 ...... 811 22.9 ...... 812 22.10 ...... 813 22.11 ...... 814 22.12 ...... 815

23 SCA 4.1 [Full] AEP 817 23.1 Summary...... 818 23.2 ...... 819 23.3 ...... 820 23.4 ...... 821 23.5 ...... 822 23.6 ...... 823 23.7 ...... 824 23.8 ...... 825 23.9 ...... 826 23.10 ...... 828 23.11 ...... 829 23.12 ...... 830 23.13 ...... 831 23.14 ...... 833 23.15 ...... 834 23.16 ...... 835 23.17 ...... 836 23.18 ...... 837 23.19 ...... 838 23.20 ...... 839

24 Glossary 841

Index 843

xiv RTEMS POSIX 1003.1 Compliance Guide, Release 5.1 (26th August 2020)

Copyrights and License

© 2017 Chris Johns © 1988, 2018 On-Line Applications Research Corporation (OAR)

This document is available under the Creative Commons Attribution-ShareAlike 4.0 Interna- tional Public License.

The authors have used their best efforts in preparing this material. These efforts include the development, research, and testing of the theories and programs to determine their effective- ness. No warranty of any kind, expressed or implied, with regard to the or the material contained in this document is provided. No liability arising out of the application or use of any product described in this document is assumed. The authors reserve the right to revise this material and to make changes from time to time in the content hereof without obligation to notify anyone of such revision or changes. The RTEMS Project is hosted at ://www.rtems.org. Any inquiries concerning RTEMS, its related support components, or its documentation should be directed to the RTEMS Project community.

RTEMS Online Resources

Home https://www.rtems.org Documentation https://docs.rtems.org Mailing Lists https://lists.rtems.org Bug Reporting https://devel.rtems.org/wiki/Developer/Bug_Reporting Git Repositories https://git.rtems.org Developers https://devel.rtems.org

1 RTEMS POSIX 1003.1 Compliance Guide, Release 5.1 (26th August 2020)

2 CONTENTS CHAPTER ONE

PREFACE

RTEMS supports a variety of POSIX and BSD features including some POSIX methods that are now deemed obsolete and some methods for compatibility with GNU/Linux and FreeBSD. There are multiple POSIX standard versions as well as multiple efforts to tailor (e.g. profile) POSIX for embedded environments. They range in size from less than 200 required capabilities to the full POSIX standard which has over 1200 required capabilities. This document reports on the alignment of RTEMS with various standard versions and defined profiles. RTEMS supports a number of POSIX process, user, and group oriented routines in what is re- ferred to as a “SUSP” (Single-User, Single Process) manner. RTEMS supports a single process, multithreaded POSIX environment. In a pure world, there would be no reason to even in- clude routines like getpid() when there can only be one process. But providing routines like getpid() and making them work in a sensible fashion for an embedded environment while not returning ENOSYS (for not implemented) makes it significantly easier to port code from a UNIX environment without modifying it. In general, adding missing methods is always an open project for a volunteer. If considering ad- dressing missing methods, please discuss this on mailing list. Some are properly implemented in the Newlib C Standard Library used by RTEMS. Others may require target architecture spe- cific implementations. Still others may be impossible to implement without multiple processes or can only be implemented in a restricted fashion. Missing methods required by the C99 standard or FACE Technical Standard Edition 3.0 General Purpose Profile are good candidates to add. Proposals to add missing methods from the C11 standard should be reviewed by RTEMS core developers to ensure the effort is well spent. There are rumors that some optional methods that are not being widely implemented will be removed in a future versino of the C standard. The next chapter in this document describes each of the standards with which the RTEMS align- ment is tracked. Each subsequent chapter in this document presents the alignment of RTEMS with a specific standard version or defined profile. Each section with a chapter details the align- ment of a specific header file relative to the chapter’s standard or profile. The implementation status of the items required by the standard are listed.

3 RTEMS POSIX 1003.1 Compliance Guide, Release 5.1 (26th August 2020)Chapter1 Section 1.0

4 Chapter 1. Preface CHAPTER TWO

STANDARDS

This chapter describes each of the standards which RTEMS tracks API alignment with. As a general rules, these standards are related to the POSIX or C programming language standards. Many are the result of domain specific efforts to define subsets or profiles or the full POSIX standard which are suitable for a specific domain. Each API set is considered a “profile” against which the full capability set of RTEMS is evaluated. The RTEMS Complete Profile is the complete set of POSIX, BSD, and C programming language methods supported by RTEMS. This profile is independent of any standard and represents a union of multiple standards. For example, RTEMS supports BSD derived methods that are not in POSIX. The IEEE Standard 1003.1 is the POSIX standard. Specifically, IEEE Standard 1003.1-2008 is the 2003 edition of the POSIX standard and IEEE Standard 1003.1-2008 is the 2008 edition. The 2008 is is an update from the 2003 edition. Each edition of the POSIX standard tends to add some methods, deprecate some methods, and obsolete (e.g. remove) other methods. PSE51 through PSE54 are Open Group defined profiles of the 2003 edition of the POSIX stan- dard. These profiles are: • Profile 54 - Multipurpose – 1003.1-2003 Base Multi-process, Threads and File System • Profile 53 - Dedicated – Multi-process, Threads and File System • Profile 52 - Controller – Single Process, Threads, and File System • Profile 51 - Minimal – Single Process, Threads, with No File System The C99 Programming Language standard defines the Standard C Library. This library is largely included by reference in the POSIX standard. The C11 Programming Language standard defines also defines an updated version of the Stan- dard C Library. It deletes a few methods from the C99 version but adds many methods. A large portion of these methods are optional and not commonly implemented. The Open Group FACE Consortium (https://www.opengroup.org/face) has defined four POSIX profiles targetting the avionics application domain. The FACE Technical Standard has been

5 RTEMS POSIX 1003.1 Compliance Guide, Release 5.1 (26th August 2020)Chapter2 Section 2.0 through multiple revisions and the POSIX API profiles are identical in Editions 1.0, 2.0, 2.1, and 2.1.1. In these editions, the profiles are as follows: • Security - 163 , single process, no FILE * • Safety Basic - 246 APIs, single process, some FILE * • Safety Extended - 335 APIs, multi-process, more FILE * • General Purpose - 812 APIs, multi-process, much more FACE Technical Standard Edition 3.0 adds the requirement for an operating system to sup- port clock_nanosleep() in all profiles and defines one additional subcommand for the posix_devctl() methods. RTEMS provides all of the methods required by the FACE Safety BASE profile and all of the methods in the Safety Extended profile which do not require multiple processes. Similarly, RTEMS provides most of the methods in the General Purpose profile which do not require multiple processes. The Software Communications Architecture (SCA) specification targets the requirements for software-defined radios. This specification was originally developed in support of the Joint Tac- tical Radio System (JTRS) program in conjunction with the Object Management Group (OMG). This standard is now maintained by the Wireless Innovation Forum with support from the U.S. Navy Joint Tactical Network Center (JTNC). Some of interest: • SCA at Wireless Innovation Forum - http://www.wirelessinnovation.org/ sca-based-standards-library • JTRS - https://en.wikipedia.org/wiki/Joint_Tactical_Radio_System • JTNC - http://www.public.navy.mil/jtnc/Pages/home.aspx The SCA standard is hosted at the Wireless Innovation Forum with JTNC hosting supplemental information. RTEMS includes all methods required by the SCA POSIX profiles.

6 Chapter 2. Standards CHAPTER THREE

RTEMS COMPLETE PROFILE

This chapter has a subsection per header file to detail the methods provided by RTEMS that are in that header file.

7 RTEMS POSIX 1003.1 Compliance Guide, Release 5.1 (26th August 2020)Chapter3 Section 3.1

3.1 Summary

The follow summarizes RTEMS supported methods for all tracked standards:

Supported 999 ENOSYS 19 Not supported 216

8 Chapter 3. RTEMS Complete Profile Chapter 3 Section 3.2RTEMS POSIX 1003.1 Compliance Guide, Release 5.1 (26th August 2020)

3.2

The following methods and variables in are supported: • aio_cancel() • aio_error() • aio_fsync() • aio_read() • aio_return() • aio_write() The following methods in are implemented as stubs returning -1 and setting errno to ENOSYS: • aio_suspend() • lio_listio()

3.2. 9 RTEMS POSIX 1003.1 Compliance Guide, Release 5.1 (26th August 2020)Chapter3 Section 3.3

3.3

The following methods and variables in are supported: • htonl() • htons() • inet_addr() • inet_ntoa() • inet_ntop() • inet_pton() • ntohl() • ntohs()

10 Chapter 3. RTEMS Complete Profile Chapter 3 Section 3.4RTEMS POSIX 1003.1 Compliance Guide, Release 5.1 (26th August 2020)

3.4

The following methods and variables in are supported: • assert()

3.4. 11 RTEMS POSIX 1003.1 Compliance Guide, Release 5.1 (26th August 2020)Chapter3 Section 3.5

3.5

The following methods and variables in are supported: • cabs() • cabsf() • cabsl() • cacos() • cacosf() • cacosh() • cacoshf() • cacoshl() • cacosl() • carg() • cargf() • cargl() • casin() • casinf() • casinh() • casinhf() • casinhl() • casinl() • catan() • catanf() • catanh() • catanhf() • catanhl() • catanl() • ccos() • ccosf() • ccosh() • ccoshf() • ccoshl() • ccosl() • cexp() • cexpf()

12 Chapter 3. RTEMS Complete Profile Chapter 3 Section 3.5RTEMS POSIX 1003.1 Compliance Guide, Release 5.1 (26th August 2020)

• cexpl() • cimag() • cimagf() • cimagl() • clog() • clogf() • clogl() • conj() • conjf() • conjl() • cpow() • cpowf() • cpowl() • cproj() • cprojf() • cprojl() • creal() • crealf() • creall() • csin() • csinf() • csinh() • csinhf() • csinhl() • csinl() • csqrt() • csqrtf() • csqrtl() • ctan() • ctanf() • ctanh() • ctanhf() • ctanhl() • ctanl()

3.5. 13 RTEMS POSIX 1003.1 Compliance Guide, Release 5.1 (26th August 2020)Chapter3 Section 3.6

3.6

The following methods and variables in are supported: • _tolower() • _toupper() • isalnum() • isalnum_l() • isalpha() • isalpha_l() • isascii() • isblank() • isblank_l() • iscntrl() • iscntrl_l() • isdigit() • isdigit_l() • isgraph() • isgraph_l() • islower() • islower_l() • isprint() • isprint_l() • ispunct() • ispunct_l() • isspace() • isspace_l() • isupper() • isupper_l() • isxdigit() • isxdigit_l() • toascii() • tolower() • tolower_l() • toupper() • toupper_l()

14 Chapter 3. RTEMS Complete Profile Chapter 3 Section 3.7RTEMS POSIX 1003.1 Compliance Guide, Release 5.1 (26th August 2020)

3.7

The following methods and variables in are supported: • posix_devctl()

3.7. 15 RTEMS POSIX 1003.1 Compliance Guide, Release 5.1 (26th August 2020)Chapter3 Section 3.8

3.8

The following methods and variables in are supported: • alphasort() • closedir() • fdopendir() • opendir() • readdir() • readdir_r() • rewinddir() • scandir() • seekdir() • telldir() The following methods and variables in are not supported: • dirfd()

16 Chapter 3. RTEMS Complete Profile Chapter 3 Section 3.9RTEMS POSIX 1003.1 Compliance Guide, Release 5.1 (26th August 2020)

3.9

The following methods and variables in are supported: • dlclose() • dlerror() • dlopen() • dlsym()

3.9. 17 RTEMS POSIX 1003.1 Compliance Guide, Release 5.1 (26th August 2020)Chapter3 Section 3.10

3.10

The following methods and variables in are supported: • errno

18 Chapter 3. RTEMS Complete Profile Chapter 3 Section 3.11RTEMS POSIX 1003.1 Compliance Guide, Release 5.1 (26th August 2020)

3.11

The following methods and variables in are supported: • creat() • fcntl() • open() The following methods and variables in are not supported: • openat() • posix_fadvise() • posix_fallocate() • posix_openpt()

3.11. 19 RTEMS POSIX 1003.1 Compliance Guide, Release 5.1 (26th August 2020)Chapter3 Section 3.12

3.12

The following methods and variables in are not supported: • feclearexcept() • fegetenv() • fegetexceptflag() • fegetround() • feholdexcept() • feraiseexcept() • fesetenv() • fesetexceptflag() • fesetround() • fetestexcept() • feupdateenv()

20 Chapter 3. RTEMS Complete Profile Chapter 3 Section 3.13RTEMS POSIX 1003.1 Compliance Guide, Release 5.1 (26th August 2020)

3.13

The following methods and variables in are not supported: • fmtmsg()

3.13. 21 RTEMS POSIX 1003.1 Compliance Guide, Release 5.1 (26th August 2020)Chapter3 Section 3.14

3.14

The following methods and variables in are supported: • fnmatch()

22 Chapter 3. RTEMS Complete Profile Chapter 3 Section 3.15RTEMS POSIX 1003.1 Compliance Guide, Release 5.1 (26th August 2020)

3.15

The following methods and variables in are not supported: • ftw() • nftw()

3.15. 23 RTEMS POSIX 1003.1 Compliance Guide, Release 5.1 (26th August 2020)Chapter3 Section 3.16

3.16

The following methods and variables in are supported: • glob() • globfree()

24 Chapter 3. RTEMS Complete Profile Chapter 3 Section 3.17RTEMS POSIX 1003.1 Compliance Guide, Release 5.1 (26th August 2020)

3.17

The following methods and variables in are supported: • endgrent() • getgrent() • getgrgid() • getgrgid_r() • getgrnam() • getgrnam_r() • setgrent()

3.17. 25 RTEMS POSIX 1003.1 Compliance Guide, Release 5.1 (26th August 2020)Chapter3 Section 3.18

3.18

The following methods and variables in are supported: • iconv() • iconv_close() • iconv_open()

26 Chapter 3. RTEMS Complete Profile Chapter 3 Section 3.19RTEMS POSIX 1003.1 Compliance Guide, Release 5.1 (26th August 2020)

3.19

The following methods and variables in are supported: • imaxabs() • imaxdiv() • strtoimax() • strtoumax() • wcstoimax() • wcstoumax()

3.19. 27 RTEMS POSIX 1003.1 Compliance Guide, Release 5.1 (26th August 2020)Chapter3 Section 3.20

3.20

The following methods and variables in are supported: • nl_langinfo() • nl_langinfo_l()

28 Chapter 3. RTEMS Complete Profile Chapter 3 Section 3.21RTEMS POSIX 1003.1 Compliance Guide, Release 5.1 (26th August 2020)

3.21

The following methods and variables in are supported: • basename() • dirname()

3.21. 29 RTEMS POSIX 1003.1 Compliance Guide, Release 5.1 (26th August 2020)Chapter3 Section 3.22

3.22

The following methods and variables in are supported: • duplocale() • freelocale() • localeconv() • newlocale() • setlocale() • uselocale()

30 Chapter 3. RTEMS Complete Profile Chapter 3 Section 3.23RTEMS POSIX 1003.1 Compliance Guide, Release 5.1 (26th August 2020)

3.23

The following methods and variables in are supported: • acos() • acosf() • acosh() • acoshf() • acoshl() • acosl() • asin() • asinf() • asinh() • asinhf() • asinhl() • asinl() • atan() • atan2() • atan2f() • atan2l() • atanf() • atanh() • atanhf() • atanhl() • atanl() • cbrt() • cbrtf() • cbrtl() • ceil() • ceilf() • ceill() • copysign() • copysignf() • copysignl() • cos() • cosf()

3.23. 31 RTEMS POSIX 1003.1 Compliance Guide, Release 5.1 (26th August 2020)Chapter3 Section 3.23

• cosh() • coshf() • coshl() • cosl() • erf() • erfc() • erfcf() • erfcl() • erff() • erfl() • exp() • exp2() • exp2f() • exp2l() • expf() • expl() • expm1() • expm1f() • expm1l() • fabs() • fabsf() • fabsl() • fdim() • fdimf() • fdiml() • floor() • floorf() • floorl() • fma() • fmaf() • fmal() • fmax() • fmaxf() • fmaxl()

32 Chapter 3. RTEMS Complete Profile Chapter 3 Section 3.23RTEMS POSIX 1003.1 Compliance Guide, Release 5.1 (26th August 2020)

• fmin() • fminf() • fminl() • fmod() • fmodf() • fmodl() • frexp() • frexpf() • frexpl() • hypot() • hypotf() • hypotl() • ilogb() • ilogbf() • ilogbl() • isinf() • isnan() • ldexp() • ldexpf() • ldexpl() • lgamma() • lgammaf() • lgammal() • llrint() • llrintf() • llrintl() • llround() • llroundf() • llroundl() • log() • log10() • log10f() • log10l() • log1p()

3.23. 33 RTEMS POSIX 1003.1 Compliance Guide, Release 5.1 (26th August 2020)Chapter3 Section 3.23

• log1pf() • log1pl() • log2() • log2f() • log2l() • logb() • logbf() • logbl() • logf() • logl() • lrint() • lrintf() • lrintl() • lround() • lroundf() • lroundl() • modf() • modff() • modfl() • nan() • nanf() • nanl() • nearbyint() • nearbyintf() • nearbyintl() • nextafter() • nextafterf() • nextafterl() • nexttoward() • nexttowardl() • pow() • powf() • powl() • remainder()

34 Chapter 3. RTEMS Complete Profile Chapter 3 Section 3.23RTEMS POSIX 1003.1 Compliance Guide, Release 5.1 (26th August 2020)

• remainderf() • remainderl() • remquo() • remquof() • remquol() • rint() • rintf() • rintl() • round() • roundf() • roundl() • scalb() • scalbln() • scalblnf() • scalblnl() • scalbn() • scalbnf() • scalbnl() • sin() • sinf() • sinh() • sinhf() • sinhl() • sinl() • sqrt() • sqrtf() • sqrtl() • tan() • tanf() • tanh() • tanhf() • tanhl() • tanl() • tgamma()

3.23. 35 RTEMS POSIX 1003.1 Compliance Guide, Release 5.1 (26th August 2020)Chapter3 Section 3.23

• tgammaf() • tgammal() • trunc() • truncf() • truncl() The following methods and variables in are not supported: • fpclassify() • isfinite() • isgreater() • isgreaterequal() • isless() • islessequal() • islessgreater() • isnormal() • isunordered() • j0() • j1() • jn() • nexttowardf() • signbit() • signgam • y0() • y1() • yn()

36 Chapter 3. RTEMS Complete Profile Chapter 3 Section 3.24RTEMS POSIX 1003.1 Compliance Guide, Release 5.1 (26th August 2020)

3.24

The following methods and variables in are not supported: • strfmon() • strfmon_l()

3.24. 37 RTEMS POSIX 1003.1 Compliance Guide, Release 5.1 (26th August 2020)Chapter3 Section 3.25

3.25

The following methods and variables in are supported: • mq_close() • mq_getattr() • mq_notify() • mq_open() • mq_receive() • mq_send() • mq_setattr() • mq_timedreceive() • mq_timedsend() • mq_unlink()

38 Chapter 3. RTEMS Complete Profile Chapter 3 Section 3.26RTEMS POSIX 1003.1 Compliance Guide, Release 5.1 (26th August 2020)

3.26

The following methods and variables in are supported: • dbm_clearerr() • dbm_close() • dbm_delete() • dbm_error() • dbm_fetch() • dbm_firstkey() • dbm_nextkey() • dbm_open() • dbm_store()

3.26. 39 RTEMS POSIX 1003.1 Compliance Guide, Release 5.1 (26th August 2020)Chapter3 Section 3.27

3.27

The following methods and variables in are supported: • if_freenameindex() • if_indextoname() • if_nameindex() • if_nametoindex()

40 Chapter 3. RTEMS Complete Profile Chapter 3 Section 3.28RTEMS POSIX 1003.1 Compliance Guide, Release 5.1 (26th August 2020)

3.28

The following methods and variables in are supported: • endhostent() • endnetent() • endprotoent() • endservent() • freeaddrinfo() • gai_strerror() • getaddrinfo() • gethostbyaddr() • gethostbyname() • gethostent() • getnameinfo() • getnetbyaddr() • getnetbyname() • getnetent() • getprotobyname() • getprotobynumber() • getprotoent() • getservbyname() • getservbyport() • getservent() • h_errno • sethostent() • setnetent() • setprotoent() • setservent()

3.28. 41 RTEMS POSIX 1003.1 Compliance Guide, Release 5.1 (26th August 2020)Chapter3 Section 3.29

3.29

The following methods and variables in are not supported: • catclose() • catgets() • catopen()

42 Chapter 3. RTEMS Complete Profile Chapter 3 Section 3.30RTEMS POSIX 1003.1 Compliance Guide, Release 5.1 (26th August 2020)

3.30

The following methods and variables in are not supported: • poll()

3.30. 43 RTEMS POSIX 1003.1 Compliance Guide, Release 5.1 (26th August 2020)Chapter3 Section 3.31

3.31

The following methods and variables in are supported: • pthread_attr_destroy() • pthread_attr_getdetachstate() • pthread_attr_getguardsize() • pthread_attr_getinheritsched() • pthread_attr_getschedparam() • pthread_attr_getschedpolicy() • pthread_attr_getscope() • pthread_attr_getstack() • pthread_attr_getstackaddr() • pthread_attr_getstacksize() • pthread_attr_init() • pthread_attr_setdetachstate() • pthread_attr_setguardsize() • pthread_attr_setinheritsched() • pthread_attr_setschedparam() • pthread_attr_setschedpolicy() • pthread_attr_setscope() • pthread_attr_setstack() • pthread_attr_setstackaddr() • pthread_attr_setstacksize() • pthread_barrier_destroy() • pthread_barrier_init() • pthread_barrier_wait() • pthread_barrierattr_destroy() • pthread_barrierattr_getpshared() • pthread_barrierattr_init() • pthread_barrierattr_setpshared() • pthread_cancel() • pthread_cleanup_pop() • pthread_cleanup_push() • pthread_cond_broadcast() • pthread_cond_destroy()

44 Chapter 3. RTEMS Complete Profile Chapter 3 Section 3.31RTEMS POSIX 1003.1 Compliance Guide, Release 5.1 (26th August 2020)

• pthread_cond_init() • pthread_cond_signal() • pthread_cond_timedwait() • pthread_cond_wait() • pthread_condattr_destroy() • pthread_condattr_getclock() • pthread_condattr_getpshared() • pthread_condattr_init() • pthread_condattr_setclock() • pthread_condattr_setpshared() • pthread_create() • pthread_detach() • pthread_equal() • pthread_exit() • pthread_getconcurrency() • pthread_getschedparam() • pthread_getspecific() • pthread_join() • pthread_key_create() • pthread_key_delete() • pthread_mutex_destroy() • pthread_mutex_getprioceiling() • pthread_mutex_init() • pthread_mutex_lock() • pthread_mutex_setprioceiling() • pthread_mutex_timedlock() • pthread_mutex_trylock() • pthread_mutex_unlock() • pthread_mutexattr_destroy() • pthread_mutexattr_getprioceiling() • pthread_mutexattr_getprotocol() • pthread_mutexattr_getpshared() • pthread_mutexattr_gettype() • pthread_mutexattr_init()

3.31. 45 RTEMS POSIX 1003.1 Compliance Guide, Release 5.1 (26th August 2020)Chapter3 Section 3.31

• pthread_mutexattr_setprioceiling() • pthread_mutexattr_setprotocol() • pthread_mutexattr_setpshared() • pthread_mutexattr_settype() • pthread_once() • pthread_rwlock_destroy() • pthread_rwlock_init() • pthread_rwlock_rdlock() • pthread_rwlock_timedrdlock() • pthread_rwlock_timedwrlock() • pthread_rwlock_tryrdlock() • pthread_rwlock_trywrlock() • pthread_rwlock_unlock() • pthread_rwlock_wrlock() • pthread_rwlockattr_destroy() • pthread_rwlockattr_getpshared() • pthread_rwlockattr_init() • pthread_rwlockattr_setpshared() • pthread_self() • pthread_setcancelstate() • pthread_setcanceltype() • pthread_setconcurrency() • pthread_setschedparam() • pthread_setschedprio() • pthread_setspecific() • pthread_spin_destroy() • pthread_spin_init() • pthread_spin_lock() • pthread_spin_trylock() • pthread_spin_unlock() • pthread_testcancel() The following methods in are implemented as stubs returning -1 and setting errno to ENOSYS: • pthread_atfork() • pthread_getcpuclockid()

46 Chapter 3. RTEMS Complete Profile Chapter 3 Section 3.31RTEMS POSIX 1003.1 Compliance Guide, Release 5.1 (26th August 2020)

The following methods and variables in are not supported: • pthread_mutex_consistent() • pthread_mutexattr_getrobust() • pthread_mutexattr_setrobust()

3.31. 47 RTEMS POSIX 1003.1 Compliance Guide, Release 5.1 (26th August 2020)Chapter3 Section 3.32

3.32

The following methods and variables in are supported: • endpwent() • getpwent() • getpwnam() • getpwnam_r() • getpwuid() • getpwuid_r() • setpwent()

48 Chapter 3. RTEMS Complete Profile Chapter 3 Section 3.33RTEMS POSIX 1003.1 Compliance Guide, Release 5.1 (26th August 2020)

3.33

The following methods and variables in are supported: • regcomp() • regerror() • regexec() • regfree()

3.33. 49 RTEMS POSIX 1003.1 Compliance Guide, Release 5.1 (26th August 2020)Chapter3 Section 3.34

3.34

The following methods and variables in are supported: • sched_get_priority_max() • sched_get_priority_min() • sched_rr_get_interval() • sched_yield() The following methods in are implemented as stubs returning -1 and setting errno to ENOSYS: • sched_getparam() • sched_getscheduler() • sched_setparam() • sched_setscheduler()

50 Chapter 3. RTEMS Complete Profile Chapter 3 Section 3.35RTEMS POSIX 1003.1 Compliance Guide, Release 5.1 (26th August 2020)

3.35

The following methods and variables in are supported: • hcreate() • hdestroy() • hsearch() • tdelete() • tfind() • tsearch() • twalk() The following methods and variables in are not supported: • insque() • lfind() • lsearch() • remque()

3.35. 51 RTEMS POSIX 1003.1 Compliance Guide, Release 5.1 (26th August 2020)Chapter3 Section 3.36

3.36

The following methods and variables in are supported: • sem_close() • sem_destroy() • sem_getvalue() • sem_init() • sem_open() • sem_post() • sem_timedwait() • sem_trywait() • sem_unlink() • sem_wait()

52 Chapter 3. RTEMS Complete Profile Chapter 3 Section 3.37RTEMS POSIX 1003.1 Compliance Guide, Release 5.1 (26th August 2020)

3.37

The following methods and variables in are supported: • longjmp() • setjmp() • siglongjmp() • sigsetjmp() The following methods and variables in are not supported: • _longjmp() • _setjmp()

3.37. 53 RTEMS POSIX 1003.1 Compliance Guide, Release 5.1 (26th August 2020)Chapter3 Section 3.38

3.38

The following methods and variables in are supported: • bsd_signal() • kill() • psignal() • pthread_kill() • pthread_sigmask() • raise() • sigaction() • sigaddset() • sigdelset() • sigemptyset() • sigfillset() • sigismember() • signal() • sigpending() • sigprocmask() • sigqueue() • sigsuspend() • sigtimedwait() • sigwait() • sigwaitinfo() The following methods and variables in are not supported: • killpg() • psiginfo() • sigaltstack() • sighold() • sigignore() • siginterrupt() • sigpause() • sigrelse() • sigset()

54 Chapter 3. RTEMS Complete Profile Chapter 3 Section 3.39RTEMS POSIX 1003.1 Compliance Guide, Release 5.1 (26th August 2020)

3.39

The following methods and variables in are not supported: • posix_spawn() • posix_spawn_file_actions_addclose() • posix_spawn_file_actions_adddup2() • posix_spawn_file_actions_addopen() • posix_spawn_file_actions_destroy() • posix_spawn_file_actions_init() • posix_spawnattr_destroy() • posix_spawnattr_getflags() • posix_spawnattr_getpgroup() • posix_spawnattr_getschedparam() • posix_spawnattr_getschedpolicy() • posix_spawnattr_getsigdefault() • posix_spawnattr_getsigmask() • posix_spawnattr_init() • posix_spawnattr_setflags() • posix_spawnattr_setpgroup() • posix_spawnattr_setschedparam() • posix_spawnattr_setschedpolicy() • posix_spawnattr_setsigdefault() • posix_spawnattr_setsigmask() • posix_spawnp()

3.39. 55 RTEMS POSIX 1003.1 Compliance Guide, Release 5.1 (26th August 2020)Chapter3 Section 3.40

3.40

The following methods and variables in are supported: • va_arg() • va_copy() • va_end() • va_start()

56 Chapter 3. RTEMS Complete Profile Chapter 3 Section 3.41RTEMS POSIX 1003.1 Compliance Guide, Release 5.1 (26th August 2020)

3.41

The following methods and variables in are supported: • offsetof()

3.41. 57 RTEMS POSIX 1003.1 Compliance Guide, Release 5.1 (26th August 2020)Chapter3 Section 3.42

3.42

The following methods and variables in are supported: • clearerr() • ctermid() • dprintf() • fclose() • fdopen() • feof() • ferror() • fflush() • fgetc() • fgetpos() • fgets() • fileno() • flockfile() • fmemopen() • fopen() • fprintf() • fputc() • fputs() • fread() • freopen() • fscanf() • fseek() • fseeko() • fsetpos() • ftell() • ftello() • ftrylockfile() • funlockfile() • fwrite() • getc() • getc_unlocked() • getchar()

58 Chapter 3. RTEMS Complete Profile Chapter 3 Section 3.42RTEMS POSIX 1003.1 Compliance Guide, Release 5.1 (26th August 2020)

• getchar_unlocked() • gets() • open_memstream() • perror() • printf() • putc() • putc_unlocked() • putchar() • putchar_unlocked() • puts() • remove() • rename() • rewind() • scanf() • setbuf() • setvbuf() • snprintf() • sprintf() • sscanf() • stderr • stdin • stdout • tempnam() • tmpfile() • tmpnam() • ungetc() • vdprintf() • vfprintf() • vfscanf() • vprintf() • vscanf() • vsnprintf() • vsprintf() • vsscanf()

3.42. 59 RTEMS POSIX 1003.1 Compliance Guide, Release 5.1 (26th August 2020)Chapter3 Section 3.42

The following methods and variables in are not supported: • getdelim() • getline() • pclose() • popen() • renameat()

60 Chapter 3. RTEMS Complete Profile Chapter 3 Section 3.43RTEMS POSIX 1003.1 Compliance Guide, Release 5.1 (26th August 2020)

3.43

The following methods and variables in are supported: • _Exit() • a64l() • abort() • abs() • atexit() • atof() • atoi() • atol() • atoll() • bsearch() • calloc() • div() • drand48() • ecvt() • erand48() • exit() • fcvt() • free() • gcvt() • getenv() • getsubopt() • jrand48() • l64a() • labs() • lcong48() • ldiv() • llabs() • lldiv() • lrand48() • malloc() • mblen() • mbstowcs()

3.43. 61 RTEMS POSIX 1003.1 Compliance Guide, Release 5.1 (26th August 2020)Chapter3 Section 3.43

• mbtowc() • mkdtemp() • mkstemp() • mrand48() • nrand48() • posix_memalign() • putenv() • qsort() • rand() • rand_r() • random() • realloc() • realpath() • seed48() • setenv() • srand() • srand48() • srandom() • strtod() • strtof() • strtol() • strtold() • strtoll() • strtoul() • strtoull() • unsetenv() • wcstombs() • wctomb() The following methods in are implemented as stubs returning -1 and setting errno to ENOSYS: • system() The following methods and variables in are not supported: • grantpt() • initstate() • ptsname()

62 Chapter 3. RTEMS Complete Profile Chapter 3 Section 3.43RTEMS POSIX 1003.1 Compliance Guide, Release 5.1 (26th August 2020)

• setkey() • setstate() • unlockpt()

3.43. 63 RTEMS POSIX 1003.1 Compliance Guide, Release 5.1 (26th August 2020)Chapter3 Section 3.44

3.44

The following methods and variables in are supported: • memccpy() • memchr() • memcmp() • memcpy() • memmove() • memset() • stpcpy() • stpncpy() • strcat() • strchr() • strcmp() • strcoll() • strcoll_l() • strcpy() • strcspn() • strdup() • strerror() • strerror_l() • strerror_r() • strlen() • strncat() • strncmp() • strncpy() • strndup() • strnlen() • strpbrk() • strrchr() • strsignal() • strspn() • strstr() • strtok() • strtok_r()

64 Chapter 3. RTEMS Complete Profile Chapter 3 Section 3.44RTEMS POSIX 1003.1 Compliance Guide, Release 5.1 (26th August 2020)

• strxfrm() • strxfrm_l()

3.44. 65 RTEMS POSIX 1003.1 Compliance Guide, Release 5.1 (26th August 2020)Chapter3 Section 3.45

3.45

The following methods and variables in are supported: • bcmp() • bcopy() • ffs() • index() • rindex() • strcasecmp() • strcasecmp_l() • strncasecmp() • strncasecmp_l()

66 Chapter 3. RTEMS Complete Profile Chapter 3 Section 3.46RTEMS POSIX 1003.1 Compliance Guide, Release 5.1 (26th August 2020)

3.46

The following methods and variables in are supported: • ioctl() The following methods and variables in are not supported: • fattach() • fdetach() • getmsg() • getpmsg() • isastream() • putmsg() • putpmsg()

3.46. 67 RTEMS POSIX 1003.1 Compliance Guide, Release 5.1 (26th August 2020)Chapter3 Section 3.47

3.47

The following methods and variables in are not supported: • ftok()

68 Chapter 3. RTEMS Complete Profile Chapter 3 Section 3.48RTEMS POSIX 1003.1 Compliance Guide, Release 5.1 (26th August 2020)

3.48

The following methods and variables in are supported: • mlock() • mlockall() • mmap() • mprotect() • msync() • munlock() • munlockall() • munmap() • posix_madvise() • shm_open() • shm_unlink() The following methods and variables in are not supported: • posix_mem_offset() • posix_typed_mem_get_info() • posix_typed_mem_open()

3.48. 69 RTEMS POSIX 1003.1 Compliance Guide, Release 5.1 (26th August 2020)Chapter3 Section 3.49

3.49

The following methods and variables in are not supported: • msgctl() • msgget() • msgrcv() • msgsnd()

70 Chapter 3. RTEMS Complete Profile Chapter 3 Section 3.50RTEMS POSIX 1003.1 Compliance Guide, Release 5.1 (26th August 2020)

3.50

The following methods and variables in are supported: • getrusage() The following methods and variables in are not supported: • getpriority() • getrlimit() • setpriority() • setrlimit()

3.50. 71 RTEMS POSIX 1003.1 Compliance Guide, Release 5.1 (26th August 2020)Chapter3 Section 3.51

3.51

The following methods and variables in are supported: • FD_CLR() • FD_ISSET() • FD_SET() • FD_ZERO() • select() The following methods and variables in are not supported: • pselect()

72 Chapter 3. RTEMS Complete Profile Chapter 3 Section 3.52RTEMS POSIX 1003.1 Compliance Guide, Release 5.1 (26th August 2020)

3.52

The following methods and variables in are not supported: • semctl() • semget() • semop()

3.52. 73 RTEMS POSIX 1003.1 Compliance Guide, Release 5.1 (26th August 2020)Chapter3 Section 3.53

3.53

The following methods and variables in are not supported: • shmat() • shmctl() • shmdt() • shmget()

74 Chapter 3. RTEMS Complete Profile Chapter 3 Section 3.54RTEMS POSIX 1003.1 Compliance Guide, Release 5.1 (26th August 2020)

3.54

The following methods and variables in are supported: • accept() • bind() • connect() • getpeername() • getsockname() • getsockopt() • listen() • recv() • recvfrom() • recvmsg() • send() • sendmsg() • sendto() • setsockopt() • shutdown() • socket() • socketpair() The following methods and variables in are not supported: • sockatmark()

3.54. 75 RTEMS POSIX 1003.1 Compliance Guide, Release 5.1 (26th August 2020)Chapter3 Section 3.55

3.55

The following methods and variables in are supported: • chmod() • fchmod() • fstat() • lstat() • mkdir() • mkfifo() • mknod() • stat() • umask() The following methods and variables in are not supported: • fchmodat() • fstatat() • futimens() • mkdirat() • mkfifoat() • mknodat() • utimensat()

76 Chapter 3. RTEMS Complete Profile Chapter 3 Section 3.56RTEMS POSIX 1003.1 Compliance Guide, Release 5.1 (26th August 2020)

3.56

The following methods and variables in are supported: • statvfs() The following methods and variables in are not supported: • fstatvfs()

3.56. 77 RTEMS POSIX 1003.1 Compliance Guide, Release 5.1 (26th August 2020)Chapter3 Section 3.57

3.57

The following methods and variables in are supported: • gettimeofday() • times() • utimes() The following methods in are implemented as stubs returning -1 and setting errno to ENOSYS: • getitimer() • setitimer()

78 Chapter 3. RTEMS Complete Profile Chapter 3 Section 3.58RTEMS POSIX 1003.1 Compliance Guide, Release 5.1 (26th August 2020)

3.58

The following methods and variables in are supported: • readv() • writev()

3.58. 79 RTEMS POSIX 1003.1 Compliance Guide, Release 5.1 (26th August 2020)Chapter3 Section 3.59

3.59

The following methods and variables in are supported: • uname()

80 Chapter 3. RTEMS Complete Profile Chapter 3 Section 3.60RTEMS POSIX 1003.1 Compliance Guide, Release 5.1 (26th August 2020)

3.60

The following methods and variables in are supported: • wait() • waitpid() The following methods and variables in are not supported: • waitid()

3.60. 81 RTEMS POSIX 1003.1 Compliance Guide, Release 5.1 (26th August 2020)Chapter3 Section 3.61

3.61

The following methods and variables in are not supported: • closelog() • openlog() • setlogmask() • syslog()

82 Chapter 3. RTEMS Complete Profile Chapter 3 Section 3.62RTEMS POSIX 1003.1 Compliance Guide, Release 5.1 (26th August 2020)

3.62

The following methods and variables in are supported: • cfgetispeed() • cfgetospeed() • cfsetispeed() • cfsetospeed() • tcdrain() • tcflow() • tcflush() • tcgetattr() • tcsendbreak() • tcsetattr() The following methods and variables in are not supported: • tcgetsid()

3.62. 83 RTEMS POSIX 1003.1 Compliance Guide, Release 5.1 (26th August 2020)Chapter3 Section 3.63

3.63

The following methods and variables in are supported: • call_once() • cnd_broadcast() • cnd_destroy() • cnd_init() • cnd_signal() • cnd_timedwait() • cnd_wait() • mtx_destroy() • mtx_init() • mtx_lock() • mtx_timedlock() • mtx_trylock() • mtx_unlock() • thrd_create() • thrd_current() • thrd_detach() • thrd_equal() • thrd_exit() • thrd_join() • thrd_sleep() • thrd_yield() • tss_create() • tss_delete() • tss_get() • tss_set()

84 Chapter 3. RTEMS Complete Profile Chapter 3 Section 3.64RTEMS POSIX 1003.1 Compliance Guide, Release 5.1 (26th August 2020)

3.64

The following methods and variables in are supported: • asctime() • asctime_r() • clock() • clock_getres() • clock_gettime() • clock_nanosleep() • clock_settime() • ctime() • ctime_r() • difftime() • gmtime() • gmtime_r() • localtime() • localtime_r() • mktime() • nanosleep() • strftime() • strftime_l() • strptime() • time() • timer_create() • timer_delete() • timer_getoverrun() • timer_gettime() • timer_settime() • timezone • tzname • tzset() The following methods in are implemented as stubs returning -1 and setting errno to ENOSYS: • clock_getcpuclockid() The following methods and variables in are not supported:

3.64. 85 RTEMS POSIX 1003.1 Compliance Guide, Release 5.1 (26th August 2020)Chapter3 Section 3.64

• daylight • getdate() • getdate_err

86 Chapter 3. RTEMS Complete Profile Chapter 3 Section 3.65RTEMS POSIX 1003.1 Compliance Guide, Release 5.1 (26th August 2020)

3.65

The following methods and variables in are not supported: • posix_trace_attr_destroy() • posix_trace_attr_getclockres() • posix_trace_attr_getcreatetime() • posix_trace_attr_getgenversion() • posix_trace_attr_getinherited() • posix_trace_attr_getlogfullpolicy() • posix_trace_attr_getlogsize() • posix_trace_attr_getmaxdatasize() • posix_trace_attr_getmaxsystemeventsize() • posix_trace_attr_getmaxusereventsize() • posix_trace_attr_getname() • posix_trace_attr_getstreamfullpolicy() • posix_trace_attr_getstreamsize() • posix_trace_attr_init() • posix_trace_attr_setinherited() • posix_trace_attr_setlogfullpolicy() • posix_trace_attr_setlogsize() • posix_trace_attr_setmaxdatasize() • posix_trace_attr_setname() • posix_trace_attr_setstreamfullpolicy() • posix_trace_attr_setstreamsize() • posix_trace_clear() • posix_trace_close() • posix_trace_create() • posix_trace_create_withlog() • posix_trace_event() • posix_trace_eventid_equal() • posix_trace_eventid_get_name() • posix_trace_eventid_open() • posix_trace_eventset_add() • posix_trace_eventset_del() • posix_trace_eventset_empty()

3.65. 87 RTEMS POSIX 1003.1 Compliance Guide, Release 5.1 (26th August 2020)Chapter3 Section 3.65

• posix_trace_eventset_fill() • posix_trace_eventset_ismember() • posix_trace_eventtypelist_getnext_id() • posix_trace_eventtypelist_rewind() • posix_trace_flush() • posix_trace_get_attr() • posix_trace_get_filter() • posix_trace_get_status() • posix_trace_getnext_event() • posix_trace_open() • posix_trace_rewind() • posix_trace_set_filter() • posix_trace_shutdown() • posix_trace_start() • posix_trace_stop() • posix_trace_timedgetnext_event() • posix_trace_trid_eventid_open() • posix_trace_trygetnext_event()

88 Chapter 3. RTEMS Complete Profile Chapter 3 Section 3.66RTEMS POSIX 1003.1 Compliance Guide, Release 5.1 (26th August 2020)

3.66

The following methods and variables in are not supported: • ulimit()

3.66. 89 RTEMS POSIX 1003.1 Compliance Guide, Release 5.1 (26th August 2020)Chapter3 Section 3.67

3.67

The following methods and variables in are supported: • _exit() • access() • alarm() • chdir() • chown() • close() • dup() • dup2() • environ • fchdir() • fchown() • fdatasync() • fpathconf() • fsync() • ftruncate() • getcwd() • getegid() • geteuid() • getgid() • getgroups() • gethostname() • getlogin() • getlogin_r() • getopt() • getpgrp() • getpid() • getppid() • getuid() • isatty() • lchown() • link() • lseek()

90 Chapter 3. RTEMS Complete Profile Chapter 3 Section 3.67RTEMS POSIX 1003.1 Compliance Guide, Release 5.1 (26th August 2020)

• optarg • opterr • optind • optopt • pathconf() • pause() • pipe() • pread() • pwrite() • read() • readlink() • rmdir() • setegid() • seteuid() • setgid() • setpgid() • setsid() • setuid() • sleep() • swab() • symlink() • sync() • sysconf() • tcgetpgrp() • tcsetpgrp() • truncate() • ttyname() • ttyname_r() • ualarm() • unlink() • usleep() • write() The following methods in are implemented as stubs returning -1 and setting errno to ENOSYS: • execl()

3.67. 91 RTEMS POSIX 1003.1 Compliance Guide, Release 5.1 (26th August 2020)Chapter3 Section 3.67

• execle() • execlp() • execv() • execve() • execvp() • fork() The following methods and variables in are not supported: • confstr() • crypt() • encrypt() • faccessat() • fchownat() • fexecve() • gethostid() • getpgid() • getsid() • linkat() • lockf() • nice() • readlinkat() • setpgrp() • setregid() • setreuid() • symlinkat() • unlinkat()

92 Chapter 3. RTEMS Complete Profile Chapter 3 Section 3.68RTEMS POSIX 1003.1 Compliance Guide, Release 5.1 (26th August 2020)

3.68

The following methods and variables in are supported: • utime()

3.68. 93 RTEMS POSIX 1003.1 Compliance Guide, Release 5.1 (26th August 2020)Chapter3 Section 3.69

3.69

The following methods and variables in are not supported: • endutxent() • getutxent() • getutxid() • getutxline() • pututxline() • setutxent()

94 Chapter 3. RTEMS Complete Profile Chapter 3 Section 3.70RTEMS POSIX 1003.1 Compliance Guide, Release 5.1 (26th August 2020)

3.70

The following methods and variables in are supported: • btowc() • fgetwc() • fgetws() • fputwc() • fputws() • fwide() • fwprintf() • fwscanf() • getwc() • getwchar() • mbrlen() • mbrtowc() • mbsinit() • mbsnrtowcs() • mbsrtowcs() • open_wmemstream() • putwc() • putwchar() • swprintf() • swscanf() • ungetwc() • vfwprintf() • vfwscanf() • vswprintf() • vswscanf() • vwprintf() • vwscanf() • wcpcpy() • wcpncpy() • wcrtomb() • wcscasecmp() • wcscasecmp_l()

3.70. 95 RTEMS POSIX 1003.1 Compliance Guide, Release 5.1 (26th August 2020)Chapter3 Section 3.70

• wcscat() • wcschr() • wcscmp() • wcscoll() • wcscoll_l() • wcscpy() • wcscspn() • wcsdup() • wcsftime() • wcslen() • wcsncasecmp() • wcsncat() • wcsncmp() • wcsncpy() • wcsnlen() • wcsnrtombs() • wcspbrk() • wcsrchr() • wcsrtombs() • wcsspn() • wcsstr() • wcstod() • wcstof() • wcstok() • wcstol() • wcstold() • wcstoll() • wcstoul() • wcstoull() • wcswidth() • wcsxfrm() • wcsxfrm_l() • wctob() • wcwidth()

96 Chapter 3. RTEMS Complete Profile Chapter 3 Section 3.70RTEMS POSIX 1003.1 Compliance Guide, Release 5.1 (26th August 2020)

• wmemchr() • wmemcmp() • wmemcpy() • wmemmove() • wmemset() • wprintf() • wscanf() The following methods and variables in are not supported: • wcsncasemcp_l()

3.70. 97 RTEMS POSIX 1003.1 Compliance Guide, Release 5.1 (26th August 2020)Chapter3 Section 3.71

3.71

The following methods and variables in are supported: • iswalnum() • iswalnum_l() • iswalpha() • iswalpha_l() • iswblank() • iswblank_l() • iswcntrl() • iswcntrl_l() • iswctype() • iswctype_l() • iswdigit() • iswdigit_l() • iswgraph() • iswgraph_l() • iswlower() • iswlower_l() • iswprint() • iswprint_l() • iswpunct() • iswpunct_l() • iswspace() • iswspace_l() • iswupper() • iswupper_l() • iswxdigit() • iswxdigit_l() • towctrans() • towctrans_l() • towlower() • towlower_l() • towupper() • towupper_l()

98 Chapter 3. RTEMS Complete Profile Chapter 3 Section 3.71RTEMS POSIX 1003.1 Compliance Guide, Release 5.1 (26th August 2020)

• wctrans() • wctrans_l() • wctype() • wctype_l()

3.71. 99 RTEMS POSIX 1003.1 Compliance Guide, Release 5.1 (26th August 2020)Chapter3 Section 3.72

3.72

The following methods and variables in are not supported: • wordexp() • wordfree()

100 Chapter 3. RTEMS Complete Profile CHAPTER FOUR

POSIX-2008

This chapter has a subsection per header file to detail the methods provided by RTEMS that are in that header file.

101 RTEMS POSIX 1003.1 Compliance Guide, Release 5.1 (26th August 2020)Chapter4 Section 4.1

4.1 Summary

The follow table summarizes alignment with the POSIX-2008 standard:

Supported 959 ENOSYS 19 Not supported 216

102 Chapter 4. POSIX-2008 Chapter 4 Section 4.2RTEMS POSIX 1003.1 Compliance Guide, Release 5.1 (26th August 2020)

4.2

The following methods and variables in are supported: • aio_cancel() • aio_error() • aio_fsync() • aio_read() • aio_return() • aio_write() The following methods in are implemented as stubs returning -1 and setting errno to ENOSYS: • aio_suspend() • lio_listio()

4.2. 103 RTEMS POSIX 1003.1 Compliance Guide, Release 5.1 (26th August 2020)Chapter4 Section 4.3

4.3

The following methods and variables in are supported: • htonl() • htons() • inet_addr() • inet_ntoa() • inet_ntop() • inet_pton() • ntohl() • ntohs()

104 Chapter 4. POSIX-2008 Chapter 4 Section 4.4RTEMS POSIX 1003.1 Compliance Guide, Release 5.1 (26th August 2020)

4.4

The following methods and variables in are supported: • assert()

4.4. 105 RTEMS POSIX 1003.1 Compliance Guide, Release 5.1 (26th August 2020)Chapter4 Section 4.5

4.5

The following methods and variables in are supported: • cabs() • cabsf() • cabsl() • cacos() • cacosf() • cacosh() • cacoshf() • cacoshl() • cacosl() • carg() • cargf() • cargl() • casin() • casinf() • casinh() • casinhf() • casinhl() • casinl() • catan() • catanf() • catanh() • catanhf() • catanhl() • catanl() • ccos() • ccosf() • ccosh() • ccoshf() • ccoshl() • ccosl() • cexp() • cexpf()

106 Chapter 4. POSIX-2008 Chapter 4 Section 4.5RTEMS POSIX 1003.1 Compliance Guide, Release 5.1 (26th August 2020)

• cexpl() • cimag() • cimagf() • cimagl() • clog() • clogf() • clogl() • conj() • conjf() • conjl() • cpow() • cpowf() • cpowl() • cproj() • cprojf() • cprojl() • creal() • crealf() • creall() • csin() • csinf() • csinh() • csinhf() • csinhl() • csinl() • csqrt() • csqrtf() • csqrtl() • ctan() • ctanf() • ctanh() • ctanhf() • ctanhl() • ctanl()

4.5. 107 RTEMS POSIX 1003.1 Compliance Guide, Release 5.1 (26th August 2020)Chapter4 Section 4.6

4.6

The following methods and variables in are supported: • _tolower() • _toupper() • isalnum() • isalnum_l() • isalpha() • isalpha_l() • isascii() • isblank() • isblank_l() • iscntrl() • iscntrl_l() • isdigit() • isdigit_l() • isgraph() • isgraph_l() • islower() • islower_l() • isprint() • isprint_l() • ispunct() • ispunct_l() • isspace() • isspace_l() • isupper() • isupper_l() • isxdigit() • isxdigit_l() • toascii() • tolower() • tolower_l() • toupper() • toupper_l()

108 Chapter 4. POSIX-2008 Chapter 4 Section 4.7RTEMS POSIX 1003.1 Compliance Guide, Release 5.1 (26th August 2020)

4.7

The following methods and variables in are supported: • alphasort() • closedir() • fdopendir() • opendir() • readdir() • readdir_r() • rewinddir() • scandir() • seekdir() • telldir() The following methods and variables in are not supported: • dirfd()

4.7. 109 RTEMS POSIX 1003.1 Compliance Guide, Release 5.1 (26th August 2020)Chapter4 Section 4.8

4.8

The following methods and variables in are supported: • dlclose() • dlerror() • dlopen() • dlsym()

110 Chapter 4. POSIX-2008 Chapter 4 Section 4.9RTEMS POSIX 1003.1 Compliance Guide, Release 5.1 (26th August 2020)

4.9

The following methods and variables in are supported: • errno

4.9. 111 RTEMS POSIX 1003.1 Compliance Guide, Release 5.1 (26th August 2020)Chapter4 Section 4.10

4.10

The following methods and variables in are supported: • creat() • fcntl() • open() The following methods and variables in are not supported: • openat() • posix_fadvise() • posix_fallocate() • posix_openpt()

112 Chapter 4. POSIX-2008 Chapter 4 Section 4.11RTEMS POSIX 1003.1 Compliance Guide, Release 5.1 (26th August 2020)

4.11

The following methods and variables in are not supported: • feclearexcept() • fegetenv() • fegetexceptflag() • fegetround() • feholdexcept() • feraiseexcept() • fesetenv() • fesetexceptflag() • fesetround() • fetestexcept() • feupdateenv()

4.11. 113 RTEMS POSIX 1003.1 Compliance Guide, Release 5.1 (26th August 2020)Chapter4 Section 4.12

4.12

The following methods and variables in are not supported: • fmtmsg()

114 Chapter 4. POSIX-2008 Chapter 4 Section 4.13RTEMS POSIX 1003.1 Compliance Guide, Release 5.1 (26th August 2020)

4.13

The following methods and variables in are supported: • fnmatch()

4.13. 115 RTEMS POSIX 1003.1 Compliance Guide, Release 5.1 (26th August 2020)Chapter4 Section 4.14

4.14

The following methods and variables in are not supported: • ftw() • nftw()

116 Chapter 4. POSIX-2008 Chapter 4 Section 4.15RTEMS POSIX 1003.1 Compliance Guide, Release 5.1 (26th August 2020)

4.15

The following methods and variables in are supported: • glob() • globfree()

4.15. 117 RTEMS POSIX 1003.1 Compliance Guide, Release 5.1 (26th August 2020)Chapter4 Section 4.16

4.16

The following methods and variables in are supported: • endgrent() • getgrent() • getgrgid() • getgrgid_r() • getgrnam() • getgrnam_r() • setgrent()

118 Chapter 4. POSIX-2008 Chapter 4 Section 4.17RTEMS POSIX 1003.1 Compliance Guide, Release 5.1 (26th August 2020)

4.17

The following methods and variables in are supported: • iconv() • iconv_close() • iconv_open()

4.17. 119 RTEMS POSIX 1003.1 Compliance Guide, Release 5.1 (26th August 2020)Chapter4 Section 4.18

4.18

The following methods and variables in are supported: • imaxabs() • imaxdiv() • strtoimax() • strtoumax() • wcstoimax() • wcstoumax()

120 Chapter 4. POSIX-2008 Chapter 4 Section 4.19RTEMS POSIX 1003.1 Compliance Guide, Release 5.1 (26th August 2020)

4.19

The following methods and variables in are supported: • nl_langinfo() • nl_langinfo_l()

4.19. 121 RTEMS POSIX 1003.1 Compliance Guide, Release 5.1 (26th August 2020)Chapter4 Section 4.20

4.20

The following methods and variables in are supported: • basename() • dirname()

122 Chapter 4. POSIX-2008 Chapter 4 Section 4.21RTEMS POSIX 1003.1 Compliance Guide, Release 5.1 (26th August 2020)

4.21

The following methods and variables in are supported: • duplocale() • freelocale() • localeconv() • newlocale() • setlocale() • uselocale()

4.21. 123 RTEMS POSIX 1003.1 Compliance Guide, Release 5.1 (26th August 2020)Chapter4 Section 4.22

4.22

The following methods and variables in are supported: • acos() • acosf() • acosh() • acoshf() • acoshl() • acosl() • asin() • asinf() • asinh() • asinhf() • asinhl() • asinl() • atan() • atan2() • atan2f() • atan2l() • atanf() • atanh() • atanhf() • atanhl() • atanl() • cbrt() • cbrtf() • cbrtl() • ceil() • ceilf() • ceill() • copysign() • copysignf() • copysignl() • cos() • cosf()

124 Chapter 4. POSIX-2008 Chapter 4 Section 4.22RTEMS POSIX 1003.1 Compliance Guide, Release 5.1 (26th August 2020)

• cosh() • coshf() • coshl() • cosl() • erf() • erfc() • erfcf() • erfcl() • erff() • erfl() • exp() • exp2() • exp2f() • exp2l() • expf() • expl() • expm1() • expm1f() • expm1l() • fabs() • fabsf() • fabsl() • fdim() • fdimf() • fdiml() • floor() • floorf() • floorl() • fma() • fmaf() • fmal() • fmax() • fmaxf() • fmaxl()

4.22. 125 RTEMS POSIX 1003.1 Compliance Guide, Release 5.1 (26th August 2020)Chapter4 Section 4.22

• fmin() • fminf() • fminl() • fmod() • fmodf() • fmodl() • frexp() • frexpf() • frexpl() • hypot() • hypotf() • hypotl() • ilogb() • ilogbf() • ilogbl() • isinf() • isnan() • ldexp() • ldexpf() • ldexpl() • lgamma() • lgammaf() • lgammal() • llrint() • llrintf() • llrintl() • llround() • llroundf() • llroundl() • log() • log10() • log10f() • log10l() • log1p()

126 Chapter 4. POSIX-2008 Chapter 4 Section 4.22RTEMS POSIX 1003.1 Compliance Guide, Release 5.1 (26th August 2020)

• log1pf() • log1pl() • log2() • log2f() • log2l() • logb() • logbf() • logbl() • logf() • logl() • lrint() • lrintf() • lrintl() • lround() • lroundf() • lroundl() • modf() • modff() • modfl() • nan() • nanf() • nanl() • nearbyint() • nearbyintf() • nearbyintl() • nextafter() • nextafterf() • nextafterl() • nexttoward() • nexttowardl() • pow() • powf() • powl() • remainder()

4.22. 127 RTEMS POSIX 1003.1 Compliance Guide, Release 5.1 (26th August 2020)Chapter4 Section 4.22

• remainderf() • remainderl() • remquo() • remquof() • remquol() • rint() • rintf() • rintl() • round() • roundf() • roundl() • scalbln() • scalblnf() • scalblnl() • scalbn() • scalbnf() • scalbnl() • sin() • sinf() • sinh() • sinhf() • sinhl() • sinl() • sqrt() • sqrtf() • sqrtl() • tan() • tanf() • tanh() • tanhf() • tanhl() • tanl() • tgamma() • tgammaf()

128 Chapter 4. POSIX-2008 Chapter 4 Section 4.22RTEMS POSIX 1003.1 Compliance Guide, Release 5.1 (26th August 2020)

• tgammal() • trunc() • truncf() • truncl() The following methods and variables in are not supported: • fpclassify() • isfinite() • isgreater() • isgreaterequal() • isless() • islessequal() • islessgreater() • isnormal() • isunordered() • j0() • j1() • jn() • nexttowardf() • signbit() • signgam • y0() • y1() • yn()

4.22. 129 RTEMS POSIX 1003.1 Compliance Guide, Release 5.1 (26th August 2020)Chapter4 Section 4.23

4.23

The following methods and variables in are not supported: • strfmon() • strfmon_l()

130 Chapter 4. POSIX-2008 Chapter 4 Section 4.24RTEMS POSIX 1003.1 Compliance Guide, Release 5.1 (26th August 2020)

4.24

The following methods and variables in are supported: • mq_close() • mq_getattr() • mq_notify() • mq_open() • mq_receive() • mq_send() • mq_setattr() • mq_timedreceive() • mq_timedsend() • mq_unlink()

4.24. 131 RTEMS POSIX 1003.1 Compliance Guide, Release 5.1 (26th August 2020)Chapter4 Section 4.25

4.25

The following methods and variables in are supported: • dbm_clearerr() • dbm_close() • dbm_delete() • dbm_error() • dbm_fetch() • dbm_firstkey() • dbm_nextkey() • dbm_open() • dbm_store()

132 Chapter 4. POSIX-2008 Chapter 4 Section 4.26RTEMS POSIX 1003.1 Compliance Guide, Release 5.1 (26th August 2020)

4.26

The following methods and variables in are supported: • if_freenameindex() • if_indextoname() • if_nameindex() • if_nametoindex()

4.26. 133 RTEMS POSIX 1003.1 Compliance Guide, Release 5.1 (26th August 2020)Chapter4 Section 4.27

4.27

The following methods and variables in are supported: • endhostent() • endnetent() • endprotoent() • endservent() • freeaddrinfo() • gai_strerror() • getaddrinfo() • gethostent() • getnameinfo() • getnetbyaddr() • getnetbyname() • getnetent() • getprotobyname() • getprotobynumber() • getprotoent() • getservbyname() • getservbyport() • getservent() • sethostent() • setnetent() • setprotoent() • setservent()

134 Chapter 4. POSIX-2008 Chapter 4 Section 4.28RTEMS POSIX 1003.1 Compliance Guide, Release 5.1 (26th August 2020)

4.28

The following methods and variables in are not supported: • catclose() • catgets() • catopen()

4.28. 135 RTEMS POSIX 1003.1 Compliance Guide, Release 5.1 (26th August 2020)Chapter4 Section 4.29

4.29

The following methods and variables in are not supported: • poll()

136 Chapter 4. POSIX-2008 Chapter 4 Section 4.30RTEMS POSIX 1003.1 Compliance Guide, Release 5.1 (26th August 2020)

4.30

The following methods and variables in are supported: • pthread_attr_destroy() • pthread_attr_getdetachstate() • pthread_attr_getguardsize() • pthread_attr_getinheritsched() • pthread_attr_getschedparam() • pthread_attr_getschedpolicy() • pthread_attr_getscope() • pthread_attr_getstack() • pthread_attr_getstackaddr() • pthread_attr_getstacksize() • pthread_attr_init() • pthread_attr_setdetachstate() • pthread_attr_setguardsize() • pthread_attr_setinheritsched() • pthread_attr_setschedparam() • pthread_attr_setschedpolicy() • pthread_attr_setscope() • pthread_attr_setstack() • pthread_attr_setstackaddr() • pthread_attr_setstacksize() • pthread_barrier_destroy() • pthread_barrier_init() • pthread_barrier_wait() • pthread_barrierattr_destroy() • pthread_barrierattr_getpshared() • pthread_barrierattr_init() • pthread_barrierattr_setpshared() • pthread_cancel() • pthread_cleanup_pop() • pthread_cleanup_push() • pthread_cond_broadcast() • pthread_cond_destroy()

4.30. 137 RTEMS POSIX 1003.1 Compliance Guide, Release 5.1 (26th August 2020)Chapter4 Section 4.30

• pthread_cond_init() • pthread_cond_signal() • pthread_cond_timedwait() • pthread_cond_wait() • pthread_condattr_destroy() • pthread_condattr_getclock() • pthread_condattr_getpshared() • pthread_condattr_init() • pthread_condattr_setclock() • pthread_condattr_setpshared() • pthread_create() • pthread_detach() • pthread_equal() • pthread_exit() • pthread_getconcurrency() • pthread_getschedparam() • pthread_getspecific() • pthread_join() • pthread_key_create() • pthread_key_delete() • pthread_mutex_destroy() • pthread_mutex_getprioceiling() • pthread_mutex_init() • pthread_mutex_lock() • pthread_mutex_setprioceiling() • pthread_mutex_timedlock() • pthread_mutex_trylock() • pthread_mutex_unlock() • pthread_mutexattr_destroy() • pthread_mutexattr_getprioceiling() • pthread_mutexattr_getprotocol() • pthread_mutexattr_getpshared() • pthread_mutexattr_gettype() • pthread_mutexattr_init()

138 Chapter 4. POSIX-2008 Chapter 4 Section 4.30RTEMS POSIX 1003.1 Compliance Guide, Release 5.1 (26th August 2020)

• pthread_mutexattr_setprioceiling() • pthread_mutexattr_setprotocol() • pthread_mutexattr_setpshared() • pthread_mutexattr_settype() • pthread_once() • pthread_rwlock_destroy() • pthread_rwlock_init() • pthread_rwlock_rdlock() • pthread_rwlock_timedrdlock() • pthread_rwlock_timedwrlock() • pthread_rwlock_tryrdlock() • pthread_rwlock_trywrlock() • pthread_rwlock_unlock() • pthread_rwlock_wrlock() • pthread_rwlockattr_destroy() • pthread_rwlockattr_getpshared() • pthread_rwlockattr_init() • pthread_rwlockattr_setpshared() • pthread_self() • pthread_setcancelstate() • pthread_setcanceltype() • pthread_setconcurrency() • pthread_setschedparam() • pthread_setschedprio() • pthread_setspecific() • pthread_spin_destroy() • pthread_spin_init() • pthread_spin_lock() • pthread_spin_trylock() • pthread_spin_unlock() • pthread_testcancel() The following methods in are implemented as stubs returning -1 and setting errno to ENOSYS: • pthread_atfork() • pthread_getcpuclockid()

4.30. 139 RTEMS POSIX 1003.1 Compliance Guide, Release 5.1 (26th August 2020)Chapter4 Section 4.30

The following methods and variables in are not supported: • pthread_mutex_consistent() • pthread_mutexattr_getrobust() • pthread_mutexattr_setrobust()

140 Chapter 4. POSIX-2008 Chapter 4 Section 4.31RTEMS POSIX 1003.1 Compliance Guide, Release 5.1 (26th August 2020)

4.31

The following methods and variables in are supported: • endpwent() • getpwent() • getpwnam() • getpwnam_r() • getpwuid() • getpwuid_r() • setpwent()

4.31. 141 RTEMS POSIX 1003.1 Compliance Guide, Release 5.1 (26th August 2020)Chapter4 Section 4.32

4.32

The following methods and variables in are supported: • regcomp() • regerror() • regexec() • regfree()

142 Chapter 4. POSIX-2008 Chapter 4 Section 4.33RTEMS POSIX 1003.1 Compliance Guide, Release 5.1 (26th August 2020)

4.33

The following methods and variables in are supported: • sched_get_priority_max() • sched_get_priority_min() • sched_rr_get_interval() • sched_yield() The following methods in are implemented as stubs returning -1 and setting errno to ENOSYS: • sched_getparam() • sched_getscheduler() • sched_setparam() • sched_setscheduler()

4.33. 143 RTEMS POSIX 1003.1 Compliance Guide, Release 5.1 (26th August 2020)Chapter4 Section 4.34

4.34

The following methods and variables in are supported: • hcreate() • hdestroy() • hsearch() • tdelete() • tfind() • tsearch() • twalk() The following methods and variables in are not supported: • insque() • lfind() • lsearch() • remque()

144 Chapter 4. POSIX-2008 Chapter 4 Section 4.35RTEMS POSIX 1003.1 Compliance Guide, Release 5.1 (26th August 2020)

4.35

The following methods and variables in are supported: • sem_close() • sem_destroy() • sem_getvalue() • sem_init() • sem_open() • sem_post() • sem_timedwait() • sem_trywait() • sem_unlink() • sem_wait()

4.35. 145 RTEMS POSIX 1003.1 Compliance Guide, Release 5.1 (26th August 2020)Chapter4 Section 4.36

4.36

The following methods and variables in are supported: • longjmp() • setjmp() • siglongjmp() • sigsetjmp() The following methods and variables in are not supported: • _longjmp() • _setjmp()

146 Chapter 4. POSIX-2008 Chapter 4 Section 4.37RTEMS POSIX 1003.1 Compliance Guide, Release 5.1 (26th August 2020)

4.37

The following methods and variables in are supported: • kill() • psignal() • pthread_kill() • pthread_sigmask() • raise() • sigaction() • sigaddset() • sigdelset() • sigemptyset() • sigfillset() • sigismember() • signal() • sigpending() • sigprocmask() • sigqueue() • sigsuspend() • sigtimedwait() • sigwait() • sigwaitinfo() The following methods and variables in are not supported: • killpg() • psiginfo() • sigaltstack() • sighold() • sigignore() • siginterrupt() • sigpause() • sigrelse() • sigset()

4.37. 147 RTEMS POSIX 1003.1 Compliance Guide, Release 5.1 (26th August 2020)Chapter4 Section 4.38

4.38

The following methods and variables in are not supported: • posix_spawn() • posix_spawn_file_actions_addclose() • posix_spawn_file_actions_adddup2() • posix_spawn_file_actions_addopen() • posix_spawn_file_actions_destroy() • posix_spawn_file_actions_init() • posix_spawnattr_destroy() • posix_spawnattr_getflags() • posix_spawnattr_getpgroup() • posix_spawnattr_getschedparam() • posix_spawnattr_getschedpolicy() • posix_spawnattr_getsigdefault() • posix_spawnattr_getsigmask() • posix_spawnattr_init() • posix_spawnattr_setflags() • posix_spawnattr_setpgroup() • posix_spawnattr_setschedparam() • posix_spawnattr_setschedpolicy() • posix_spawnattr_setsigdefault() • posix_spawnattr_setsigmask() • posix_spawnp()

148 Chapter 4. POSIX-2008 Chapter 4 Section 4.39RTEMS POSIX 1003.1 Compliance Guide, Release 5.1 (26th August 2020)

4.39

The following methods and variables in are supported: • va_arg() • va_copy() • va_end() • va_start()

4.39. 149 RTEMS POSIX 1003.1 Compliance Guide, Release 5.1 (26th August 2020)Chapter4 Section 4.40

4.40

The following methods and variables in are supported: • offsetof()

150 Chapter 4. POSIX-2008 Chapter 4 Section 4.41RTEMS POSIX 1003.1 Compliance Guide, Release 5.1 (26th August 2020)

4.41

The following methods and variables in are supported: • clearerr() • ctermid() • dprintf() • fclose() • fdopen() • feof() • ferror() • fflush() • fgetc() • fgetpos() • fgets() • fileno() • flockfile() • fmemopen() • fopen() • fprintf() • fputc() • fputs() • fread() • freopen() • fscanf() • fseek() • fseeko() • fsetpos() • ftell() • ftello() • ftrylockfile() • funlockfile() • fwrite() • getc() • getc_unlocked() • getchar()

4.41. 151 RTEMS POSIX 1003.1 Compliance Guide, Release 5.1 (26th August 2020)Chapter4 Section 4.41

• getchar_unlocked() • gets() • open_memstream() • perror() • printf() • putc() • putc_unlocked() • putchar() • putchar_unlocked() • puts() • remove() • rename() • rewind() • scanf() • setbuf() • setvbuf() • snprintf() • sprintf() • sscanf() • stderr • stdin • stdout • tempnam() • tmpfile() • tmpnam() • ungetc() • vdprintf() • vfprintf() • vfscanf() • vprintf() • vscanf() • vsnprintf() • vsprintf() • vsscanf()

152 Chapter 4. POSIX-2008 Chapter 4 Section 4.41RTEMS POSIX 1003.1 Compliance Guide, Release 5.1 (26th August 2020)

The following methods and variables in are not supported: • getdelim() • getline() • pclose() • popen() • renameat()

4.41. 153 RTEMS POSIX 1003.1 Compliance Guide, Release 5.1 (26th August 2020)Chapter4 Section 4.42

4.42

The following methods and variables in are supported: • _Exit() • a64l() • abort() • abs() • atexit() • atof() • atoi() • atol() • atoll() • bsearch() • calloc() • div() • drand48() • erand48() • exit() • free() • getenv() • getsubopt() • jrand48() • l64a() • labs() • lcong48() • ldiv() • llabs() • lldiv() • lrand48() • malloc() • mblen() • mbstowcs() • mbtowc() • mkdtemp() • mkstemp()

154 Chapter 4. POSIX-2008 Chapter 4 Section 4.42RTEMS POSIX 1003.1 Compliance Guide, Release 5.1 (26th August 2020)

• mrand48() • nrand48() • posix_memalign() • putenv() • qsort() • rand() • rand_r() • random() • realloc() • realpath() • seed48() • setenv() • srand() • srand48() • srandom() • strtod() • strtof() • strtol() • strtold() • strtoll() • strtoul() • strtoull() • unsetenv() • wcstombs() • wctomb() The following methods in are implemented as stubs returning -1 and setting errno to ENOSYS: • system() The following methods and variables in are not supported: • grantpt() • initstate() • ptsname() • setkey() • setstate() • unlockpt()

4.42. 155 RTEMS POSIX 1003.1 Compliance Guide, Release 5.1 (26th August 2020)Chapter4 Section 4.43

4.43

The following methods and variables in are supported: • memccpy() • memchr() • memcmp() • memcpy() • memmove() • memset() • stpcpy() • stpncpy() • strcat() • strchr() • strcmp() • strcoll() • strcoll_l() • strcpy() • strcspn() • strdup() • strerror() • strerror_l() • strerror_r() • strlen() • strncat() • strncmp() • strncpy() • strndup() • strnlen() • strpbrk() • strrchr() • strsignal() • strspn() • strstr() • strtok() • strtok_r()

156 Chapter 4. POSIX-2008 Chapter 4 Section 4.43RTEMS POSIX 1003.1 Compliance Guide, Release 5.1 (26th August 2020)

• strxfrm() • strxfrm_l()

4.43. 157 RTEMS POSIX 1003.1 Compliance Guide, Release 5.1 (26th August 2020)Chapter4 Section 4.44

4.44

The following methods and variables in are supported: • ffs() • strcasecmp() • strcasecmp_l() • strncasecmp() • strncasecmp_l()

158 Chapter 4. POSIX-2008 Chapter 4 Section 4.45RTEMS POSIX 1003.1 Compliance Guide, Release 5.1 (26th August 2020)

4.45

The following methods and variables in are supported: • ioctl() The following methods and variables in are not supported: • fattach() • fdetach() • getmsg() • getpmsg() • isastream() • putmsg() • putpmsg()

4.45. 159 RTEMS POSIX 1003.1 Compliance Guide, Release 5.1 (26th August 2020)Chapter4 Section 4.46

4.46

The following methods and variables in are not supported: • ftok()

160 Chapter 4. POSIX-2008 Chapter 4 Section 4.47RTEMS POSIX 1003.1 Compliance Guide, Release 5.1 (26th August 2020)

4.47

The following methods and variables in are supported: • mlock() • mlockall() • mmap() • mprotect() • msync() • munlock() • munlockall() • munmap() • posix_madvise() • shm_open() • shm_unlink() The following methods and variables in are not supported: • posix_mem_offset() • posix_typed_mem_get_info() • posix_typed_mem_open()

4.47. 161 RTEMS POSIX 1003.1 Compliance Guide, Release 5.1 (26th August 2020)Chapter4 Section 4.48

4.48

The following methods and variables in are not supported: • msgctl() • msgget() • msgrcv() • msgsnd()

162 Chapter 4. POSIX-2008 Chapter 4 Section 4.49RTEMS POSIX 1003.1 Compliance Guide, Release 5.1 (26th August 2020)

4.49

The following methods and variables in are supported: • getrusage() The following methods and variables in are not supported: • getpriority() • getrlimit() • setpriority() • setrlimit()

4.49. 163 RTEMS POSIX 1003.1 Compliance Guide, Release 5.1 (26th August 2020)Chapter4 Section 4.50

4.50

The following methods and variables in are supported: • FD_CLR() • FD_ISSET() • FD_SET() • FD_ZERO() • select() The following methods and variables in are not supported: • pselect()

164 Chapter 4. POSIX-2008 Chapter 4 Section 4.51RTEMS POSIX 1003.1 Compliance Guide, Release 5.1 (26th August 2020)

4.51

The following methods and variables in are not supported: • semctl() • semget() • semop()

4.51. 165 RTEMS POSIX 1003.1 Compliance Guide, Release 5.1 (26th August 2020)Chapter4 Section 4.52

4.52

The following methods and variables in are not supported: • shmat() • shmctl() • shmdt() • shmget()

166 Chapter 4. POSIX-2008 Chapter 4 Section 4.53RTEMS POSIX 1003.1 Compliance Guide, Release 5.1 (26th August 2020)

4.53

The following methods and variables in are supported: • accept() • bind() • connect() • getpeername() • getsockname() • getsockopt() • listen() • recv() • recvfrom() • recvmsg() • send() • sendmsg() • sendto() • setsockopt() • shutdown() • socket() • socketpair() The following methods and variables in are not supported: • sockatmark()

4.53. 167 RTEMS POSIX 1003.1 Compliance Guide, Release 5.1 (26th August 2020)Chapter4 Section 4.54

4.54

The following methods and variables in are supported: • chmod() • fchmod() • fstat() • lstat() • mkdir() • mkfifo() • mknod() • stat() • umask() The following methods and variables in are not supported: • fchmodat() • fstatat() • futimens() • mkdirat() • mkfifoat() • mknodat() • utimensat()

168 Chapter 4. POSIX-2008 Chapter 4 Section 4.55RTEMS POSIX 1003.1 Compliance Guide, Release 5.1 (26th August 2020)

4.55

The following methods and variables in are supported: • statvfs() The following methods and variables in are not supported: • fstatvfs()

4.55. 169 RTEMS POSIX 1003.1 Compliance Guide, Release 5.1 (26th August 2020)Chapter4 Section 4.56

4.56

The following methods and variables in are supported: • gettimeofday() • times() • utimes() The following methods in are implemented as stubs returning -1 and setting errno to ENOSYS: • getitimer() • setitimer()

170 Chapter 4. POSIX-2008 Chapter 4 Section 4.57RTEMS POSIX 1003.1 Compliance Guide, Release 5.1 (26th August 2020)

4.57

The following methods and variables in are supported: • readv() • writev()

4.57. 171 RTEMS POSIX 1003.1 Compliance Guide, Release 5.1 (26th August 2020)Chapter4 Section 4.58

4.58

The following methods and variables in are supported: • uname()

172 Chapter 4. POSIX-2008 Chapter 4 Section 4.59RTEMS POSIX 1003.1 Compliance Guide, Release 5.1 (26th August 2020)

4.59

The following methods and variables in are supported: • wait() • waitpid() The following methods and variables in are not supported: • waitid()

4.59. 173 RTEMS POSIX 1003.1 Compliance Guide, Release 5.1 (26th August 2020)Chapter4 Section 4.60

4.60

The following methods and variables in are not supported: • closelog() • openlog() • setlogmask() • syslog()

174 Chapter 4. POSIX-2008 Chapter 4 Section 4.61RTEMS POSIX 1003.1 Compliance Guide, Release 5.1 (26th August 2020)

4.61

The following methods and variables in are supported: • cfgetispeed() • cfgetospeed() • cfsetispeed() • cfsetospeed() • tcdrain() • tcflow() • tcflush() • tcgetattr() • tcsendbreak() • tcsetattr() The following methods and variables in are not supported: • tcgetsid()

4.61. 175 RTEMS POSIX 1003.1 Compliance Guide, Release 5.1 (26th August 2020)Chapter4 Section 4.62

4.62

The following methods and variables in are supported: • asctime() • asctime_r() • clock() • clock_getres() • clock_gettime() • clock_nanosleep() • clock_settime() • ctime() • ctime_r() • difftime() • gmtime() • gmtime_r() • localtime() • localtime_r() • mktime() • nanosleep() • strftime() • strftime_l() • strptime() • time() • timer_create() • timer_delete() • timer_getoverrun() • timer_gettime() • timer_settime() • timezone • tzname • tzset() The following methods in are implemented as stubs returning -1 and setting errno to ENOSYS: • clock_getcpuclockid() The following methods and variables in are not supported:

176 Chapter 4. POSIX-2008 Chapter 4 Section 4.62RTEMS POSIX 1003.1 Compliance Guide, Release 5.1 (26th August 2020)

• daylight • getdate() • getdate_err

4.62. 177 RTEMS POSIX 1003.1 Compliance Guide, Release 5.1 (26th August 2020)Chapter4 Section 4.63

4.63

The following methods and variables in are not supported: • posix_trace_attr_destroy() • posix_trace_attr_getclockres() • posix_trace_attr_getcreatetime() • posix_trace_attr_getgenversion() • posix_trace_attr_getinherited() • posix_trace_attr_getlogfullpolicy() • posix_trace_attr_getlogsize() • posix_trace_attr_getmaxdatasize() • posix_trace_attr_getmaxsystemeventsize() • posix_trace_attr_getmaxusereventsize() • posix_trace_attr_getname() • posix_trace_attr_getstreamfullpolicy() • posix_trace_attr_getstreamsize() • posix_trace_attr_init() • posix_trace_attr_setinherited() • posix_trace_attr_setlogfullpolicy() • posix_trace_attr_setlogsize() • posix_trace_attr_setmaxdatasize() • posix_trace_attr_setname() • posix_trace_attr_setstreamfullpolicy() • posix_trace_attr_setstreamsize() • posix_trace_clear() • posix_trace_close() • posix_trace_create() • posix_trace_create_withlog() • posix_trace_event() • posix_trace_eventid_equal() • posix_trace_eventid_get_name() • posix_trace_eventid_open() • posix_trace_eventset_add() • posix_trace_eventset_del() • posix_trace_eventset_empty()

178 Chapter 4. POSIX-2008 Chapter 4 Section 4.63RTEMS POSIX 1003.1 Compliance Guide, Release 5.1 (26th August 2020)

• posix_trace_eventset_fill() • posix_trace_eventset_ismember() • posix_trace_eventtypelist_getnext_id() • posix_trace_eventtypelist_rewind() • posix_trace_flush() • posix_trace_get_attr() • posix_trace_get_filter() • posix_trace_get_status() • posix_trace_getnext_event() • posix_trace_open() • posix_trace_rewind() • posix_trace_set_filter() • posix_trace_shutdown() • posix_trace_start() • posix_trace_stop() • posix_trace_timedgetnext_event() • posix_trace_trid_eventid_open() • posix_trace_trygetnext_event()

4.63. 179 RTEMS POSIX 1003.1 Compliance Guide, Release 5.1 (26th August 2020)Chapter4 Section 4.64

4.64

The following methods and variables in are not supported: • ulimit()

180 Chapter 4. POSIX-2008 Chapter 4 Section 4.65RTEMS POSIX 1003.1 Compliance Guide, Release 5.1 (26th August 2020)

4.65

The following methods and variables in are supported: • _exit() • access() • alarm() • chdir() • chown() • close() • dup() • dup2() • environ • fchdir() • fchown() • fdatasync() • fpathconf() • fsync() • ftruncate() • getcwd() • getegid() • geteuid() • getgid() • getgroups() • gethostname() • getlogin() • getlogin_r() • getopt() • getpgrp() • getpid() • getppid() • getuid() • isatty() • lchown() • link() • lseek()

4.65. 181 RTEMS POSIX 1003.1 Compliance Guide, Release 5.1 (26th August 2020)Chapter4 Section 4.65

• optarg • opterr • optind • optopt • pathconf() • pause() • pipe() • pread() • pwrite() • read() • readlink() • rmdir() • setegid() • seteuid() • setgid() • setpgid() • setsid() • setuid() • sleep() • swab() • symlink() • sync() • sysconf() • tcgetpgrp() • tcsetpgrp() • truncate() • ttyname() • ttyname_r() • unlink() • write() The following methods in are implemented as stubs returning -1 and setting errno to ENOSYS: • execl() • execle() • execlp()

182 Chapter 4. POSIX-2008 Chapter 4 Section 4.65RTEMS POSIX 1003.1 Compliance Guide, Release 5.1 (26th August 2020)

• execv() • execve() • execvp() • fork() The following methods and variables in are not supported: • confstr() • crypt() • encrypt() • faccessat() • fchownat() • fexecve() • gethostid() • getpgid() • getsid() • linkat() • lockf() • nice() • readlinkat() • setpgrp() • setregid() • setreuid() • symlinkat() • unlinkat()

4.65. 183 RTEMS POSIX 1003.1 Compliance Guide, Release 5.1 (26th August 2020)Chapter4 Section 4.66

4.66

The following methods and variables in are supported: • utime()

184 Chapter 4. POSIX-2008 Chapter 4 Section 4.67RTEMS POSIX 1003.1 Compliance Guide, Release 5.1 (26th August 2020)

4.67

The following methods and variables in are not supported: • endutxent() • getutxent() • getutxid() • getutxline() • pututxline() • setutxent()

4.67. 185 RTEMS POSIX 1003.1 Compliance Guide, Release 5.1 (26th August 2020)Chapter4 Section 4.68

4.68

The following methods and variables in are supported: • btowc() • fgetwc() • fgetws() • fputwc() • fputws() • fwide() • fwprintf() • fwscanf() • getwc() • getwchar() • mbrlen() • mbrtowc() • mbsinit() • mbsnrtowcs() • mbsrtowcs() • open_wmemstream() • putwc() • putwchar() • swprintf() • swscanf() • ungetwc() • vfwprintf() • vfwscanf() • vswprintf() • vswscanf() • vwprintf() • vwscanf() • wcpcpy() • wcpncpy() • wcrtomb() • wcscasecmp() • wcscasecmp_l()

186 Chapter 4. POSIX-2008 Chapter 4 Section 4.68RTEMS POSIX 1003.1 Compliance Guide, Release 5.1 (26th August 2020)

• wcscat() • wcschr() • wcscmp() • wcscoll() • wcscoll_l() • wcscpy() • wcscspn() • wcsdup() • wcsftime() • wcslen() • wcsncasecmp() • wcsncat() • wcsncmp() • wcsncpy() • wcsnlen() • wcsnrtombs() • wcspbrk() • wcsrchr() • wcsrtombs() • wcsspn() • wcsstr() • wcstod() • wcstof() • wcstok() • wcstol() • wcstold() • wcstoll() • wcstoul() • wcstoull() • wcswidth() • wcsxfrm() • wcsxfrm_l() • wctob() • wcwidth()

4.68. 187 RTEMS POSIX 1003.1 Compliance Guide, Release 5.1 (26th August 2020)Chapter4 Section 4.68

• wmemchr() • wmemcmp() • wmemcpy() • wmemmove() • wmemset() • wprintf() • wscanf() The following methods and variables in are not supported: • wcsncasemcp_l()

188 Chapter 4. POSIX-2008 Chapter 4 Section 4.69RTEMS POSIX 1003.1 Compliance Guide, Release 5.1 (26th August 2020)

4.69

The following methods and variables in are supported: • iswalnum() • iswalnum_l() • iswalpha() • iswalpha_l() • iswblank() • iswblank_l() • iswcntrl() • iswcntrl_l() • iswctype() • iswctype_l() • iswdigit() • iswdigit_l() • iswgraph() • iswgraph_l() • iswlower() • iswlower_l() • iswprint() • iswprint_l() • iswpunct() • iswpunct_l() • iswspace() • iswspace_l() • iswupper() • iswupper_l() • iswxdigit() • iswxdigit_l() • towctrans() • towctrans_l() • towlower() • towlower_l() • towupper() • towupper_l()

4.69. 189 RTEMS POSIX 1003.1 Compliance Guide, Release 5.1 (26th August 2020)Chapter4 Section 4.69

• wctrans() • wctrans_l() • wctype() • wctype_l()

190 Chapter 4. POSIX-2008 Chapter 4 Section 4.70RTEMS POSIX 1003.1 Compliance Guide, Release 5.1 (26th August 2020)

4.70

The following methods and variables in are not supported: • wordexp() • wordfree()

4.70. 191 RTEMS POSIX 1003.1 Compliance Guide, Release 5.1 (26th August 2020)Chapter4 Section 4.70

192 Chapter 4. POSIX-2008 CHAPTER FIVE

POSIX-2003

This chapter has a subsection per header file to detail the methods provided by RTEMS that are in that header file.

193 RTEMS POSIX 1003.1 Compliance Guide, Release 5.1 (26th August 2020)Chapter5 Section 5.1

5.1 Summary

The follow table summarizes alignment with the POSIX-2003 standard:

Supported 906 ENOSYS 19 Not supported 190

194 Chapter 5. POSIX-2003 Chapter 5 Section 5.2RTEMS POSIX 1003.1 Compliance Guide, Release 5.1 (26th August 2020)

5.2

The following methods and variables in are supported: • aio_cancel() • aio_error() • aio_fsync() • aio_read() • aio_return() • aio_write() The following methods in are implemented as stubs returning -1 and setting errno to ENOSYS: • aio_suspend() • lio_listio()

5.2. 195 RTEMS POSIX 1003.1 Compliance Guide, Release 5.1 (26th August 2020)Chapter5 Section 5.3

5.3

The following methods and variables in are supported: • htonl() • htons() • inet_addr() • inet_ntoa() • inet_ntop() • inet_pton() • ntohl() • ntohs()

196 Chapter 5. POSIX-2003 Chapter 5 Section 5.4RTEMS POSIX 1003.1 Compliance Guide, Release 5.1 (26th August 2020)

5.4

The following methods and variables in are supported: • assert()

5.4. 197 RTEMS POSIX 1003.1 Compliance Guide, Release 5.1 (26th August 2020)Chapter5 Section 5.5

5.5

The following methods and variables in are supported: • cabs() • cabsf() • cabsl() • cacos() • cacosf() • cacosh() • cacoshf() • cacoshl() • cacosl() • carg() • cargf() • cargl() • casin() • casinf() • casinh() • casinhf() • casinhl() • casinl() • catan() • catanf() • catanh() • catanhf() • catanhl() • catanl() • ccos() • ccosf() • ccosh() • ccoshf() • ccoshl() • ccosl() • cexp() • cexpf()

198 Chapter 5. POSIX-2003 Chapter 5 Section 5.5RTEMS POSIX 1003.1 Compliance Guide, Release 5.1 (26th August 2020)

• cexpl() • cimag() • cimagf() • cimagl() • clog() • clogf() • clogl() • conj() • conjf() • conjl() • cpow() • cpowf() • cpowl() • cproj() • cprojf() • cprojl() • creal() • crealf() • creall() • csin() • csinf() • csinh() • csinhf() • csinhl() • csinl() • csqrt() • csqrtf() • csqrtl() • ctan() • ctanf() • ctanh() • ctanhf() • ctanhl() • ctanl()

5.5. 199 RTEMS POSIX 1003.1 Compliance Guide, Release 5.1 (26th August 2020)Chapter5 Section 5.6

5.6

The following methods and variables in are supported: • _tolower() • _toupper() • isalnum() • isalpha() • isascii() • isblank() • iscntrl() • isdigit() • isgraph() • islower() • islower_l() • isprint() • ispunct() • isspace() • isupper() • isxdigit() • toascii() • tolower() • toupper()

200 Chapter 5. POSIX-2003 Chapter 5 Section 5.7RTEMS POSIX 1003.1 Compliance Guide, Release 5.1 (26th August 2020)

5.7

The following methods and variables in are supported: • closedir() • opendir() • readdir() • readdir_r() • rewinddir() • seekdir()

5.7. 201 RTEMS POSIX 1003.1 Compliance Guide, Release 5.1 (26th August 2020)Chapter5 Section 5.8

5.8

The following methods and variables in are supported: • dlclose() • dlerror() • dlopen() • dlsym()

202 Chapter 5. POSIX-2003 Chapter 5 Section 5.9RTEMS POSIX 1003.1 Compliance Guide, Release 5.1 (26th August 2020)

5.9

The following methods and variables in are supported: • errno

5.9. 203 RTEMS POSIX 1003.1 Compliance Guide, Release 5.1 (26th August 2020)Chapter5 Section 5.10

5.10

The following methods and variables in are supported: • creat() • fcntl() • open() The following methods and variables in are not supported: • posix_fadvise() • posix_fallocate() • posix_openpt()

204 Chapter 5. POSIX-2003 Chapter 5 Section 5.11RTEMS POSIX 1003.1 Compliance Guide, Release 5.1 (26th August 2020)

5.11

The following methods and variables in are not supported: • feclearexcept() • fegetenv() • fegetexceptflag() • fegetround() • feholdexcept() • feraiseexcept() • fesetenv() • fesetexceptflag() • fesetround() • fetestexcept() • feupdateenv()

5.11. 205 RTEMS POSIX 1003.1 Compliance Guide, Release 5.1 (26th August 2020)Chapter5 Section 5.12

5.12

The following methods and variables in are not supported: • fmtmsg()

206 Chapter 5. POSIX-2003 Chapter 5 Section 5.13RTEMS POSIX 1003.1 Compliance Guide, Release 5.1 (26th August 2020)

5.13

The following methods and variables in are supported: • fnmatch()

5.13. 207 RTEMS POSIX 1003.1 Compliance Guide, Release 5.1 (26th August 2020)Chapter5 Section 5.14

5.14

The following methods and variables in are not supported: • ftw() • nftw()

208 Chapter 5. POSIX-2003 Chapter 5 Section 5.15RTEMS POSIX 1003.1 Compliance Guide, Release 5.1 (26th August 2020)

5.15

The following methods and variables in are supported: • glob() • globfree()

5.15. 209 RTEMS POSIX 1003.1 Compliance Guide, Release 5.1 (26th August 2020)Chapter5 Section 5.16

5.16

The following methods and variables in are supported: • endgrent() • getgrent() • getgrgid() • getgrgid_r() • getgrnam() • getgrnam_r() • setgrent()

210 Chapter 5. POSIX-2003 Chapter 5 Section 5.17RTEMS POSIX 1003.1 Compliance Guide, Release 5.1 (26th August 2020)

5.17

The following methods and variables in are supported: • iconv() • iconv_close() • iconv_open()

5.17. 211 RTEMS POSIX 1003.1 Compliance Guide, Release 5.1 (26th August 2020)Chapter5 Section 5.18

5.18

The following methods and variables in are supported: • imaxabs() • imaxdiv() • strtoimax() • strtoumax() • wcstoimax() • wcstoumax()

212 Chapter 5. POSIX-2003 Chapter 5 Section 5.19RTEMS POSIX 1003.1 Compliance Guide, Release 5.1 (26th August 2020)

5.19

The following methods and variables in are supported: • nl_langinfo()

5.19. 213 RTEMS POSIX 1003.1 Compliance Guide, Release 5.1 (26th August 2020)Chapter5 Section 5.20

5.20

The following methods and variables in are supported: • basename() • dirname()

214 Chapter 5. POSIX-2003 Chapter 5 Section 5.21RTEMS POSIX 1003.1 Compliance Guide, Release 5.1 (26th August 2020)

5.21

The following methods and variables in are supported: • localeconv() • setlocale()

5.21. 215 RTEMS POSIX 1003.1 Compliance Guide, Release 5.1 (26th August 2020)Chapter5 Section 5.22

5.22

The following methods and variables in are supported: • acos() • acosf() • acosh() • acoshf() • acoshl() • acosl() • asin() • asinf() • asinh() • asinhf() • asinhl() • asinl() • atan() • atan2() • atan2f() • atan2l() • atanf() • atanh() • atanhf() • atanhl() • atanl() • cbrt() • cbrtf() • cbrtl() • ceil() • ceilf() • ceill() • copysign() • copysignf() • copysignl() • cos() • cosf()

216 Chapter 5. POSIX-2003 Chapter 5 Section 5.22RTEMS POSIX 1003.1 Compliance Guide, Release 5.1 (26th August 2020)

• cosh() • coshf() • coshl() • cosl() • erf() • erfc() • erfcf() • erfcl() • erff() • erfl() • exp() • exp2() • exp2f() • exp2l() • expf() • expl() • expm1() • expm1f() • expm1l() • fabs() • fabsf() • fabsl() • fdim() • fdimf() • fdiml() • floor() • floorf() • floorl() • fma() • fmaf() • fmal() • fmax() • fmaxf() • fmaxl()

5.22. 217 RTEMS POSIX 1003.1 Compliance Guide, Release 5.1 (26th August 2020)Chapter5 Section 5.22

• fmin() • fminf() • fminl() • fmod() • fmodf() • fmodl() • frexp() • frexpf() • frexpl() • hypot() • hypotf() • hypotl() • ilogb() • ilogbf() • ilogbl() • isinf() • isnan() • ldexp() • ldexpf() • ldexpl() • lgamma() • lgammaf() • lgammal() • llrint() • llrintf() • llrintl() • llround() • llroundf() • llroundl() • log() • log10() • log10f() • log10l() • log1p()

218 Chapter 5. POSIX-2003 Chapter 5 Section 5.22RTEMS POSIX 1003.1 Compliance Guide, Release 5.1 (26th August 2020)

• log1pf() • log1pl() • log2() • log2f() • log2l() • logb() • logbf() • logbl() • logf() • logl() • lrint() • lrintf() • lrintl() • lround() • lroundf() • lroundl() • modf() • modff() • modfl() • nan() • nanf() • nanl() • nearbyint() • nearbyintf() • nearbyintl() • nextafter() • nextafterf() • nextafterl() • nexttoward() • nexttowardl() • pow() • powf() • powl() • remainder()

5.22. 219 RTEMS POSIX 1003.1 Compliance Guide, Release 5.1 (26th August 2020)Chapter5 Section 5.22

• remainderf() • remainderl() • remquo() • remquof() • remquol() • rint() • rintf() • rintl() • round() • roundf() • roundl() • scalb() • scalbln() • scalblnf() • scalblnl() • scalbn() • scalbnf() • scalbnl() • sin() • sinf() • sinh() • sinhf() • sinhl() • sinl() • sqrt() • sqrtf() • sqrtl() • tan() • tanf() • tanh() • tanhf() • tanhl() • tanl() • tgamma()

220 Chapter 5. POSIX-2003 Chapter 5 Section 5.22RTEMS POSIX 1003.1 Compliance Guide, Release 5.1 (26th August 2020)

• tgammaf() • tgammal() • trunc() • truncf() • truncl() The following methods and variables in are not supported: • fpclassify() • isfinite() • isgreater() • isgreaterequal() • isless() • islessequal() • islessgreater() • isnormal() • isunordered() • j0() • j1() • jn() • nexttowardf() • signbit() • signgam • y0() • y1() • yn()

5.22. 221 RTEMS POSIX 1003.1 Compliance Guide, Release 5.1 (26th August 2020)Chapter5 Section 5.23

5.23

The following methods and variables in are not supported: • strfmon()

222 Chapter 5. POSIX-2003 Chapter 5 Section 5.24RTEMS POSIX 1003.1 Compliance Guide, Release 5.1 (26th August 2020)

5.24

The following methods and variables in are supported: • mq_close() • mq_getattr() • mq_notify() • mq_open() • mq_receive() • mq_send() • mq_setattr() • mq_timedreceive() • mq_timedsend() • mq_unlink()

5.24. 223 RTEMS POSIX 1003.1 Compliance Guide, Release 5.1 (26th August 2020)Chapter5 Section 5.25

5.25

The following methods and variables in are supported: • dbm_clearerr() • dbm_close() • dbm_delete() • dbm_error() • dbm_fetch() • dbm_firstkey() • dbm_nextkey() • dbm_open() • dbm_store()

224 Chapter 5. POSIX-2003 Chapter 5 Section 5.26RTEMS POSIX 1003.1 Compliance Guide, Release 5.1 (26th August 2020)

5.26

The following methods and variables in are supported: • if_freenameindex() • if_indextoname() • if_nameindex() • if_nametoindex()

5.26. 225 RTEMS POSIX 1003.1 Compliance Guide, Release 5.1 (26th August 2020)Chapter5 Section 5.27

5.27

The following methods and variables in are supported: • endhostent() • endnetent() • endprotoent() • endservent() • freeaddrinfo() • gai_strerror() • getaddrinfo() • gethostbyaddr() • gethostbyname() • gethostent() • getnameinfo() • getnetbyaddr() • getnetbyname() • getnetent() • getprotobyname() • getprotobynumber() • getprotoent() • getservbyname() • getservbyport() • getservent() • h_errno • sethostent() • setnetent() • setprotoent() • setservent()

226 Chapter 5. POSIX-2003 Chapter 5 Section 5.28RTEMS POSIX 1003.1 Compliance Guide, Release 5.1 (26th August 2020)

5.28

The following methods and variables in are not supported: • catclose() • catgets() • catopen()

5.28. 227 RTEMS POSIX 1003.1 Compliance Guide, Release 5.1 (26th August 2020)Chapter5 Section 5.29

5.29

The following methods and variables in are not supported: • poll()

228 Chapter 5. POSIX-2003 Chapter 5 Section 5.30RTEMS POSIX 1003.1 Compliance Guide, Release 5.1 (26th August 2020)

5.30

The following methods and variables in are supported: • pthread_attr_destroy() • pthread_attr_getdetachstate() • pthread_attr_getguardsize() • pthread_attr_getinheritsched() • pthread_attr_getschedparam() • pthread_attr_getschedpolicy() • pthread_attr_getscope() • pthread_attr_getstack() • pthread_attr_getstackaddr() • pthread_attr_getstacksize() • pthread_attr_init() • pthread_attr_setdetachstate() • pthread_attr_setguardsize() • pthread_attr_setinheritsched() • pthread_attr_setschedparam() • pthread_attr_setschedpolicy() • pthread_attr_setscope() • pthread_attr_setstack() • pthread_attr_setstackaddr() • pthread_attr_setstacksize() • pthread_barrier_destroy() • pthread_barrier_init() • pthread_barrier_wait() • pthread_barrierattr_destroy() • pthread_barrierattr_getpshared() • pthread_barrierattr_init() • pthread_barrierattr_setpshared() • pthread_cancel() • pthread_cleanup_pop() • pthread_cleanup_push() • pthread_cond_broadcast() • pthread_cond_destroy()

5.30. 229 RTEMS POSIX 1003.1 Compliance Guide, Release 5.1 (26th August 2020)Chapter5 Section 5.30

• pthread_cond_init() • pthread_cond_signal() • pthread_cond_timedwait() • pthread_cond_wait() • pthread_condattr_destroy() • pthread_condattr_getclock() • pthread_condattr_getpshared() • pthread_condattr_init() • pthread_condattr_setclock() • pthread_condattr_setpshared() • pthread_create() • pthread_detach() • pthread_equal() • pthread_exit() • pthread_getconcurrency() • pthread_getschedparam() • pthread_getspecific() • pthread_join() • pthread_key_create() • pthread_key_delete() • pthread_mutex_destroy() • pthread_mutex_getprioceiling() • pthread_mutex_init() • pthread_mutex_lock() • pthread_mutex_setprioceiling() • pthread_mutex_timedlock() • pthread_mutex_trylock() • pthread_mutex_unlock() • pthread_mutexattr_destroy() • pthread_mutexattr_getprioceiling() • pthread_mutexattr_getprotocol() • pthread_mutexattr_getpshared() • pthread_mutexattr_gettype() • pthread_mutexattr_init()

230 Chapter 5. POSIX-2003 Chapter 5 Section 5.30RTEMS POSIX 1003.1 Compliance Guide, Release 5.1 (26th August 2020)

• pthread_mutexattr_setprioceiling() • pthread_mutexattr_setprotocol() • pthread_mutexattr_setpshared() • pthread_mutexattr_settype() • pthread_once() • pthread_rwlock_destroy() • pthread_rwlock_init() • pthread_rwlock_rdlock() • pthread_rwlock_timedrdlock() • pthread_rwlock_timedwrlock() • pthread_rwlock_tryrdlock() • pthread_rwlock_trywrlock() • pthread_rwlock_unlock() • pthread_rwlock_wrlock() • pthread_rwlockattr_destroy() • pthread_rwlockattr_getpshared() • pthread_rwlockattr_init() • pthread_rwlockattr_setpshared() • pthread_self() • pthread_setcancelstate() • pthread_setcanceltype() • pthread_setconcurrency() • pthread_setschedparam() • pthread_setschedprio() • pthread_setspecific() • pthread_spin_destroy() • pthread_spin_init() • pthread_spin_lock() • pthread_spin_trylock() • pthread_spin_unlock() • pthread_testcancel() The following methods in are implemented as stubs returning -1 and setting errno to ENOSYS: • pthread_atfork() • pthread_getcpuclockid()

5.30. 231 RTEMS POSIX 1003.1 Compliance Guide, Release 5.1 (26th August 2020)Chapter5 Section 5.31

5.31

The following methods and variables in are supported: • endpwent() • getpwent() • getpwnam() • getpwnam_r() • getpwuid() • getpwuid_r() • setpwent()

232 Chapter 5. POSIX-2003 Chapter 5 Section 5.32RTEMS POSIX 1003.1 Compliance Guide, Release 5.1 (26th August 2020)

5.32

The following methods and variables in are supported: • regcomp() • regerror() • regexec() • regfree()

5.32. 233 RTEMS POSIX 1003.1 Compliance Guide, Release 5.1 (26th August 2020)Chapter5 Section 5.33

5.33

The following methods and variables in are supported: • sched_get_priority_max() • sched_get_priority_min() • sched_rr_get_interval() • sched_yield() The following methods in are implemented as stubs returning -1 and setting errno to ENOSYS: • sched_getparam() • sched_getscheduler() • sched_setparam() • sched_setscheduler()

234 Chapter 5. POSIX-2003 Chapter 5 Section 5.34RTEMS POSIX 1003.1 Compliance Guide, Release 5.1 (26th August 2020)

5.34

The following methods and variables in are supported: • hcreate() • hdestroy() • hsearch() • tdelete() • tfind() • tsearch() • twalk() The following methods and variables in are not supported: • insque() • lfind() • lsearch() • remque()

5.34. 235 RTEMS POSIX 1003.1 Compliance Guide, Release 5.1 (26th August 2020)Chapter5 Section 5.35

5.35

The following methods and variables in are supported: • sem_close() • sem_destroy() • sem_getvalue() • sem_init() • sem_open() • sem_post() • sem_timedwait() • sem_trywait() • sem_unlink() • sem_wait()

236 Chapter 5. POSIX-2003 Chapter 5 Section 5.36RTEMS POSIX 1003.1 Compliance Guide, Release 5.1 (26th August 2020)

5.36

The following methods and variables in are supported: • longjmp() • setjmp() • siglongjmp() • sigsetjmp() The following methods and variables in are not supported: • _longjmp() • _setjmp()

5.36. 237 RTEMS POSIX 1003.1 Compliance Guide, Release 5.1 (26th August 2020)Chapter5 Section 5.37

5.37

The following methods and variables in are supported: • bsd_signal() • kill() • pthread_kill() • pthread_sigmask() • raise() • sigaction() • sigaddset() • sigdelset() • sigemptyset() • sigfillset() • sigismember() • signal() • sigpending() • sigprocmask() • sigqueue() • sigsuspend() • sigtimedwait() • sigwait() • sigwaitinfo() The following methods and variables in are not supported: • killpg() • sighold() • sigignore() • siginterrupt() • sigpause() • sigrelse() • sigset()

238 Chapter 5. POSIX-2003 Chapter 5 Section 5.38RTEMS POSIX 1003.1 Compliance Guide, Release 5.1 (26th August 2020)

5.38

The following methods and variables in are not supported: • posix_spawn() • posix_spawn_file_actions_addclose() • posix_spawn_file_actions_adddup2() • posix_spawn_file_actions_addopen() • posix_spawn_file_actions_destroy() • posix_spawn_file_actions_init() • posix_spawnattr_destroy() • posix_spawnattr_getflags() • posix_spawnattr_getpgroup() • posix_spawnattr_getschedparam() • posix_spawnattr_getschedpolicy() • posix_spawnattr_getsigdefault() • posix_spawnattr_getsigmask() • posix_spawnattr_init() • posix_spawnattr_setflags() • posix_spawnattr_setpgroup() • posix_spawnattr_setschedparam() • posix_spawnattr_setschedpolicy() • posix_spawnattr_setsigdefault() • posix_spawnattr_setsigmask() • posix_spawnp()

5.38. 239 RTEMS POSIX 1003.1 Compliance Guide, Release 5.1 (26th August 2020)Chapter5 Section 5.39

5.39

The following methods and variables in are supported: • va_arg() • va_copy() • va_end() • va_start()

240 Chapter 5. POSIX-2003 Chapter 5 Section 5.40RTEMS POSIX 1003.1 Compliance Guide, Release 5.1 (26th August 2020)

5.40

The following methods and variables in are supported: • offsetof()

5.40. 241 RTEMS POSIX 1003.1 Compliance Guide, Release 5.1 (26th August 2020)Chapter5 Section 5.41

5.41

The following methods and variables in are supported: • clearerr() • ctermid() • fclose() • fdopen() • feof() • ferror() • fflush() • fgetc() • fgetpos() • fgets() • fileno() • flockfile() • fopen() • fprintf() • fputc() • fputs() • fread() • freopen() • fscanf() • fseek() • fseeko() • fsetpos() • ftell() • ftello() • ftrylockfile() • funlockfile() • fwrite() • getc() • getc_unlocked() • getchar() • getchar_unlocked() • gets()

242 Chapter 5. POSIX-2003 Chapter 5 Section 5.41RTEMS POSIX 1003.1 Compliance Guide, Release 5.1 (26th August 2020)

• perror() • printf() • putc() • putc_unlocked() • putchar() • putchar_unlocked() • puts() • remove() • rename() • rewind() • scanf() • setbuf() • setvbuf() • snprintf() • sprintf() • sscanf() • stderr • stdin • stdout • tempnam() • tmpfile() • tmpnam() • ungetc() • vfprintf() • vfscanf() • vprintf() • vscanf() • vsnprintf() • vsprintf() • vsscanf() The following methods and variables in are not supported: • pclose() • popen()

5.41. 243 RTEMS POSIX 1003.1 Compliance Guide, Release 5.1 (26th August 2020)Chapter5 Section 5.42

5.42

The following methods and variables in are supported: • _Exit() • a64l() • abort() • abs() • atexit() • atof() • atoi() • atol() • atoll() • bsearch() • calloc() • div() • drand48() • ecvt() • erand48() • exit() • fcvt() • free() • gcvt() • getenv() • getsubopt() • jrand48() • l64a() • labs() • lcong48() • ldiv() • llabs() • lldiv() • lrand48() • malloc() • mblen() • mbstowcs()

244 Chapter 5. POSIX-2003 Chapter 5 Section 5.42RTEMS POSIX 1003.1 Compliance Guide, Release 5.1 (26th August 2020)

• mbtowc() • mkstemp() • mrand48() • nrand48() • posix_memalign() • putenv() • qsort() • rand() • rand_r() • random() • realloc() • realpath() • seed48() • setenv() • srand() • srand48() • srandom() • strtod() • strtof() • strtol() • strtold() • strtoll() • strtoul() • strtoull() • unsetenv() • wcstombs() • wctomb() The following methods in are implemented as stubs returning -1 and setting errno to ENOSYS: • system() The following methods and variables in are not supported: • grantpt() • initstate() • ptsname() • setkey()

5.42. 245 RTEMS POSIX 1003.1 Compliance Guide, Release 5.1 (26th August 2020)Chapter5 Section 5.42

• setstate() • unlockpt()

246 Chapter 5. POSIX-2003 Chapter 5 Section 5.43RTEMS POSIX 1003.1 Compliance Guide, Release 5.1 (26th August 2020)

5.43

The following methods and variables in are supported: • memccpy() • memchr() • memcmp() • memcpy() • memmove() • memset() • strcat() • strchr() • strcmp() • strcoll() • strcpy() • strcspn() • strdup() • strerror() • strerror_r() • strlen() • strncat() • strncmp() • strncpy() • strpbrk() • strrchr() • strspn() • strstr() • strtok() • strtok_r() • strxfrm()

5.43. 247 RTEMS POSIX 1003.1 Compliance Guide, Release 5.1 (26th August 2020)Chapter5 Section 5.44

5.44

The following methods and variables in are supported: • bcmp() • bcopy() • ffs() • index() • rindex() • strcasecmp() • strncasecmp()

248 Chapter 5. POSIX-2003 Chapter 5 Section 5.45RTEMS POSIX 1003.1 Compliance Guide, Release 5.1 (26th August 2020)

5.45

The following methods and variables in are supported: • ioctl() The following methods and variables in are not supported: • fattach() • fdetach() • getmsg() • getpmsg() • isastream() • putmsg() • putpmsg()

5.45. 249 RTEMS POSIX 1003.1 Compliance Guide, Release 5.1 (26th August 2020)Chapter5 Section 5.46

5.46

The following methods and variables in are not supported: • ftok()

250 Chapter 5. POSIX-2003 Chapter 5 Section 5.47RTEMS POSIX 1003.1 Compliance Guide, Release 5.1 (26th August 2020)

5.47

The following methods and variables in are supported: • mlock() • mlockall() • mmap() • mprotect() • msync() • munlock() • munlockall() • munmap() • posix_madvise() • shm_open() • shm_unlink() The following methods and variables in are not supported: • posix_mem_offset() • posix_typed_mem_get_info() • posix_typed_mem_open()

5.47. 251 RTEMS POSIX 1003.1 Compliance Guide, Release 5.1 (26th August 2020)Chapter5 Section 5.48

5.48

The following methods and variables in are not supported: • msgctl() • msgget() • msgrcv() • msgsnd()

252 Chapter 5. POSIX-2003 Chapter 5 Section 5.49RTEMS POSIX 1003.1 Compliance Guide, Release 5.1 (26th August 2020)

5.49

The following methods and variables in are supported: • getrusage() The following methods and variables in are not supported: • getpriority() • getrlimit() • setpriority() • setrlimit()

5.49. 253 RTEMS POSIX 1003.1 Compliance Guide, Release 5.1 (26th August 2020)Chapter5 Section 5.50

5.50

The following methods and variables in are supported: • FD_CLR() • FD_ISSET() • FD_SET() • FD_ZERO() • select() The following methods and variables in are not supported: • pselect()

254 Chapter 5. POSIX-2003 Chapter 5 Section 5.51RTEMS POSIX 1003.1 Compliance Guide, Release 5.1 (26th August 2020)

5.51

The following methods and variables in are not supported: • semctl() • semget() • semop()

5.51. 255 RTEMS POSIX 1003.1 Compliance Guide, Release 5.1 (26th August 2020)Chapter5 Section 5.52

5.52

The following methods and variables in are not supported: • shmat() • shmctl() • shmdt() • shmget()

256 Chapter 5. POSIX-2003 Chapter 5 Section 5.53RTEMS POSIX 1003.1 Compliance Guide, Release 5.1 (26th August 2020)

5.53

The following methods and variables in are supported: • accept() • bind() • connect() • getpeername() • getsockname() • getsockopt() • listen() • recv() • recvfrom() • recvmsg() • send() • sendmsg() • sendto() • setsockopt() • shutdown() • socket() • socketpair() The following methods and variables in are not supported: • sockatmark()

5.53. 257 RTEMS POSIX 1003.1 Compliance Guide, Release 5.1 (26th August 2020)Chapter5 Section 5.54

5.54

The following methods and variables in are supported: • chmod() • fchmod() • fstat() • lstat() • mkdir() • mkfifo() • mknod() • stat() • umask()

258 Chapter 5. POSIX-2003 Chapter 5 Section 5.55RTEMS POSIX 1003.1 Compliance Guide, Release 5.1 (26th August 2020)

5.55

The following methods and variables in are supported: • statvfs() The following methods and variables in are not supported: • fstatvfs()

5.55. 259 RTEMS POSIX 1003.1 Compliance Guide, Release 5.1 (26th August 2020)Chapter5 Section 5.56

5.56

The following methods and variables in are supported: • gettimeofday() • times() • utimes() The following methods in are implemented as stubs returning -1 and setting errno to ENOSYS: • getitimer() • setitimer()

260 Chapter 5. POSIX-2003 Chapter 5 Section 5.57RTEMS POSIX 1003.1 Compliance Guide, Release 5.1 (26th August 2020)

5.57

The following methods and variables in are supported: • readv() • writev()

5.57. 261 RTEMS POSIX 1003.1 Compliance Guide, Release 5.1 (26th August 2020)Chapter5 Section 5.58

5.58

The following methods and variables in are supported: • uname()

262 Chapter 5. POSIX-2003 Chapter 5 Section 5.59RTEMS POSIX 1003.1 Compliance Guide, Release 5.1 (26th August 2020)

5.59

The following methods and variables in are supported: • wait() • waitpid() The following methods and variables in are not supported: • waitid()

5.59. 263 RTEMS POSIX 1003.1 Compliance Guide, Release 5.1 (26th August 2020)Chapter5 Section 5.60

5.60

The following methods and variables in are not supported: • closelog() • openlog() • setlogmask() • syslog()

264 Chapter 5. POSIX-2003 Chapter 5 Section 5.61RTEMS POSIX 1003.1 Compliance Guide, Release 5.1 (26th August 2020)

5.61

The following methods and variables in are supported: • cfgetispeed() • cfgetospeed() • cfsetispeed() • cfsetospeed() • tcdrain() • tcflow() • tcflush() • tcgetattr() • tcsendbreak() • tcsetattr() The following methods and variables in are not supported: • tcgetsid()

5.61. 265 RTEMS POSIX 1003.1 Compliance Guide, Release 5.1 (26th August 2020)Chapter5 Section 5.62

5.62

The following methods and variables in are supported: • asctime() • asctime_r() • clock() • clock_getres() • clock_gettime() • clock_nanosleep() • clock_settime() • ctime() • ctime_r() • difftime() • gmtime() • gmtime_r() • localtime() • localtime_r() • mktime() • nanosleep() • strftime() • strptime() • time() • timer_create() • timer_delete() • timer_getoverrun() • timer_gettime() • timer_settime() • timezone • tzname • tzset() The following methods in are implemented as stubs returning -1 and setting errno to ENOSYS: • clock_getcpuclockid() The following methods and variables in are not supported: • daylight

266 Chapter 5. POSIX-2003 Chapter 5 Section 5.62RTEMS POSIX 1003.1 Compliance Guide, Release 5.1 (26th August 2020)

• getdate() • getdate_err

5.62. 267 RTEMS POSIX 1003.1 Compliance Guide, Release 5.1 (26th August 2020)Chapter5 Section 5.63

5.63

The following methods and variables in are not supported: • posix_trace_attr_destroy() • posix_trace_attr_getclockres() • posix_trace_attr_getcreatetime() • posix_trace_attr_getgenversion() • posix_trace_attr_getinherited() • posix_trace_attr_getlogfullpolicy() • posix_trace_attr_getlogsize() • posix_trace_attr_getmaxdatasize() • posix_trace_attr_getmaxsystemeventsize() • posix_trace_attr_getmaxusereventsize() • posix_trace_attr_getname() • posix_trace_attr_getstreamfullpolicy() • posix_trace_attr_getstreamsize() • posix_trace_attr_init() • posix_trace_attr_setinherited() • posix_trace_attr_setlogfullpolicy() • posix_trace_attr_setlogsize() • posix_trace_attr_setmaxdatasize() • posix_trace_attr_setname() • posix_trace_attr_setstreamfullpolicy() • posix_trace_attr_setstreamsize() • posix_trace_clear() • posix_trace_close() • posix_trace_create() • posix_trace_create_withlog() • posix_trace_event() • posix_trace_eventid_equal() • posix_trace_eventid_get_name() • posix_trace_eventid_open() • posix_trace_eventset_add() • posix_trace_eventset_del() • posix_trace_eventset_empty()

268 Chapter 5. POSIX-2003 Chapter 5 Section 5.63RTEMS POSIX 1003.1 Compliance Guide, Release 5.1 (26th August 2020)

• posix_trace_eventset_fill() • posix_trace_eventset_ismember() • posix_trace_eventtypelist_getnext_id() • posix_trace_eventtypelist_rewind() • posix_trace_flush() • posix_trace_get_attr() • posix_trace_get_filter() • posix_trace_get_status() • posix_trace_getnext_event() • posix_trace_open() • posix_trace_rewind() • posix_trace_set_filter() • posix_trace_shutdown() • posix_trace_start() • posix_trace_stop() • posix_trace_timedgetnext_event() • posix_trace_trid_eventid_open() • posix_trace_trygetnext_event()

5.63. 269 RTEMS POSIX 1003.1 Compliance Guide, Release 5.1 (26th August 2020)Chapter5 Section 5.64

5.64

The following methods and variables in are not supported: • ulimit()

270 Chapter 5. POSIX-2003 Chapter 5 Section 5.65RTEMS POSIX 1003.1 Compliance Guide, Release 5.1 (26th August 2020)

5.65

The following methods and variables in are supported: • _exit() • access() • alarm() • chdir() • chown() • close() • dup() • dup2() • environ • fchdir() • fchown() • fdatasync() • fpathconf() • fsync() • ftruncate() • getcwd() • getegid() • geteuid() • getgid() • getgroups() • gethostname() • getlogin() • getlogin_r() • getopt() • getpgrp() • getpid() • getppid() • getuid() • isatty() • lchown() • link() • lseek()

5.65. 271 RTEMS POSIX 1003.1 Compliance Guide, Release 5.1 (26th August 2020)Chapter5 Section 5.65

• optarg • opterr • optind • optopt • pathconf() • pause() • pipe() • pread() • pwrite() • read() • readlink() • rmdir() • setegid() • seteuid() • setgid() • setpgid() • setsid() • setuid() • sleep() • swab() • symlink() • sync() • sysconf() • tcgetpgrp() • tcsetpgrp() • truncate() • ttyname() • ttyname_r() • ualarm() • unlink() • usleep() • write() The following methods in are implemented as stubs returning -1 and setting errno to ENOSYS: • execl()

272 Chapter 5. POSIX-2003 Chapter 5 Section 5.65RTEMS POSIX 1003.1 Compliance Guide, Release 5.1 (26th August 2020)

• execle() • execlp() • execv() • execve() • execvp() • fork() The following methods and variables in are not supported: • confstr() • crypt() • encrypt() • gethostid() • getpgid() • getsid() • lockf() • nice() • setpgrp() • setregid() • setreuid()

5.65. 273 RTEMS POSIX 1003.1 Compliance Guide, Release 5.1 (26th August 2020)Chapter5 Section 5.66

5.66

The following methods and variables in are supported: • utime()

274 Chapter 5. POSIX-2003 Chapter 5 Section 5.67RTEMS POSIX 1003.1 Compliance Guide, Release 5.1 (26th August 2020)

5.67

The following methods and variables in are not supported: • endutxent() • getutxent() • getutxid() • getutxline() • pututxline() • setutxent()

5.67. 275 RTEMS POSIX 1003.1 Compliance Guide, Release 5.1 (26th August 2020)Chapter5 Section 5.68

5.68

The following methods and variables in are supported: • btowc() • fgetwc() • fgetws() • fputwc() • fputws() • fwide() • fwprintf() • fwscanf() • getwc() • getwchar() • mbrlen() • mbrtowc() • mbsinit() • mbsrtowcs() • putwc() • putwchar() • swprintf() • swscanf() • ungetwc() • vfwprintf() • vfwscanf() • vswprintf() • vswscanf() • vwprintf() • vwscanf() • wcrtomb() • wcscat() • wcschr() • wcscmp() • wcscoll() • wcscpy() • wcscspn()

276 Chapter 5. POSIX-2003 Chapter 5 Section 5.68RTEMS POSIX 1003.1 Compliance Guide, Release 5.1 (26th August 2020)

• wcsftime() • wcslen() • wcsncat() • wcsncmp() • wcsncpy() • wcsnlen() • wcsnrtombs() • wcspbrk() • wcsrchr() • wcsrtombs() • wcsspn() • wcsstr() • wcstod() • wcstof() • wcstok() • wcstol() • wcstold() • wcstoll() • wcstoul() • wcstoull() • wcswidth() • wcsxfrm() • wctob() • wcwidth() • wmemchr() • wmemcmp() • wmemcpy() • wmemmove() • wmemset() • wprintf() • wscanf()

5.68. 277 RTEMS POSIX 1003.1 Compliance Guide, Release 5.1 (26th August 2020)Chapter5 Section 5.69

5.69

The following methods and variables in are supported: • iswalnum() • iswalpha() • iswblank() • iswcntrl() • iswctype() • iswdigit() • iswgraph() • iswlower() • iswprint() • iswpunct() • iswspace() • iswupper() • iswxdigit() • towctrans() • towlower() • towupper() • wctrans() • wctype()

278 Chapter 5. POSIX-2003 Chapter 5 Section 5.70RTEMS POSIX 1003.1 Compliance Guide, Release 5.1 (26th August 2020)

5.70

The following methods and variables in are not supported: • wordexp() • wordfree()

5.70. 279 RTEMS POSIX 1003.1 Compliance Guide, Release 5.1 (26th August 2020)Chapter5 Section 5.70

280 Chapter 5. POSIX-2003 CHAPTER SIX

POSIX PSE51 - MINIMAL

This chapter has a subsection per header file to detail the methods provided by RTEMS that are in that header file.

281 RTEMS POSIX 1003.1 Compliance Guide, Release 5.1 (26th August 2020)Chapter6 Section 6.1

6.1 Summary

The follow table summarizes alignment with the POSIX PSE51 - Minimal standard:

Supported 270 ENOSYS 2 Not supported 12

282 Chapter 6. POSIX PSE51 - Minimal Chapter 6 Section 6.2RTEMS POSIX 1003.1 Compliance Guide, Release 5.1 (26th August 2020)

6.2

The following methods and variables in are supported: • isalnum() • isalpha() • isblank() • iscntrl() • isdigit() • isgraph() • islower() • isprint() • ispunct() • isspace() • isupper() • isxdigit() • tolower() • toupper()

6.2. 283 RTEMS POSIX 1003.1 Compliance Guide, Release 5.1 (26th August 2020)Chapter6 Section 6.3

6.3

The following methods and variables in are supported: • errno

284 Chapter 6. POSIX PSE51 - Minimal Chapter 6 Section 6.4RTEMS POSIX 1003.1 Compliance Guide, Release 5.1 (26th August 2020)

6.4

The following methods and variables in are supported: • open()

6.4. 285 RTEMS POSIX 1003.1 Compliance Guide, Release 5.1 (26th August 2020)Chapter6 Section 6.5

6.5

The following methods and variables in are not supported: • feclearexcept() • fegetenv() • fegetexceptflag() • fegetround() • feholdexcept() • feraiseexcept() • fesetenv() • fesetexceptflag() • fesetround() • fetestexcept() • feupdateenv()

286 Chapter 6. POSIX PSE51 - Minimal Chapter 6 Section 6.6RTEMS POSIX 1003.1 Compliance Guide, Release 5.1 (26th August 2020)

6.6

The following methods and variables in are supported: • imaxabs() • imaxdiv() • strtoimax() • strtoumax()

6.6. 287 RTEMS POSIX 1003.1 Compliance Guide, Release 5.1 (26th August 2020)Chapter6 Section 6.7

6.7

The following methods and variables in are supported: • localeconv() • setlocale()

288 Chapter 6. POSIX PSE51 - Minimal Chapter 6 Section 6.8RTEMS POSIX 1003.1 Compliance Guide, Release 5.1 (26th August 2020)

6.8

The following methods and variables in are supported: • pthread_attr_destroy() • pthread_attr_getdetachstate() • pthread_attr_getguardsize() • pthread_attr_getinheritsched() • pthread_attr_getschedparam() • pthread_attr_getschedpolicy() • pthread_attr_getscope() • pthread_attr_getstack() • pthread_attr_getstackaddr() • pthread_attr_getstacksize() • pthread_attr_init() • pthread_attr_setdetachstate() • pthread_attr_setguardsize() • pthread_attr_setinheritsched() • pthread_attr_setschedparam() • pthread_attr_setschedpolicy() • pthread_attr_setscope() • pthread_attr_setstack() • pthread_attr_setstackaddr() • pthread_attr_setstacksize() • pthread_cancel() • pthread_cleanup_pop() • pthread_cleanup_push() • pthread_cond_broadcast() • pthread_cond_destroy() • pthread_cond_init() • pthread_cond_signal() • pthread_cond_timedwait() • pthread_cond_wait() • pthread_condattr_destroy() • pthread_condattr_getclock() • pthread_condattr_init()

6.8. 289 RTEMS POSIX 1003.1 Compliance Guide, Release 5.1 (26th August 2020)Chapter6 Section 6.8

• pthread_condattr_setclock() • pthread_create() • pthread_detach() • pthread_equal() • pthread_exit() • pthread_getconcurrency() • pthread_getschedparam() • pthread_getspecific() • pthread_join() • pthread_key_create() • pthread_key_delete() • pthread_mutex_destroy() • pthread_mutex_getprioceiling() • pthread_mutex_init() • pthread_mutex_lock() • pthread_mutex_setprioceiling() • pthread_mutex_trylock() • pthread_mutex_unlock() • pthread_mutexattr_destroy() • pthread_mutexattr_getprioceiling() • pthread_mutexattr_getprotocol() • pthread_mutexattr_gettype() • pthread_mutexattr_init() • pthread_mutexattr_setprioceiling() • pthread_mutexattr_setprotocol() • pthread_mutexattr_settype() • pthread_once() • pthread_self() • pthread_setcancelstate() • pthread_setcanceltype() • pthread_setconcurrency() • pthread_setschedparam() • pthread_setschedprio() • pthread_setspecific()

290 Chapter 6. POSIX PSE51 - Minimal Chapter 6 Section 6.8RTEMS POSIX 1003.1 Compliance Guide, Release 5.1 (26th August 2020)

• pthread_testcancel() The following methods in are implemented as stubs returning -1 and setting errno to ENOSYS: • pthread_atfork() • pthread_getcpuclockid()

6.8. 291 RTEMS POSIX 1003.1 Compliance Guide, Release 5.1 (26th August 2020)Chapter6 Section 6.9

6.9

The following methods and variables in are supported: • sched_get_priority_max() • sched_get_priority_min() • sched_rr_get_interval()

292 Chapter 6. POSIX PSE51 - Minimal Chapter 6 Section 6.10RTEMS POSIX 1003.1 Compliance Guide, Release 5.1 (26th August 2020)

6.10

The following methods and variables in are supported: • sem_close() • sem_destroy() • sem_getvalue() • sem_init() • sem_open() • sem_post() • sem_timedwait() • sem_trywait() • sem_unlink() • sem_wait()

6.10. 293 RTEMS POSIX 1003.1 Compliance Guide, Release 5.1 (26th August 2020)Chapter6 Section 6.11

6.11

The following methods and variables in are supported: • longjmp() • setjmp()

294 Chapter 6. POSIX PSE51 - Minimal Chapter 6 Section 6.12RTEMS POSIX 1003.1 Compliance Guide, Release 5.1 (26th August 2020)

6.12

The following methods and variables in are supported: • kill() • pthread_kill() • pthread_sigmask() • raise() • sigaction() • sigaddset() • sigdelset() • sigemptyset() • sigfillset() • sigismember() • signal() • sigpending() • sigprocmask() • sigqueue() • sigsuspend() • sigtimedwait() • sigwait() • sigwaitinfo()

6.12. 295 RTEMS POSIX 1003.1 Compliance Guide, Release 5.1 (26th August 2020)Chapter6 Section 6.13

6.13

The following methods and variables in are supported: • va_arg() • va_copy() • va_end() • va_start()

296 Chapter 6. POSIX PSE51 - Minimal Chapter 6 Section 6.14RTEMS POSIX 1003.1 Compliance Guide, Release 5.1 (26th August 2020)

6.14

The following methods and variables in are supported: • clearerr() • fclose() • fdopen() • feof() • ferror() • fflush() • fgetc() • fgets() • fileno() • flockfile() • fopen() • fprintf() • fputc() • fputs() • fread() • freopen() • fscanf() • ftrylockfile() • funlockfile() • fwrite() • getc() • getc_unlocked() • getchar() • getchar_unlocked() • gets() • perror() • printf() • putc() • putc_unlocked() • putchar() • putchar_unlocked() • puts()

6.14. 297 RTEMS POSIX 1003.1 Compliance Guide, Release 5.1 (26th August 2020)Chapter6 Section 6.14

• scanf() • setbuf() • setvbuf() • snprintf() • sprintf() • sscanf() • stderr • stdin • stdout • ungetc() • vfprintf() • vfscanf() • vprintf() • vscanf() • vsnprintf() • vsprintf() • vsscanf()

298 Chapter 6. POSIX PSE51 - Minimal Chapter 6 Section 6.15RTEMS POSIX 1003.1 Compliance Guide, Release 5.1 (26th August 2020)

6.15

The following methods and variables in are supported: • abort() • abs() • atof() • atoi() • atol() • atoll() • bsearch() • calloc() • div() • free() • getenv() • labs() • ldiv() • llabs() • lldiv() • malloc() • qsort() • rand() • rand_r() • realloc() • setenv() • srand() • strtod() • strtof() • strtol() • strtold() • strtoll() • strtoul() • strtoull() • unsetenv()

6.15. 299 RTEMS POSIX 1003.1 Compliance Guide, Release 5.1 (26th August 2020)Chapter6 Section 6.16

6.16

The following methods and variables in are supported: • memchr() • memcmp() • memcpy() • memmove() • memset() • strcat() • strchr() • strcmp() • strcoll() • strcpy() • strcspn() • strerror() • strerror_r() • strlen() • strncat() • strncmp() • strncpy() • strpbrk() • strrchr() • strspn() • strstr() • strtok() • strtok_r() • strxfrm()

300 Chapter 6. POSIX PSE51 - Minimal Chapter 6 Section 6.17RTEMS POSIX 1003.1 Compliance Guide, Release 5.1 (26th August 2020)

6.17

The following methods and variables in are supported: • mlock() • mlockall() • mmap() • munlock() • munmap() • shm_open() • shm_unlink()

6.17. 301 RTEMS POSIX 1003.1 Compliance Guide, Release 5.1 (26th August 2020)Chapter6 Section 6.18

6.18

The following methods and variables in are supported: • uname()

302 Chapter 6. POSIX PSE51 - Minimal Chapter 6 Section 6.19RTEMS POSIX 1003.1 Compliance Guide, Release 5.1 (26th August 2020)

6.19

The following methods and variables in are supported: • asctime() • asctime_r() • clock_getres() • clock_gettime() • clock_nanosleep() • clock_settime() • ctime() • ctime_r() • difftime() • gmtime() • gmtime_r() • localtime() • localtime_r() • mktime() • nanosleep() • strftime() • time() • timer_create() • timer_delete() • timer_getoverrun() • timer_gettime() • timer_settime() • tzname • tzset()

6.19. 303 RTEMS POSIX 1003.1 Compliance Guide, Release 5.1 (26th August 2020)Chapter6 Section 6.20

6.20

The following methods and variables in are supported: • alarm() • close() • environ • fdatasync() • fsync() • pause() • read() • sysconf() • write() The following methods and variables in are not supported: • confstr()

304 Chapter 6. POSIX PSE51 - Minimal CHAPTER SEVEN

POSIX PSE52 - REAL-TIME CONTROLLER

This chapter has a subsection per header file to detail the methods provided by RTEMS that are in that header file.

305 RTEMS POSIX 1003.1 Compliance Guide, Release 5.1 (26th August 2020)Chapter7 Section 7.1

7.1 Summary

The follow table summarizes alignment with the POSIX PSE52 - Real-Time Controller standard:

Supported 553 ENOSYS 2 Not supported 73

306 Chapter 7. POSIX PSE52 - Real-Time Controller Chapter 7 Section 7.2RTEMS POSIX 1003.1 Compliance Guide, Release 5.1 (26th August 2020)

7.2

The following methods and variables in are supported: • cabs() • cabsf() • cabsl() • cacos() • cacosf() • cacosh() • cacoshf() • cacoshl() • cacosl() • carg() • cargf() • cargl() • casin() • casinf() • casinh() • casinhf() • casinhl() • casinl() • catan() • catanf() • catanh() • catanhf() • catanhl() • catanl() • ccos() • ccosf() • ccosh() • ccoshf() • ccoshl() • ccosl() • cexp() • cexpf()

7.2. 307 RTEMS POSIX 1003.1 Compliance Guide, Release 5.1 (26th August 2020)Chapter7 Section 7.2

• cexpl() • cimag() • cimagf() • cimagl() • clog() • clogf() • clogl() • conj() • conjf() • conjl() • cpow() • cpowf() • cpowl() • cproj() • cprojf() • cprojl() • creal() • crealf() • creall() • csin() • csinf() • csinh() • csinhf() • csinhl() • csinl() • csqrt() • csqrtf() • csqrtl() • ctan() • ctanf() • ctanh() • ctanhf() • ctanhl() • ctanl()

308 Chapter 7. POSIX PSE52 - Real-Time Controller Chapter 7 Section 7.3RTEMS POSIX 1003.1 Compliance Guide, Release 5.1 (26th August 2020)

7.3

The following methods and variables in are supported: • isalnum() • isalpha() • isblank() • iscntrl() • isdigit() • isgraph() • islower() • isprint() • ispunct() • isspace() • isupper() • isxdigit() • tolower() • toupper()

7.3. 309 RTEMS POSIX 1003.1 Compliance Guide, Release 5.1 (26th August 2020)Chapter7 Section 7.4

7.4

The following methods and variables in are supported: • closedir() • opendir() • readdir() • readdir_r() • rewinddir()

310 Chapter 7. POSIX PSE52 - Real-Time Controller Chapter 7 Section 7.5RTEMS POSIX 1003.1 Compliance Guide, Release 5.1 (26th August 2020)

7.5

The following methods and variables in are supported: • errno

7.5. 311 RTEMS POSIX 1003.1 Compliance Guide, Release 5.1 (26th August 2020)Chapter7 Section 7.6

7.6

The following methods and variables in are supported: • creat() • fcntl() • open()

312 Chapter 7. POSIX PSE52 - Real-Time Controller Chapter 7 Section 7.7RTEMS POSIX 1003.1 Compliance Guide, Release 5.1 (26th August 2020)

7.7

The following methods and variables in are not supported: • feclearexcept() • fegetenv() • fegetexceptflag() • fegetround() • feholdexcept() • feraiseexcept() • fesetenv() • fesetexceptflag() • fesetround() • fetestexcept() • feupdateenv()

7.7. 313 RTEMS POSIX 1003.1 Compliance Guide, Release 5.1 (26th August 2020)Chapter7 Section 7.8

7.8

The following methods and variables in are supported: • imaxabs() • imaxdiv() • strtoimax() • strtoumax()

314 Chapter 7. POSIX PSE52 - Real-Time Controller Chapter 7 Section 7.9RTEMS POSIX 1003.1 Compliance Guide, Release 5.1 (26th August 2020)

7.9

The following methods and variables in are supported: • localeconv() • setlocale()

7.9. 315 RTEMS POSIX 1003.1 Compliance Guide, Release 5.1 (26th August 2020)Chapter7 Section 7.10

7.10

The following methods and variables in are supported: • acos() • acosf() • acosh() • acoshf() • acoshl() • acosl() • asin() • asinf() • asinh() • asinhf() • asinhl() • asinl() • atan() • atan2() • atan2f() • atan2l() • atanf() • atanh() • atanhf() • atanhl() • atanl() • cbrt() • cbrtf() • cbrtl() • ceil() • ceilf() • ceill() • copysign() • copysignf() • copysignl() • cos() • cosf()

316 Chapter 7. POSIX PSE52 - Real-Time Controller Chapter 7 Section 7.10RTEMS POSIX 1003.1 Compliance Guide, Release 5.1 (26th August 2020)

• cosh() • coshf() • coshl() • cosl() • erf() • erfc() • erfcf() • erfcl() • erff() • erfl() • exp() • exp2() • exp2f() • exp2l() • expf() • expl() • expm1() • expm1f() • expm1l() • fabs() • fabsf() • fabsl() • fdim() • fdimf() • fdiml() • floor() • floorf() • floorl() • fma() • fmaf() • fmal() • fmax() • fmaxf() • fmaxl()

7.10. 317 RTEMS POSIX 1003.1 Compliance Guide, Release 5.1 (26th August 2020)Chapter7 Section 7.10

• fmin() • fminf() • fminl() • fmod() • fmodf() • fmodl() • frexp() • frexpf() • frexpl() • hypot() • hypotf() • hypotl() • ilogb() • ilogbf() • ilogbl() • isinf() • isnan() • ldexp() • ldexpf() • ldexpl() • lgamma() • lgammaf() • lgammal() • llrint() • llrintf() • llrintl() • llround() • llroundf() • llroundl() • log() • log10() • log10f() • log10l() • log1p()

318 Chapter 7. POSIX PSE52 - Real-Time Controller Chapter 7 Section 7.10RTEMS POSIX 1003.1 Compliance Guide, Release 5.1 (26th August 2020)

• log1pf() • log1pl() • log2() • log2f() • log2l() • logb() • logbf() • logbl() • logf() • logl() • lrint() • lrintf() • lrintl() • lround() • lroundf() • lroundl() • modf() • modff() • modfl() • nan() • nanf() • nanl() • nearbyint() • nearbyintf() • nearbyintl() • nextafter() • nextafterf() • nextafterl() • nexttoward() • nexttowardl() • pow() • powf() • powl() • remainder()

7.10. 319 RTEMS POSIX 1003.1 Compliance Guide, Release 5.1 (26th August 2020)Chapter7 Section 7.10

• remainderf() • remainderl() • remquo() • remquof() • remquol() • rint() • rintf() • rintl() • round() • roundf() • roundl() • scalbln() • scalblnf() • scalblnl() • scalbn() • scalbnf() • scalbnl() • sin() • sinf() • sinh() • sinhf() • sinhl() • sinl() • sqrt() • sqrtf() • sqrtl() • tan() • tanf() • tanh() • tanhf() • tanhl() • tanl() • tgamma() • tgammaf()

320 Chapter 7. POSIX PSE52 - Real-Time Controller Chapter 7 Section 7.10RTEMS POSIX 1003.1 Compliance Guide, Release 5.1 (26th August 2020)

• tgammal() • trunc() • truncf() • truncl() The following methods and variables in are not supported: • fpclassify() • isfinite() • isgreater() • isgreaterequal() • isless() • islessequal() • islessgreater() • isnormal() • isunordered() • nexttowardf() • signbit()

7.10. 321 RTEMS POSIX 1003.1 Compliance Guide, Release 5.1 (26th August 2020)Chapter7 Section 7.11

7.11

The following methods and variables in are supported: • mq_close() • mq_getattr() • mq_notify() • mq_open() • mq_receive() • mq_send() • mq_setattr() • mq_timedreceive() • mq_timedsend() • mq_unlink()

322 Chapter 7. POSIX PSE52 - Real-Time Controller Chapter 7 Section 7.12RTEMS POSIX 1003.1 Compliance Guide, Release 5.1 (26th August 2020)

7.12

The following methods and variables in are supported: • pthread_attr_destroy() • pthread_attr_getdetachstate() • pthread_attr_getguardsize() • pthread_attr_getinheritsched() • pthread_attr_getschedparam() • pthread_attr_getschedpolicy() • pthread_attr_getscope() • pthread_attr_getstack() • pthread_attr_getstackaddr() • pthread_attr_getstacksize() • pthread_attr_init() • pthread_attr_setdetachstate() • pthread_attr_setguardsize() • pthread_attr_setinheritsched() • pthread_attr_setschedparam() • pthread_attr_setschedpolicy() • pthread_attr_setscope() • pthread_attr_setstack() • pthread_attr_setstackaddr() • pthread_attr_setstacksize() • pthread_cancel() • pthread_cleanup_pop() • pthread_cleanup_push() • pthread_cond_broadcast() • pthread_cond_destroy() • pthread_cond_init() • pthread_cond_signal() • pthread_cond_timedwait() • pthread_cond_wait() • pthread_condattr_destroy() • pthread_condattr_getclock() • pthread_condattr_init()

7.12. 323 RTEMS POSIX 1003.1 Compliance Guide, Release 5.1 (26th August 2020)Chapter7 Section 7.12

• pthread_condattr_setclock() • pthread_create() • pthread_detach() • pthread_equal() • pthread_exit() • pthread_getconcurrency() • pthread_getschedparam() • pthread_getspecific() • pthread_join() • pthread_key_create() • pthread_key_delete() • pthread_mutex_destroy() • pthread_mutex_getprioceiling() • pthread_mutex_init() • pthread_mutex_lock() • pthread_mutex_setprioceiling() • pthread_mutex_trylock() • pthread_mutex_unlock() • pthread_mutexattr_destroy() • pthread_mutexattr_getprioceiling() • pthread_mutexattr_getprotocol() • pthread_mutexattr_gettype() • pthread_mutexattr_init() • pthread_mutexattr_setprioceiling() • pthread_mutexattr_setprotocol() • pthread_mutexattr_settype() • pthread_once() • pthread_self() • pthread_setcancelstate() • pthread_setcanceltype() • pthread_setconcurrency() • pthread_setschedparam() • pthread_setschedprio() • pthread_setspecific()

324 Chapter 7. POSIX PSE52 - Real-Time Controller Chapter 7 Section 7.12RTEMS POSIX 1003.1 Compliance Guide, Release 5.1 (26th August 2020)

• pthread_testcancel() The following methods in are implemented as stubs returning -1 and setting errno to ENOSYS: • pthread_atfork() • pthread_getcpuclockid()

7.12. 325 RTEMS POSIX 1003.1 Compliance Guide, Release 5.1 (26th August 2020)Chapter7 Section 7.13

7.13

The following methods and variables in are supported: • sched_get_priority_max() • sched_get_priority_min() • sched_rr_get_interval()

326 Chapter 7. POSIX PSE52 - Real-Time Controller Chapter 7 Section 7.14RTEMS POSIX 1003.1 Compliance Guide, Release 5.1 (26th August 2020)

7.14

The following methods and variables in are supported: • sem_close() • sem_destroy() • sem_getvalue() • sem_init() • sem_open() • sem_post() • sem_timedwait() • sem_trywait() • sem_unlink() • sem_wait()

7.14. 327 RTEMS POSIX 1003.1 Compliance Guide, Release 5.1 (26th August 2020)Chapter7 Section 7.15

7.15

The following methods and variables in are supported: • longjmp() • setjmp()

328 Chapter 7. POSIX PSE52 - Real-Time Controller Chapter 7 Section 7.16RTEMS POSIX 1003.1 Compliance Guide, Release 5.1 (26th August 2020)

7.16

The following methods and variables in are supported: • kill() • pthread_kill() • pthread_sigmask() • raise() • sigaction() • sigaddset() • sigdelset() • sigemptyset() • sigfillset() • sigismember() • signal() • sigpending() • sigprocmask() • sigqueue() • sigsuspend() • sigtimedwait() • sigwait() • sigwaitinfo()

7.16. 329 RTEMS POSIX 1003.1 Compliance Guide, Release 5.1 (26th August 2020)Chapter7 Section 7.17

7.17

The following methods and variables in are supported: • va_arg() • va_copy() • va_end() • va_start()

330 Chapter 7. POSIX PSE52 - Real-Time Controller Chapter 7 Section 7.18RTEMS POSIX 1003.1 Compliance Guide, Release 5.1 (26th August 2020)

7.18

The following methods and variables in are supported: • clearerr() • fclose() • fdopen() • feof() • ferror() • fflush() • fgetc() • fgetpos() • fgets() • fileno() • flockfile() • fopen() • fprintf() • fputc() • fputs() • fread() • freopen() • fscanf() • fseek() • fseeko() • fsetpos() • ftell() • ftello() • ftrylockfile() • funlockfile() • fwrite() • getc() • getc_unlocked() • getchar() • getchar_unlocked() • gets() • perror()

7.18. 331 RTEMS POSIX 1003.1 Compliance Guide, Release 5.1 (26th August 2020)Chapter7 Section 7.18

• printf() • putc() • putc_unlocked() • putchar() • putchar_unlocked() • puts() • remove() • rename() • rewind() • scanf() • setbuf() • setvbuf() • snprintf() • sprintf() • sscanf() • stderr • stdin • stdout • tmpfile() • tmpnam() • ungetc() • vfprintf() • vfscanf() • vprintf() • vscanf() • vsnprintf() • vsprintf() • vsscanf()

332 Chapter 7. POSIX PSE52 - Real-Time Controller Chapter 7 Section 7.19RTEMS POSIX 1003.1 Compliance Guide, Release 5.1 (26th August 2020)

7.19

The following methods and variables in are supported: • abort() • abs() • atof() • atoi() • atol() • atoll() • bsearch() • calloc() • div() • free() • getenv() • labs() • ldiv() • llabs() • lldiv() • malloc() • qsort() • rand() • rand_r() • realloc() • setenv() • srand() • strtod() • strtof() • strtol() • strtold() • strtoll() • strtoul() • strtoull() • unsetenv()

7.19. 333 RTEMS POSIX 1003.1 Compliance Guide, Release 5.1 (26th August 2020)Chapter7 Section 7.20

7.20

The following methods and variables in are supported: • memchr() • memcmp() • memcpy() • memmove() • memset() • strcat() • strchr() • strcmp() • strcoll() • strcpy() • strcspn() • strerror() • strerror_r() • strlen() • strncat() • strncmp() • strncpy() • strpbrk() • strrchr() • strspn() • strstr() • strtok() • strtok_r() • strxfrm()

334 Chapter 7. POSIX PSE52 - Real-Time Controller Chapter 7 Section 7.21RTEMS POSIX 1003.1 Compliance Guide, Release 5.1 (26th August 2020)

7.21

The following methods and variables in are supported: • mlock() • mlockall() • mmap() • msync() • munlock() • munmap() • shm_open() • shm_unlink()

7.21. 335 RTEMS POSIX 1003.1 Compliance Guide, Release 5.1 (26th August 2020)Chapter7 Section 7.22

7.22

The following methods and variables in are supported: • fstat() • mkdir() • stat()

336 Chapter 7. POSIX PSE52 - Real-Time Controller Chapter 7 Section 7.23RTEMS POSIX 1003.1 Compliance Guide, Release 5.1 (26th August 2020)

7.23

The following methods and variables in are supported: • uname()

7.23. 337 RTEMS POSIX 1003.1 Compliance Guide, Release 5.1 (26th August 2020)Chapter7 Section 7.24

7.24

The following methods and variables in are supported: • asctime() • asctime_r() • clock_getres() • clock_gettime() • clock_nanosleep() • clock_settime() • ctime() • ctime_r() • difftime() • gmtime() • gmtime_r() • localtime() • localtime_r() • mktime() • nanosleep() • strftime() • time() • timer_create() • timer_delete() • timer_getoverrun() • timer_gettime() • timer_settime() • tzname • tzset()

338 Chapter 7. POSIX PSE52 - Real-Time Controller Chapter 7 Section 7.25RTEMS POSIX 1003.1 Compliance Guide, Release 5.1 (26th August 2020)

7.25

The following methods and variables in are not supported: • posix_trace_attr_destroy() • posix_trace_attr_getclockres() • posix_trace_attr_getcreatetime() • posix_trace_attr_getgenversion() • posix_trace_attr_getinherited() • posix_trace_attr_getlogfullpolicy() • posix_trace_attr_getlogsize() • posix_trace_attr_getmaxdatasize() • posix_trace_attr_getmaxsystemeventsize() • posix_trace_attr_getmaxusereventsize() • posix_trace_attr_getname() • posix_trace_attr_getstreamfullpolicy() • posix_trace_attr_getstreamsize() • posix_trace_attr_init() • posix_trace_attr_setinherited() • posix_trace_attr_setlogfullpolicy() • posix_trace_attr_setlogsize() • posix_trace_attr_setmaxdatasize() • posix_trace_attr_setname() • posix_trace_attr_setstreamfullpolicy() • posix_trace_attr_setstreamsize() • posix_trace_clear() • posix_trace_close() • posix_trace_create() • posix_trace_create_withlog() • posix_trace_event() • posix_trace_eventid_equal() • posix_trace_eventid_get_name() • posix_trace_eventid_open() • posix_trace_eventset_add() • posix_trace_eventset_del() • posix_trace_eventset_empty()

7.25. 339 RTEMS POSIX 1003.1 Compliance Guide, Release 5.1 (26th August 2020)Chapter7 Section 7.25

• posix_trace_eventset_fill() • posix_trace_eventset_ismember() • posix_trace_eventtypelist_getnext_id() • posix_trace_eventtypelist_rewind() • posix_trace_flush() • posix_trace_get_attr() • posix_trace_get_filter() • posix_trace_get_status() • posix_trace_getnext_event() • posix_trace_open() • posix_trace_rewind() • posix_trace_set_filter() • posix_trace_shutdown() • posix_trace_start() • posix_trace_stop() • posix_trace_timedgetnext_event() • posix_trace_trid_eventid_open() • posix_trace_trygetnext_event()

340 Chapter 7. POSIX PSE52 - Real-Time Controller Chapter 7 Section 7.26RTEMS POSIX 1003.1 Compliance Guide, Release 5.1 (26th August 2020)

7.26

The following methods and variables in are supported: • access() • alarm() • chdir() • close() • dup() • dup2() • environ • fdatasync() • fpathconf() • fsync() • ftruncate() • getcwd() • link() • lseek() • pathconf() • pause() • read() • rmdir() • sysconf() • unlink() • write() The following methods and variables in are not supported: • confstr()

7.26. 341 RTEMS POSIX 1003.1 Compliance Guide, Release 5.1 (26th August 2020)Chapter7 Section 7.27

7.27

The following methods and variables in are supported: • utime()

342 Chapter 7. POSIX PSE52 - Real-Time Controller CHAPTER EIGHT

POSIX PSE53 - DEDICATED

This chapter has a subsection per header file to detail the methods provided by RTEMS that are in that header file.

343 RTEMS POSIX 1003.1 Compliance Guide, Release 5.1 (26th August 2020)Chapter8 Section 8.1

8.1 Summary

The follow table summarizes alignment with the POSIX PSE53 - Dedicated standard:

Supported 639 ENOSYS 16 Not supported 96

344 Chapter 8. POSIX PSE53 - Dedicated Chapter 8 Section 8.2RTEMS POSIX 1003.1 Compliance Guide, Release 5.1 (26th August 2020)

8.2

The following methods and variables in are supported: • aio_cancel() • aio_error() • aio_fsync() • aio_read() • aio_return() • aio_write() The following methods in are implemented as stubs returning -1 and setting errno to ENOSYS: • aio_suspend() • lio_listio()

8.2. 345 RTEMS POSIX 1003.1 Compliance Guide, Release 5.1 (26th August 2020)Chapter8 Section 8.3

8.3

The following methods and variables in are supported: • htonl() • htons() • inet_addr() • inet_ntoa() • inet_ntop() • inet_pton() • ntohl() • ntohs()

346 Chapter 8. POSIX PSE53 - Dedicated Chapter 8 Section 8.4RTEMS POSIX 1003.1 Compliance Guide, Release 5.1 (26th August 2020)

8.4

The following methods and variables in are supported: • assert()

8.4. 347 RTEMS POSIX 1003.1 Compliance Guide, Release 5.1 (26th August 2020)Chapter8 Section 8.5

8.5

The following methods and variables in are supported: • cabs() • cabsf() • cabsl() • cacos() • cacosf() • cacosh() • cacoshf() • cacoshl() • cacosl() • carg() • cargf() • cargl() • casin() • casinf() • casinh() • casinhf() • casinhl() • casinl() • catan() • catanf() • catanh() • catanhf() • catanhl() • catanl() • ccos() • ccosf() • ccosh() • ccoshf() • ccoshl() • ccosl() • cexp() • cexpf()

348 Chapter 8. POSIX PSE53 - Dedicated Chapter 8 Section 8.5RTEMS POSIX 1003.1 Compliance Guide, Release 5.1 (26th August 2020)

• cexpl() • cimag() • cimagf() • cimagl() • clog() • clogf() • clogl() • conj() • conjf() • conjl() • cpow() • cpowf() • cpowl() • cproj() • cprojf() • cprojl() • creal() • crealf() • creall() • csin() • csinf() • csinh() • csinhf() • csinhl() • csinl() • csqrt() • csqrtf() • csqrtl() • ctan() • ctanf() • ctanh() • ctanhf() • ctanhl() • ctanl()

8.5. 349 RTEMS POSIX 1003.1 Compliance Guide, Release 5.1 (26th August 2020)Chapter8 Section 8.6

8.6

The following methods and variables in are supported: • isalnum() • isalpha() • isblank() • iscntrl() • isdigit() • isgraph() • islower() • isprint() • ispunct() • isspace() • isupper() • isxdigit() • tolower() • toupper()

350 Chapter 8. POSIX PSE53 - Dedicated Chapter 8 Section 8.7RTEMS POSIX 1003.1 Compliance Guide, Release 5.1 (26th August 2020)

8.7

The following methods and variables in are supported: • closedir() • opendir() • readdir() • readdir_r() • rewinddir()

8.7. 351 RTEMS POSIX 1003.1 Compliance Guide, Release 5.1 (26th August 2020)Chapter8 Section 8.8

8.8

The following methods and variables in are supported: • errno

352 Chapter 8. POSIX PSE53 - Dedicated Chapter 8 Section 8.9RTEMS POSIX 1003.1 Compliance Guide, Release 5.1 (26th August 2020)

8.9

The following methods and variables in are supported: • creat() • fcntl() • open()

8.9. 353 RTEMS POSIX 1003.1 Compliance Guide, Release 5.1 (26th August 2020)Chapter8 Section 8.10

8.10

The following methods and variables in are not supported: • feclearexcept() • fegetenv() • fegetexceptflag() • fegetround() • feholdexcept() • feraiseexcept() • fesetenv() • fesetexceptflag() • fesetround() • fetestexcept() • feupdateenv()

354 Chapter 8. POSIX PSE53 - Dedicated Chapter 8 Section 8.11RTEMS POSIX 1003.1 Compliance Guide, Release 5.1 (26th August 2020)

8.11

The following methods and variables in are supported: • imaxabs() • imaxdiv() • strtoimax() • strtoumax()

8.11. 355 RTEMS POSIX 1003.1 Compliance Guide, Release 5.1 (26th August 2020)Chapter8 Section 8.12

8.12

The following methods and variables in are supported: • localeconv() • setlocale()

356 Chapter 8. POSIX PSE53 - Dedicated Chapter 8 Section 8.13RTEMS POSIX 1003.1 Compliance Guide, Release 5.1 (26th August 2020)

8.13

The following methods and variables in are supported: • acos() • acosf() • acosh() • acoshf() • acoshl() • acosl() • asin() • asinf() • asinh() • asinhf() • asinhl() • asinl() • atan() • atan2() • atan2f() • atan2l() • atanf() • atanh() • atanhf() • atanhl() • atanl() • cbrt() • cbrtf() • cbrtl() • ceil() • ceilf() • ceill() • copysign() • copysignf() • copysignl() • cos() • cosf()

8.13. 357 RTEMS POSIX 1003.1 Compliance Guide, Release 5.1 (26th August 2020)Chapter8 Section 8.13

• cosh() • coshf() • coshl() • cosl() • erf() • erfc() • erfcf() • erfcl() • erff() • erfl() • exp() • exp2() • exp2f() • exp2l() • expf() • expl() • expm1() • expm1f() • expm1l() • fabs() • fabsf() • fabsl() • fdim() • fdimf() • fdiml() • floor() • floorf() • floorl() • fma() • fmaf() • fmal() • fmax() • fmaxf() • fmaxl()

358 Chapter 8. POSIX PSE53 - Dedicated Chapter 8 Section 8.13RTEMS POSIX 1003.1 Compliance Guide, Release 5.1 (26th August 2020)

• fmin() • fminf() • fminl() • fmod() • fmodf() • fmodl() • frexp() • frexpf() • frexpl() • hypot() • hypotf() • hypotl() • ilogb() • ilogbf() • ilogbl() • isinf() • isnan() • ldexp() • ldexpf() • ldexpl() • lgamma() • lgammaf() • lgammal() • llrint() • llrintf() • llrintl() • llround() • llroundf() • llroundl() • log() • log10() • log10f() • log10l() • log1p()

8.13. 359 RTEMS POSIX 1003.1 Compliance Guide, Release 5.1 (26th August 2020)Chapter8 Section 8.13

• log1pf() • log1pl() • log2() • log2f() • log2l() • logb() • logbf() • logbl() • logf() • logl() • lrint() • lrintf() • lrintl() • lround() • lroundf() • lroundl() • modf() • modff() • modfl() • nan() • nanf() • nanl() • nearbyint() • nearbyintf() • nearbyintl() • nextafter() • nextafterf() • nextafterl() • nexttoward() • nexttowardl() • pow() • powf() • powl() • remainder()

360 Chapter 8. POSIX PSE53 - Dedicated Chapter 8 Section 8.13RTEMS POSIX 1003.1 Compliance Guide, Release 5.1 (26th August 2020)

• remainderf() • remainderl() • remquo() • remquof() • remquol() • rint() • rintf() • rintl() • round() • roundf() • roundl() • scalbln() • scalblnf() • scalblnl() • scalbn() • scalbnf() • scalbnl() • sin() • sinf() • sinh() • sinhf() • sinhl() • sinl() • sqrt() • sqrtf() • sqrtl() • tan() • tanf() • tanh() • tanhf() • tanhl() • tanl() • tgamma() • tgammaf()

8.13. 361 RTEMS POSIX 1003.1 Compliance Guide, Release 5.1 (26th August 2020)Chapter8 Section 8.13

• tgammal() • trunc() • truncf() • truncl() The following methods and variables in are not supported: • fpclassify() • isfinite() • isgreater() • isgreaterequal() • isless() • islessequal() • islessgreater() • isnormal() • isunordered() • nexttowardf() • signbit()

362 Chapter 8. POSIX PSE53 - Dedicated Chapter 8 Section 8.14RTEMS POSIX 1003.1 Compliance Guide, Release 5.1 (26th August 2020)

8.14

The following methods and variables in are supported: • mq_close() • mq_getattr() • mq_notify() • mq_open() • mq_receive() • mq_send() • mq_setattr() • mq_timedreceive() • mq_timedsend() • mq_unlink()

8.14. 363 RTEMS POSIX 1003.1 Compliance Guide, Release 5.1 (26th August 2020)Chapter8 Section 8.15

8.15

The following methods and variables in are supported: • if_freenameindex() • if_indextoname() • if_nameindex() • if_nametoindex()

364 Chapter 8. POSIX PSE53 - Dedicated Chapter 8 Section 8.16RTEMS POSIX 1003.1 Compliance Guide, Release 5.1 (26th August 2020)

8.16

The following methods and variables in are supported: • endhostent() • endnetent() • endprotoent() • endservent() • freeaddrinfo() • gai_strerror() • getaddrinfo() • gethostent() • getnameinfo() • getnetbyaddr() • getnetbyname() • getnetent() • getprotobyname() • getprotobynumber() • getprotoent() • getservbyname() • getservbyport() • getservent() • sethostent() • setnetent() • setprotoent() • setservent()

8.16. 365 RTEMS POSIX 1003.1 Compliance Guide, Release 5.1 (26th August 2020)Chapter8 Section 8.17

8.17

The following methods and variables in are supported: • pthread_attr_destroy() • pthread_attr_getdetachstate() • pthread_attr_getguardsize() • pthread_attr_getinheritsched() • pthread_attr_getschedparam() • pthread_attr_getschedpolicy() • pthread_attr_getscope() • pthread_attr_getstack() • pthread_attr_getstackaddr() • pthread_attr_getstacksize() • pthread_attr_init() • pthread_attr_setdetachstate() • pthread_attr_setguardsize() • pthread_attr_setinheritsched() • pthread_attr_setschedparam() • pthread_attr_setschedpolicy() • pthread_attr_setscope() • pthread_attr_setstack() • pthread_attr_setstackaddr() • pthread_attr_setstacksize() • pthread_cancel() • pthread_cleanup_pop() • pthread_cleanup_push() • pthread_cond_broadcast() • pthread_cond_destroy() • pthread_cond_init() • pthread_cond_signal() • pthread_cond_timedwait() • pthread_cond_wait() • pthread_condattr_destroy() • pthread_condattr_getclock() • pthread_condattr_getpshared()

366 Chapter 8. POSIX PSE53 - Dedicated Chapter 8 Section 8.17RTEMS POSIX 1003.1 Compliance Guide, Release 5.1 (26th August 2020)

• pthread_condattr_init() • pthread_condattr_setclock() • pthread_condattr_setpshared() • pthread_create() • pthread_detach() • pthread_equal() • pthread_exit() • pthread_getconcurrency() • pthread_getschedparam() • pthread_getspecific() • pthread_join() • pthread_key_create() • pthread_key_delete() • pthread_mutex_destroy() • pthread_mutex_getprioceiling() • pthread_mutex_init() • pthread_mutex_lock() • pthread_mutex_setprioceiling() • pthread_mutex_trylock() • pthread_mutex_unlock() • pthread_mutexattr_destroy() • pthread_mutexattr_getprioceiling() • pthread_mutexattr_getprotocol() • pthread_mutexattr_getpshared() • pthread_mutexattr_gettype() • pthread_mutexattr_init() • pthread_mutexattr_setprioceiling() • pthread_mutexattr_setprotocol() • pthread_mutexattr_setpshared() • pthread_mutexattr_settype() • pthread_once() • pthread_self() • pthread_setcancelstate() • pthread_setcanceltype()

8.17. 367 RTEMS POSIX 1003.1 Compliance Guide, Release 5.1 (26th August 2020)Chapter8 Section 8.17

• pthread_setconcurrency() • pthread_setschedparam() • pthread_setschedprio() • pthread_setspecific() • pthread_testcancel() The following methods in are implemented as stubs returning -1 and setting errno to ENOSYS: • pthread_atfork() • pthread_getcpuclockid()

368 Chapter 8. POSIX PSE53 - Dedicated Chapter 8 Section 8.18RTEMS POSIX 1003.1 Compliance Guide, Release 5.1 (26th August 2020)

8.18

The following methods and variables in are supported: • sched_get_priority_max() • sched_get_priority_min() • sched_rr_get_interval() • sched_yield() The following methods in are implemented as stubs returning -1 and setting errno to ENOSYS: • sched_getparam() • sched_getscheduler() • sched_setparam() • sched_setscheduler()

8.18. 369 RTEMS POSIX 1003.1 Compliance Guide, Release 5.1 (26th August 2020)Chapter8 Section 8.19

8.19

The following methods and variables in are supported: • sem_close() • sem_destroy() • sem_getvalue() • sem_init() • sem_open() • sem_post() • sem_timedwait() • sem_trywait() • sem_unlink() • sem_wait()

370 Chapter 8. POSIX PSE53 - Dedicated Chapter 8 Section 8.20RTEMS POSIX 1003.1 Compliance Guide, Release 5.1 (26th August 2020)

8.20

The following methods and variables in are supported: • longjmp() • setjmp() • siglongjmp() • sigsetjmp()

8.20. 371 RTEMS POSIX 1003.1 Compliance Guide, Release 5.1 (26th August 2020)Chapter8 Section 8.21

8.21

The following methods and variables in are supported: • kill() • pthread_kill() • pthread_sigmask() • raise() • sigaction() • sigaddset() • sigdelset() • sigemptyset() • sigfillset() • sigismember() • signal() • sigpending() • sigprocmask() • sigqueue() • sigsuspend() • sigtimedwait() • sigwait() • sigwaitinfo()

372 Chapter 8. POSIX PSE53 - Dedicated Chapter 8 Section 8.22RTEMS POSIX 1003.1 Compliance Guide, Release 5.1 (26th August 2020)

8.22

The following methods and variables in are not supported: • posix_spawn() • posix_spawn_file_actions_addclose() • posix_spawn_file_actions_adddup2() • posix_spawn_file_actions_addopen() • posix_spawn_file_actions_destroy() • posix_spawn_file_actions_init() • posix_spawnattr_destroy() • posix_spawnattr_getflags() • posix_spawnattr_getpgroup() • posix_spawnattr_getschedparam() • posix_spawnattr_getschedpolicy() • posix_spawnattr_getsigdefault() • posix_spawnattr_getsigmask() • posix_spawnattr_init() • posix_spawnattr_setflags() • posix_spawnattr_setpgroup() • posix_spawnattr_setschedparam() • posix_spawnattr_setschedpolicy() • posix_spawnattr_setsigdefault() • posix_spawnattr_setsigmask() • posix_spawnp()

8.22. 373 RTEMS POSIX 1003.1 Compliance Guide, Release 5.1 (26th August 2020)Chapter8 Section 8.23

8.23

The following methods and variables in are supported: • va_arg() • va_copy() • va_end() • va_start()

374 Chapter 8. POSIX PSE53 - Dedicated Chapter 8 Section 8.24RTEMS POSIX 1003.1 Compliance Guide, Release 5.1 (26th August 2020)

8.24

The following methods and variables in are supported: • clearerr() • fclose() • fdopen() • feof() • ferror() • fflush() • fgetc() • fgetpos() • fgets() • fileno() • flockfile() • fopen() • fprintf() • fputc() • fputs() • fread() • freopen() • fscanf() • fseek() • fseeko() • fsetpos() • ftell() • ftello() • ftrylockfile() • funlockfile() • fwrite() • getc() • getc_unlocked() • getchar() • getchar_unlocked() • gets() • perror()

8.24. 375 RTEMS POSIX 1003.1 Compliance Guide, Release 5.1 (26th August 2020)Chapter8 Section 8.24

• printf() • putc() • putc_unlocked() • putchar() • putchar_unlocked() • puts() • remove() • rename() • rewind() • scanf() • setbuf() • setvbuf() • snprintf() • sprintf() • sscanf() • stderr • stdin • stdout • tmpfile() • tmpnam() • ungetc() • vfprintf() • vfscanf() • vprintf() • vscanf() • vsnprintf() • vsprintf() • vsscanf()

376 Chapter 8. POSIX PSE53 - Dedicated Chapter 8 Section 8.25RTEMS POSIX 1003.1 Compliance Guide, Release 5.1 (26th August 2020)

8.25

The following methods and variables in are supported: • _Exit() • abort() • abs() • atexit() • atof() • atoi() • atol() • atoll() • bsearch() • calloc() • div() • exit() • free() • getenv() • labs() • ldiv() • llabs() • lldiv() • malloc() • qsort() • rand() • rand_r() • realloc() • setenv() • srand() • strtod() • strtof() • strtol() • strtold() • strtoll() • strtoul() • strtoull()

8.25. 377 RTEMS POSIX 1003.1 Compliance Guide, Release 5.1 (26th August 2020)Chapter8 Section 8.25

• unsetenv()

378 Chapter 8. POSIX PSE53 - Dedicated Chapter 8 Section 8.26RTEMS POSIX 1003.1 Compliance Guide, Release 5.1 (26th August 2020)

8.26

The following methods and variables in are supported: • memchr() • memcmp() • memcpy() • memmove() • memset() • strcat() • strchr() • strcmp() • strcoll() • strcpy() • strcspn() • strerror() • strerror_r() • strlen() • strncat() • strncmp() • strncpy() • strpbrk() • strrchr() • strspn() • strstr() • strtok() • strtok_r() • strxfrm()

8.26. 379 RTEMS POSIX 1003.1 Compliance Guide, Release 5.1 (26th August 2020)Chapter8 Section 8.27

8.27

The following methods and variables in are supported: • mlock() • mlockall() • mmap() • mprotect() • msync() • munlock() • munmap() • shm_open() • shm_unlink()

380 Chapter 8. POSIX PSE53 - Dedicated Chapter 8 Section 8.28RTEMS POSIX 1003.1 Compliance Guide, Release 5.1 (26th August 2020)

8.28

The following methods and variables in are supported: • FD_CLR() • FD_ISSET() • FD_SET() • FD_ZERO() • select() The following methods and variables in are not supported: • pselect()

8.28. 381 RTEMS POSIX 1003.1 Compliance Guide, Release 5.1 (26th August 2020)Chapter8 Section 8.29

8.29

The following methods and variables in are supported: • accept() • bind() • connect() • getpeername() • getsockname() • getsockopt() • listen() • recv() • recvfrom() • recvmsg() • send() • sendmsg() • sendto() • setsockopt() • shutdown() • socket() • socketpair() The following methods and variables in are not supported: • sockatmark()

382 Chapter 8. POSIX PSE53 - Dedicated Chapter 8 Section 8.30RTEMS POSIX 1003.1 Compliance Guide, Release 5.1 (26th August 2020)

8.30

The following methods and variables in are supported: • fstat() • mkdir() • stat()

8.30. 383 RTEMS POSIX 1003.1 Compliance Guide, Release 5.1 (26th August 2020)Chapter8 Section 8.31

8.31

The following methods and variables in are supported: • times() • utimes()

384 Chapter 8. POSIX PSE53 - Dedicated Chapter 8 Section 8.32RTEMS POSIX 1003.1 Compliance Guide, Release 5.1 (26th August 2020)

8.32

The following methods and variables in are supported: • uname()

8.32. 385 RTEMS POSIX 1003.1 Compliance Guide, Release 5.1 (26th August 2020)Chapter8 Section 8.33

8.33

The following methods and variables in are supported: • wait()

386 Chapter 8. POSIX PSE53 - Dedicated Chapter 8 Section 8.34RTEMS POSIX 1003.1 Compliance Guide, Release 5.1 (26th August 2020)

8.34

The following methods and variables in are supported: • asctime() • asctime_r() • clock() • clock_getres() • clock_gettime() • clock_nanosleep() • clock_settime() • ctime() • ctime_r() • difftime() • gmtime() • gmtime_r() • localtime() • localtime_r() • mktime() • nanosleep() • strftime() • time() • timer_create() • timer_delete() • timer_getoverrun() • timer_gettime() • timer_settime() • tzname • tzset() The following methods in are implemented as stubs returning -1 and setting errno to ENOSYS: • clock_getcpuclockid()

8.34. 387 RTEMS POSIX 1003.1 Compliance Guide, Release 5.1 (26th August 2020)Chapter8 Section 8.35

8.35

The following methods and variables in are not supported: • posix_trace_attr_destroy() • posix_trace_attr_getclockres() • posix_trace_attr_getcreatetime() • posix_trace_attr_getgenversion() • posix_trace_attr_getinherited() • posix_trace_attr_getlogfullpolicy() • posix_trace_attr_getlogsize() • posix_trace_attr_getmaxdatasize() • posix_trace_attr_getmaxsystemeventsize() • posix_trace_attr_getmaxusereventsize() • posix_trace_attr_getname() • posix_trace_attr_getstreamfullpolicy() • posix_trace_attr_getstreamsize() • posix_trace_attr_init() • posix_trace_attr_setinherited() • posix_trace_attr_setlogfullpolicy() • posix_trace_attr_setlogsize() • posix_trace_attr_setmaxdatasize() • posix_trace_attr_setname() • posix_trace_attr_setstreamfullpolicy() • posix_trace_attr_setstreamsize() • posix_trace_clear() • posix_trace_close() • posix_trace_create() • posix_trace_create_withlog() • posix_trace_event() • posix_trace_eventid_equal() • posix_trace_eventid_get_name() • posix_trace_eventid_open() • posix_trace_eventset_add() • posix_trace_eventset_del() • posix_trace_eventset_empty()

388 Chapter 8. POSIX PSE53 - Dedicated Chapter 8 Section 8.35RTEMS POSIX 1003.1 Compliance Guide, Release 5.1 (26th August 2020)

• posix_trace_eventset_fill() • posix_trace_eventset_ismember() • posix_trace_eventtypelist_getnext_id() • posix_trace_eventtypelist_rewind() • posix_trace_flush() • posix_trace_get_attr() • posix_trace_get_filter() • posix_trace_get_status() • posix_trace_getnext_event() • posix_trace_open() • posix_trace_rewind() • posix_trace_set_filter() • posix_trace_shutdown() • posix_trace_start() • posix_trace_stop() • posix_trace_timedgetnext_event() • posix_trace_trid_eventid_open() • posix_trace_trygetnext_event()

8.35. 389 RTEMS POSIX 1003.1 Compliance Guide, Release 5.1 (26th August 2020)Chapter8 Section 8.36

8.36

The following methods and variables in are supported: • _exit() • access() • alarm() • chdir() • close() • dup() • dup2() • environ • fdatasync() • fpathconf() • fsync() • ftruncate() • getcwd() • gethostname() • getpgrp() • getpid() • getppid() • link() • lseek() • pathconf() • pause() • pipe() • read() • rmdir() • setsid() • sleep() • sysconf() • unlink() • write() The following methods in are implemented as stubs returning -1 and setting errno to ENOSYS: • execl()

390 Chapter 8. POSIX PSE53 - Dedicated Chapter 8 Section 8.36RTEMS POSIX 1003.1 Compliance Guide, Release 5.1 (26th August 2020)

• execle() • execlp() • execv() • execve() • execvp() • fork() The following methods and variables in are not supported: • confstr()

8.36. 391 RTEMS POSIX 1003.1 Compliance Guide, Release 5.1 (26th August 2020)Chapter8 Section 8.37

8.37

The following methods and variables in are supported: • utime()

392 Chapter 8. POSIX PSE53 - Dedicated CHAPTER NINE

POSIX PSE54 - MULTIPURPOSE

This chapter has a subsection per header file to detail the methods provided by RTEMS that are in that header file.

393 RTEMS POSIX 1003.1 Compliance Guide, Release 5.1 (26th August 2020)Chapter9 Section 9.1

9.1 Summary

The follow table summarizes alignment with the POSIX PSE54 - Multipurpose standard:

Supported 783 ENOSYS 17 Not supported 106

394 Chapter 9. POSIX PSE54 - Multipurpose Chapter 9 Section 9.2RTEMS POSIX 1003.1 Compliance Guide, Release 5.1 (26th August 2020)

9.2

The following methods and variables in are supported: • aio_cancel() • aio_error() • aio_fsync() • aio_read() • aio_return() • aio_write() The following methods in are implemented as stubs returning -1 and setting errno to ENOSYS: • aio_suspend() • lio_listio()

9.2. 395 RTEMS POSIX 1003.1 Compliance Guide, Release 5.1 (26th August 2020)Chapter9 Section 9.3

9.3

The following methods and variables in are supported: • htonl() • htons() • inet_addr() • inet_ntoa() • inet_ntop() • inet_pton() • ntohl() • ntohs()

396 Chapter 9. POSIX PSE54 - Multipurpose Chapter 9 Section 9.4RTEMS POSIX 1003.1 Compliance Guide, Release 5.1 (26th August 2020)

9.4

The following methods and variables in are supported: • assert()

9.4. 397 RTEMS POSIX 1003.1 Compliance Guide, Release 5.1 (26th August 2020)Chapter9 Section 9.5

9.5

The following methods and variables in are supported: • cabs() • cabsf() • cabsl() • cacos() • cacosf() • cacosh() • cacoshf() • cacoshl() • cacosl() • carg() • cargf() • cargl() • casin() • casinf() • casinh() • casinhf() • casinhl() • casinl() • catan() • catanf() • catanh() • catanhf() • catanhl() • catanl() • ccos() • ccosf() • ccosh() • ccoshf() • ccoshl() • ccosl() • cexp() • cexpf()

398 Chapter 9. POSIX PSE54 - Multipurpose Chapter 9 Section 9.5RTEMS POSIX 1003.1 Compliance Guide, Release 5.1 (26th August 2020)

• cexpl() • cimag() • cimagf() • cimagl() • clog() • clogf() • clogl() • conj() • conjf() • conjl() • cpow() • cpowf() • cpowl() • cproj() • cprojf() • cprojl() • creal() • crealf() • creall() • csin() • csinf() • csinh() • csinhf() • csinhl() • csinl() • csqrt() • csqrtf() • csqrtl() • ctan() • ctanf() • ctanh() • ctanhf() • ctanhl() • ctanl()

9.5. 399 RTEMS POSIX 1003.1 Compliance Guide, Release 5.1 (26th August 2020)Chapter9 Section 9.6

9.6

The following methods and variables in are supported: • isalnum() • isalpha() • isblank() • iscntrl() • isdigit() • isgraph() • islower() • isprint() • ispunct() • isspace() • isupper() • isxdigit() • tolower() • toupper()

400 Chapter 9. POSIX PSE54 - Multipurpose Chapter 9 Section 9.7RTEMS POSIX 1003.1 Compliance Guide, Release 5.1 (26th August 2020)

9.7

The following methods and variables in are supported: • closedir() • opendir() • readdir() • readdir_r() • rewinddir()

9.7. 401 RTEMS POSIX 1003.1 Compliance Guide, Release 5.1 (26th August 2020)Chapter9 Section 9.8

9.8

The following methods and variables in are supported: • dlclose() • dlerror() • dlopen() • dlsym()

402 Chapter 9. POSIX PSE54 - Multipurpose Chapter 9 Section 9.9RTEMS POSIX 1003.1 Compliance Guide, Release 5.1 (26th August 2020)

9.9

The following methods and variables in are supported: • errno

9.9. 403 RTEMS POSIX 1003.1 Compliance Guide, Release 5.1 (26th August 2020)Chapter9 Section 9.10

9.10

The following methods and variables in are supported: • creat() • fcntl() • open() The following methods and variables in are not supported: • posix_fadvise() • posix_fallocate()

404 Chapter 9. POSIX PSE54 - Multipurpose Chapter 9 Section 9.11RTEMS POSIX 1003.1 Compliance Guide, Release 5.1 (26th August 2020)

9.11

The following methods and variables in are not supported: • feclearexcept() • fegetenv() • fegetexceptflag() • fegetround() • feholdexcept() • feraiseexcept() • fesetenv() • fesetexceptflag() • fesetround() • fetestexcept() • feupdateenv()

9.11. 405 RTEMS POSIX 1003.1 Compliance Guide, Release 5.1 (26th August 2020)Chapter9 Section 9.12

9.12

The following methods and variables in are supported: • fnmatch()

406 Chapter 9. POSIX PSE54 - Multipurpose Chapter 9 Section 9.13RTEMS POSIX 1003.1 Compliance Guide, Release 5.1 (26th August 2020)

9.13

The following methods and variables in are supported: • glob() • globfree()

9.13. 407 RTEMS POSIX 1003.1 Compliance Guide, Release 5.1 (26th August 2020)Chapter9 Section 9.14

9.14

The following methods and variables in are supported: • getgrgid() • getgrgid_r() • getgrnam() • getgrnam_r()

408 Chapter 9. POSIX PSE54 - Multipurpose Chapter 9 Section 9.15RTEMS POSIX 1003.1 Compliance Guide, Release 5.1 (26th August 2020)

9.15

The following methods and variables in are supported: • imaxabs() • imaxdiv() • strtoimax() • strtoumax() • wcstoimax() • wcstoumax()

9.15. 409 RTEMS POSIX 1003.1 Compliance Guide, Release 5.1 (26th August 2020)Chapter9 Section 9.16

9.16

The following methods and variables in are supported: • localeconv() • setlocale()

410 Chapter 9. POSIX PSE54 - Multipurpose Chapter 9 Section 9.17RTEMS POSIX 1003.1 Compliance Guide, Release 5.1 (26th August 2020)

9.17

The following methods and variables in are supported: • acos() • acosf() • acosh() • acoshf() • acoshl() • acosl() • asin() • asinf() • asinh() • asinhf() • asinhl() • asinl() • atan() • atan2() • atan2f() • atan2l() • atanf() • atanh() • atanhf() • atanhl() • atanl() • cbrt() • cbrtf() • cbrtl() • ceil() • ceilf() • ceill() • copysign() • copysignf() • copysignl() • cos() • cosf()

9.17. 411 RTEMS POSIX 1003.1 Compliance Guide, Release 5.1 (26th August 2020)Chapter9 Section 9.17

• cosh() • coshf() • coshl() • cosl() • erf() • erfc() • erfcf() • erfcl() • erff() • erfl() • exp() • exp2() • exp2f() • exp2l() • expf() • expl() • expm1() • expm1f() • expm1l() • fabs() • fabsf() • fabsl() • fdim() • fdimf() • fdiml() • floor() • floorf() • floorl() • fma() • fmaf() • fmal() • fmax() • fmaxf() • fmaxl()

412 Chapter 9. POSIX PSE54 - Multipurpose Chapter 9 Section 9.17RTEMS POSIX 1003.1 Compliance Guide, Release 5.1 (26th August 2020)

• fmin() • fminf() • fminl() • fmod() • fmodf() • fmodl() • frexp() • frexpf() • frexpl() • hypot() • hypotf() • hypotl() • ilogb() • ilogbf() • ilogbl() • isinf() • isnan() • ldexp() • ldexpf() • ldexpl() • lgamma() • lgammaf() • lgammal() • llrint() • llrintf() • llrintl() • llround() • llroundf() • llroundl() • log() • log10() • log10f() • log10l() • log1p()

9.17. 413 RTEMS POSIX 1003.1 Compliance Guide, Release 5.1 (26th August 2020)Chapter9 Section 9.17

• log1pf() • log1pl() • log2() • log2f() • log2l() • logb() • logbf() • logbl() • logf() • logl() • lrint() • lrintf() • lrintl() • lround() • lroundf() • lroundl() • modf() • modff() • modfl() • nan() • nanf() • nanl() • nearbyint() • nearbyintf() • nearbyintl() • nextafter() • nextafterf() • nextafterl() • nexttoward() • nexttowardl() • pow() • powf() • powl() • remainder()

414 Chapter 9. POSIX PSE54 - Multipurpose Chapter 9 Section 9.17RTEMS POSIX 1003.1 Compliance Guide, Release 5.1 (26th August 2020)

• remainderf() • remainderl() • remquo() • remquof() • remquol() • rint() • rintf() • rintl() • round() • roundf() • roundl() • scalbln() • scalblnf() • scalblnl() • scalbn() • scalbnf() • scalbnl() • sin() • sinf() • sinh() • sinhf() • sinhl() • sinl() • sqrt() • sqrtf() • sqrtl() • tan() • tanf() • tanh() • tanhf() • tanhl() • tanl() • tgamma() • tgammaf()

9.17. 415 RTEMS POSIX 1003.1 Compliance Guide, Release 5.1 (26th August 2020)Chapter9 Section 9.17

• tgammal() • trunc() • truncf() • truncl() The following methods and variables in are not supported: • fpclassify() • isfinite() • isgreater() • isgreaterequal() • isless() • islessequal() • islessgreater() • isnormal() • isunordered() • nexttowardf() • signbit()

416 Chapter 9. POSIX PSE54 - Multipurpose Chapter 9 Section 9.18RTEMS POSIX 1003.1 Compliance Guide, Release 5.1 (26th August 2020)

9.18

The following methods and variables in are supported: • mq_close() • mq_getattr() • mq_notify() • mq_open() • mq_receive() • mq_send() • mq_setattr() • mq_timedreceive() • mq_timedsend() • mq_unlink()

9.18. 417 RTEMS POSIX 1003.1 Compliance Guide, Release 5.1 (26th August 2020)Chapter9 Section 9.19

9.19

The following methods and variables in are supported: • if_freenameindex() • if_indextoname() • if_nameindex() • if_nametoindex()

418 Chapter 9. POSIX PSE54 - Multipurpose Chapter 9 Section 9.20RTEMS POSIX 1003.1 Compliance Guide, Release 5.1 (26th August 2020)

9.20

The following methods and variables in are supported: • endhostent() • endnetent() • endprotoent() • endservent() • freeaddrinfo() • gai_strerror() • getaddrinfo() • gethostent() • getnameinfo() • getnetbyaddr() • getnetbyname() • getnetent() • getprotobyname() • getprotobynumber() • getprotoent() • getservbyname() • getservbyport() • getservent() • sethostent() • setnetent() • setprotoent() • setservent()

9.20. 419 RTEMS POSIX 1003.1 Compliance Guide, Release 5.1 (26th August 2020)Chapter9 Section 9.21

9.21

The following methods and variables in are supported: • pthread_attr_destroy() • pthread_attr_getdetachstate() • pthread_attr_getguardsize() • pthread_attr_getinheritsched() • pthread_attr_getschedparam() • pthread_attr_getschedpolicy() • pthread_attr_getscope() • pthread_attr_getstack() • pthread_attr_getstackaddr() • pthread_attr_getstacksize() • pthread_attr_init() • pthread_attr_setdetachstate() • pthread_attr_setguardsize() • pthread_attr_setinheritsched() • pthread_attr_setschedparam() • pthread_attr_setschedpolicy() • pthread_attr_setscope() • pthread_attr_setstack() • pthread_attr_setstackaddr() • pthread_attr_setstacksize() • pthread_cancel() • pthread_cleanup_pop() • pthread_cleanup_push() • pthread_cond_broadcast() • pthread_cond_destroy() • pthread_cond_init() • pthread_cond_signal() • pthread_cond_timedwait() • pthread_cond_wait() • pthread_condattr_destroy() • pthread_condattr_getclock() • pthread_condattr_getpshared()

420 Chapter 9. POSIX PSE54 - Multipurpose Chapter 9 Section 9.21RTEMS POSIX 1003.1 Compliance Guide, Release 5.1 (26th August 2020)

• pthread_condattr_init() • pthread_condattr_setclock() • pthread_condattr_setpshared() • pthread_create() • pthread_detach() • pthread_equal() • pthread_exit() • pthread_getconcurrency() • pthread_getschedparam() • pthread_getspecific() • pthread_join() • pthread_key_create() • pthread_key_delete() • pthread_mutex_destroy() • pthread_mutex_getprioceiling() • pthread_mutex_init() • pthread_mutex_lock() • pthread_mutex_setprioceiling() • pthread_mutex_trylock() • pthread_mutex_unlock() • pthread_mutexattr_destroy() • pthread_mutexattr_getprioceiling() • pthread_mutexattr_getprotocol() • pthread_mutexattr_getpshared() • pthread_mutexattr_gettype() • pthread_mutexattr_init() • pthread_mutexattr_setprioceiling() • pthread_mutexattr_setprotocol() • pthread_mutexattr_setpshared() • pthread_mutexattr_settype() • pthread_once() • pthread_self() • pthread_setcancelstate() • pthread_setcanceltype()

9.21. 421 RTEMS POSIX 1003.1 Compliance Guide, Release 5.1 (26th August 2020)Chapter9 Section 9.21

• pthread_setconcurrency() • pthread_setschedparam() • pthread_setschedprio() • pthread_setspecific() • pthread_testcancel() The following methods in are implemented as stubs returning -1 and setting errno to ENOSYS: • pthread_atfork() • pthread_getcpuclockid()

422 Chapter 9. POSIX PSE54 - Multipurpose Chapter 9 Section 9.22RTEMS POSIX 1003.1 Compliance Guide, Release 5.1 (26th August 2020)

9.22

The following methods and variables in are supported: • getpwnam() • getpwnam_r() • getpwuid() • getpwuid_r()

9.22. 423 RTEMS POSIX 1003.1 Compliance Guide, Release 5.1 (26th August 2020)Chapter9 Section 9.23

9.23

The following methods and variables in are supported: • regcomp() • regerror() • regexec() • regfree()

424 Chapter 9. POSIX PSE54 - Multipurpose Chapter 9 Section 9.24RTEMS POSIX 1003.1 Compliance Guide, Release 5.1 (26th August 2020)

9.24

The following methods and variables in are supported: • sched_get_priority_max() • sched_get_priority_min() • sched_rr_get_interval() • sched_yield() The following methods in are implemented as stubs returning -1 and setting errno to ENOSYS: • sched_getparam() • sched_getscheduler() • sched_setparam() • sched_setscheduler()

9.24. 425 RTEMS POSIX 1003.1 Compliance Guide, Release 5.1 (26th August 2020)Chapter9 Section 9.25

9.25

The following methods and variables in are supported: • sem_close() • sem_destroy() • sem_getvalue() • sem_init() • sem_open() • sem_post() • sem_timedwait() • sem_trywait() • sem_unlink() • sem_wait()

426 Chapter 9. POSIX PSE54 - Multipurpose Chapter 9 Section 9.26RTEMS POSIX 1003.1 Compliance Guide, Release 5.1 (26th August 2020)

9.26

The following methods and variables in are supported: • longjmp() • setjmp() • siglongjmp() • sigsetjmp()

9.26. 427 RTEMS POSIX 1003.1 Compliance Guide, Release 5.1 (26th August 2020)Chapter9 Section 9.27

9.27

The following methods and variables in are supported: • pthread_kill() • pthread_sigmask() • raise() • sigaction() • sigaddset() • sigdelset() • sigemptyset() • sigfillset() • sigismember() • signal() • sigpending() • sigprocmask() • sigqueue() • sigsuspend() • sigtimedwait() • sigwait() • sigwaitinfo()

428 Chapter 9. POSIX PSE54 - Multipurpose Chapter 9 Section 9.28RTEMS POSIX 1003.1 Compliance Guide, Release 5.1 (26th August 2020)

9.28

The following methods and variables in are not supported: • posix_spawn() • posix_spawn_file_actions_addclose() • posix_spawn_file_actions_adddup2() • posix_spawn_file_actions_addopen() • posix_spawn_file_actions_destroy() • posix_spawn_file_actions_init() • posix_spawnattr_destroy() • posix_spawnattr_getflags() • posix_spawnattr_getpgroup() • posix_spawnattr_getschedparam() • posix_spawnattr_getschedpolicy() • posix_spawnattr_getsigdefault() • posix_spawnattr_getsigmask() • posix_spawnattr_init() • posix_spawnattr_setflags() • posix_spawnattr_setpgroup() • posix_spawnattr_setschedparam() • posix_spawnattr_setschedpolicy() • posix_spawnattr_setsigdefault() • posix_spawnattr_setsigmask() • posix_spawnp()

9.28. 429 RTEMS POSIX 1003.1 Compliance Guide, Release 5.1 (26th August 2020)Chapter9 Section 9.29

9.29

The following methods and variables in are supported: • va_arg() • va_copy() • va_end() • va_start()

430 Chapter 9. POSIX PSE54 - Multipurpose Chapter 9 Section 9.30RTEMS POSIX 1003.1 Compliance Guide, Release 5.1 (26th August 2020)

9.30

The following methods and variables in are supported: • clearerr() • ctermid() • fclose() • fdopen() • feof() • ferror() • fflush() • fgetc() • fgetpos() • fgets() • fileno() • flockfile() • fopen() • fprintf() • fputc() • fputs() • fread() • freopen() • fscanf() • fseek() • fseeko() • fsetpos() • ftell() • ftello() • ftrylockfile() • funlockfile() • fwrite() • getc() • getc_unlocked() • getchar() • getchar_unlocked() • gets()

9.30. 431 RTEMS POSIX 1003.1 Compliance Guide, Release 5.1 (26th August 2020)Chapter9 Section 9.30

• perror() • printf() • putc() • putc_unlocked() • putchar() • putchar_unlocked() • puts() • remove() • rename() • rewind() • scanf() • setbuf() • setvbuf() • snprintf() • sprintf() • sscanf() • stderr • stdin • stdout • tmpfile() • tmpnam() • ungetc() • vfprintf() • vfscanf() • vprintf() • vscanf() • vsnprintf() • vsprintf() • vsscanf() The following methods and variables in are not supported: • pclose() • popen()

432 Chapter 9. POSIX PSE54 - Multipurpose Chapter 9 Section 9.31RTEMS POSIX 1003.1 Compliance Guide, Release 5.1 (26th August 2020)

9.31

The following methods and variables in are supported: • _Exit() • abort() • abs() • atexit() • atof() • atoi() • atol() • atoll() • bsearch() • calloc() • div() • exit() • free() • getenv() • labs() • ldiv() • llabs() • lldiv() • malloc() • mblen() • mbstowcs() • mbtowc() • posix_memalign() • qsort() • rand() • rand_r() • realloc() • setenv() • srand() • strtod() • strtof() • strtol()

9.31. 433 RTEMS POSIX 1003.1 Compliance Guide, Release 5.1 (26th August 2020)Chapter9 Section 9.31

• strtold() • strtoll() • strtoul() • strtoull() • unsetenv() • wcstombs() • wctomb() The following methods in are implemented as stubs returning -1 and setting errno to ENOSYS: • system()

434 Chapter 9. POSIX PSE54 - Multipurpose Chapter 9 Section 9.32RTEMS POSIX 1003.1 Compliance Guide, Release 5.1 (26th August 2020)

9.32

The following methods and variables in are supported: • memchr() • memcmp() • memcpy() • memmove() • memset() • strcat() • strchr() • strcmp() • strcoll() • strcpy() • strcspn() • strerror() • strerror_r() • strlen() • strncat() • strncmp() • strncpy() • strpbrk() • strrchr() • strspn() • strstr() • strtok() • strtok_r() • strxfrm()

9.32. 435 RTEMS POSIX 1003.1 Compliance Guide, Release 5.1 (26th August 2020)Chapter9 Section 9.33

9.33

The following methods and variables in are supported: • mlock() • mlockall() • mmap() • mprotect() • msync() • munlock() • munmap() • posix_madvise() • shm_open() • shm_unlink()

436 Chapter 9. POSIX PSE54 - Multipurpose Chapter 9 Section 9.34RTEMS POSIX 1003.1 Compliance Guide, Release 5.1 (26th August 2020)

9.34

The following methods and variables in are supported: • FD_CLR() • FD_ISSET() • FD_SET() • FD_ZERO() • select() The following methods and variables in are not supported: • pselect()

9.34. 437 RTEMS POSIX 1003.1 Compliance Guide, Release 5.1 (26th August 2020)Chapter9 Section 9.35

9.35

The following methods and variables in are supported: • accept() • bind() • connect() • getpeername() • getsockname() • getsockopt() • listen() • recv() • recvfrom() • recvmsg() • send() • sendmsg() • sendto() • setsockopt() • shutdown() • socket() • socketpair() The following methods and variables in are not supported: • sockatmark()

438 Chapter 9. POSIX PSE54 - Multipurpose Chapter 9 Section 9.36RTEMS POSIX 1003.1 Compliance Guide, Release 5.1 (26th August 2020)

9.36

The following methods and variables in are supported: • chmod() • fchmod() • fstat() • lstat() • mkdir() • mkfifo() • stat() • umask()

9.36. 439 RTEMS POSIX 1003.1 Compliance Guide, Release 5.1 (26th August 2020)Chapter9 Section 9.37

9.37

The following methods and variables in are supported: • times() • utimes()

440 Chapter 9. POSIX PSE54 - Multipurpose Chapter 9 Section 9.38RTEMS POSIX 1003.1 Compliance Guide, Release 5.1 (26th August 2020)

9.38

The following methods and variables in are supported: • uname()

9.38. 441 RTEMS POSIX 1003.1 Compliance Guide, Release 5.1 (26th August 2020)Chapter9 Section 9.39

9.39

The following methods and variables in are supported: • wait()

442 Chapter 9. POSIX PSE54 - Multipurpose Chapter 9 Section 9.40RTEMS POSIX 1003.1 Compliance Guide, Release 5.1 (26th August 2020)

9.40

The following methods and variables in are not supported: • closelog() • openlog() • setlogmask() • syslog()

9.40. 443 RTEMS POSIX 1003.1 Compliance Guide, Release 5.1 (26th August 2020)Chapter9 Section 9.41

9.41

The following methods and variables in are supported: • cfgetispeed() • cfgetospeed() • cfsetispeed() • cfsetospeed() • tcdrain() • tcflow() • tcflush() • tcgetattr() • tcsendbreak() • tcsetattr()

444 Chapter 9. POSIX PSE54 - Multipurpose Chapter 9 Section 9.42RTEMS POSIX 1003.1 Compliance Guide, Release 5.1 (26th August 2020)

9.42

The following methods and variables in are supported: • asctime() • asctime_r() • clock() • clock_getres() • clock_gettime() • clock_nanosleep() • clock_settime() • ctime() • ctime_r() • difftime() • gmtime() • gmtime_r() • localtime() • localtime_r() • mktime() • nanosleep() • strftime() • time() • timer_create() • timer_delete() • timer_getoverrun() • timer_gettime() • timer_settime() • tzname • tzset() The following methods in are implemented as stubs returning -1 and setting errno to ENOSYS: • clock_getcpuclockid()

9.42. 445 RTEMS POSIX 1003.1 Compliance Guide, Release 5.1 (26th August 2020)Chapter9 Section 9.43

9.43

The following methods and variables in are not supported: • posix_trace_attr_destroy() • posix_trace_attr_getclockres() • posix_trace_attr_getcreatetime() • posix_trace_attr_getgenversion() • posix_trace_attr_getinherited() • posix_trace_attr_getlogfullpolicy() • posix_trace_attr_getlogsize() • posix_trace_attr_getmaxdatasize() • posix_trace_attr_getmaxsystemeventsize() • posix_trace_attr_getmaxusereventsize() • posix_trace_attr_getname() • posix_trace_attr_getstreamfullpolicy() • posix_trace_attr_getstreamsize() • posix_trace_attr_init() • posix_trace_attr_setinherited() • posix_trace_attr_setlogfullpolicy() • posix_trace_attr_setlogsize() • posix_trace_attr_setmaxdatasize() • posix_trace_attr_setname() • posix_trace_attr_setstreamfullpolicy() • posix_trace_attr_setstreamsize() • posix_trace_clear() • posix_trace_close() • posix_trace_create() • posix_trace_create_withlog() • posix_trace_event() • posix_trace_eventid_equal() • posix_trace_eventid_get_name() • posix_trace_eventid_open() • posix_trace_eventset_add() • posix_trace_eventset_del() • posix_trace_eventset_empty()

446 Chapter 9. POSIX PSE54 - Multipurpose Chapter 9 Section 9.43RTEMS POSIX 1003.1 Compliance Guide, Release 5.1 (26th August 2020)

• posix_trace_eventset_fill() • posix_trace_eventset_ismember() • posix_trace_eventtypelist_getnext_id() • posix_trace_eventtypelist_rewind() • posix_trace_flush() • posix_trace_get_attr() • posix_trace_get_filter() • posix_trace_get_status() • posix_trace_getnext_event() • posix_trace_open() • posix_trace_rewind() • posix_trace_set_filter() • posix_trace_shutdown() • posix_trace_start() • posix_trace_stop() • posix_trace_timedgetnext_event() • posix_trace_trid_eventid_open() • posix_trace_trygetnext_event()

9.43. 447 RTEMS POSIX 1003.1 Compliance Guide, Release 5.1 (26th August 2020)Chapter9 Section 9.44

9.44

The following methods and variables in are supported: • _exit() • access() • chdir() • chown() • close() • dup() • dup2() • environ • fchown() • fdatasync() • fpathconf() • fsync() • ftruncate() • getcwd() • getegid() • geteuid() • getgid() • getgroups() • gethostname() • getlogin() • getlogin_r() • getopt() • getpgrp() • getpid() • getppid() • getuid() • isatty() • link() • lseek() • optarg • opterr • optind

448 Chapter 9. POSIX PSE54 - Multipurpose Chapter 9 Section 9.44RTEMS POSIX 1003.1 Compliance Guide, Release 5.1 (26th August 2020)

• optopt • pathconf() • pipe() • read() • readlink() • rmdir() • setegid() • seteuid() • setgid() • setpgid() • setsid() • setuid() • sleep() • symlink() • sysconf() • tcgetpgrp() • tcsetpgrp() • ttyname() • ttyname_r() • unlink() • write() The following methods in are implemented as stubs returning -1 and setting errno to ENOSYS: • execl() • execle() • execlp() • execv() • execve() • execvp() • fork() The following methods and variables in are not supported: • confstr()

9.44. 449 RTEMS POSIX 1003.1 Compliance Guide, Release 5.1 (26th August 2020)Chapter9 Section 9.45

9.45

The following methods and variables in are supported: • utime()

450 Chapter 9. POSIX PSE54 - Multipurpose Chapter 9 Section 9.46RTEMS POSIX 1003.1 Compliance Guide, Release 5.1 (26th August 2020)

9.46

The following methods and variables in are supported: • btowc() • fgetwc() • fgetws() • fputwc() • fputws() • fwide() • fwprintf() • fwscanf() • getwc() • getwchar() • mbrlen() • mbrtowc() • mbsinit() • mbsrtowcs() • putwc() • putwchar() • swprintf() • swscanf() • ungetwc() • vfwprintf() • vfwscanf() • vswprintf() • vswscanf() • vwprintf() • vwscanf() • wcrtomb() • wcscat() • wcschr() • wcscmp() • wcscoll() • wcscpy() • wcscspn()

9.46. 451 RTEMS POSIX 1003.1 Compliance Guide, Release 5.1 (26th August 2020)Chapter9 Section 9.46

• wcsftime() • wcslen() • wcsncat() • wcsncmp() • wcsncpy() • wcspbrk() • wcsrchr() • wcsrtombs() • wcsspn() • wcsstr() • wcstod() • wcstof() • wcstok() • wcstol() • wcstold() • wcstoll() • wcstoul() • wcstoull() • wcsxfrm() • wctob() • wmemchr() • wmemcmp() • wmemcpy() • wmemmove() • wmemset() • wprintf() • wscanf()

452 Chapter 9. POSIX PSE54 - Multipurpose Chapter 9 Section 9.47RTEMS POSIX 1003.1 Compliance Guide, Release 5.1 (26th August 2020)

9.47

The following methods and variables in are supported: • iswalnum() • iswalpha() • iswblank() • iswcntrl() • iswctype() • iswdigit() • iswgraph() • iswlower() • iswprint() • iswpunct() • iswspace() • iswupper() • iswxdigit() • towctrans() • towlower() • towupper() • wctrans() • wctype()

9.47. 453 RTEMS POSIX 1003.1 Compliance Guide, Release 5.1 (26th August 2020)Chapter9 Section 9.48

9.48

The following methods and variables in are not supported: • wordexp() • wordfree()

454 Chapter 9. POSIX PSE54 - Multipurpose CHAPTER TEN

C99 STANDARD LIBRARY

This chapter has a subsection per header file to detail the methods provided by RTEMS that are in that header file.

455 RTEMS POSIX 1003.1 Compliance Guide, Release 5.1 (26th August 2020)Chapter10 Section 10.1

10.1 Summary

The follow table summarizes alignment with the C99 Standard Library standard:

Supported 463 ENOSYS 0 Not supported 22

456 Chapter 10. C99 Standard Library Chapter 10 Section 10.2RTEMS POSIX 1003.1 Compliance Guide, Release 5.1 (26th August 2020)

10.2

The following methods and variables in are supported: • assert()

10.2. 457 RTEMS POSIX 1003.1 Compliance Guide, Release 5.1 (26th August 2020)Chapter10 Section 10.3

10.3

The following methods and variables in are supported: • cabs() • cabsf() • cabsl() • cacos() • cacosf() • cacosh() • cacoshf() • cacoshl() • cacosl() • carg() • cargf() • cargl() • casin() • casinf() • casinh() • casinhf() • casinhl() • casinl() • catan() • catanf() • catanh() • catanhf() • catanhl() • catanl() • ccos() • ccosf() • ccosh() • ccoshf() • ccoshl() • ccosl() • cexp() • cexpf()

458 Chapter 10. C99 Standard Library Chapter 10 Section 10.3RTEMS POSIX 1003.1 Compliance Guide, Release 5.1 (26th August 2020)

• cexpl() • cimag() • cimagf() • cimagl() • clog() • clogf() • clogl() • conj() • conjf() • conjl() • cpow() • cpowf() • cpowl() • cproj() • cprojf() • cprojl() • creal() • crealf() • creall() • csin() • csinf() • csinh() • csinhf() • csinhl() • csinl() • csqrt() • csqrtf() • csqrtl() • ctan() • ctanf() • ctanh() • ctanhf() • ctanhl() • ctanl()

10.3. 459 RTEMS POSIX 1003.1 Compliance Guide, Release 5.1 (26th August 2020)Chapter10 Section 10.4

10.4

The following methods and variables in are supported: • isalnum() • isalpha() • isblank() • iscntrl() • isdigit() • isgraph() • islower() • isprint() • ispunct() • isspace() • isupper() • isxdigit() • tolower() • toupper()

460 Chapter 10. C99 Standard Library Chapter 10 Section 10.5RTEMS POSIX 1003.1 Compliance Guide, Release 5.1 (26th August 2020)

10.5

The following methods and variables in are supported: • errno

10.5. 461 RTEMS POSIX 1003.1 Compliance Guide, Release 5.1 (26th August 2020)Chapter10 Section 10.6

10.6

The following methods and variables in are not supported: • feclearexcept() • fegetenv() • fegetexceptflag() • fegetround() • feholdexcept() • feraiseexcept() • fesetenv() • fesetexceptflag() • fesetround() • fetestexcept() • feupdateenv()

462 Chapter 10. C99 Standard Library Chapter 10 Section 10.7RTEMS POSIX 1003.1 Compliance Guide, Release 5.1 (26th August 2020)

10.7

The following methods and variables in are supported: • imaxabs() • imaxdiv() • strtoimax() • strtoumax() • wcstoimax() • wcstoumax()

10.7. 463 RTEMS POSIX 1003.1 Compliance Guide, Release 5.1 (26th August 2020)Chapter10 Section 10.8

10.8

The following methods and variables in are supported: • localeconv() • setlocale()

464 Chapter 10. C99 Standard Library Chapter 10 Section 10.9RTEMS POSIX 1003.1 Compliance Guide, Release 5.1 (26th August 2020)

10.9

The following methods and variables in are supported: • acos() • acosf() • acosh() • acoshf() • acoshl() • acosl() • asin() • asinf() • asinh() • asinhf() • asinhl() • asinl() • atan() • atan2() • atan2f() • atan2l() • atanf() • atanh() • atanhf() • atanhl() • atanl() • cbrt() • cbrtf() • cbrtl() • ceil() • ceilf() • ceill() • copysign() • copysignf() • copysignl() • cos() • cosf()

10.9. 465 RTEMS POSIX 1003.1 Compliance Guide, Release 5.1 (26th August 2020)Chapter10 Section 10.9

• cosh() • coshf() • coshl() • cosl() • erf() • erfc() • erfcf() • erfcl() • erff() • erfl() • exp() • exp2() • exp2f() • exp2l() • expf() • expl() • expm1() • expm1f() • expm1l() • fabs() • fabsf() • fabsl() • fdim() • fdimf() • fdiml() • floor() • floorf() • floorl() • fma() • fmaf() • fmal() • fmax() • fmaxf() • fmaxl()

466 Chapter 10. C99 Standard Library Chapter 10 Section 10.9RTEMS POSIX 1003.1 Compliance Guide, Release 5.1 (26th August 2020)

• fmin() • fminf() • fminl() • fmod() • fmodf() • fmodl() • frexp() • frexpf() • frexpl() • hypot() • hypotf() • hypotl() • ilogb() • ilogbf() • ilogbl() • isinf() • isnan() • ldexp() • ldexpf() • ldexpl() • lgamma() • lgammaf() • lgammal() • llrint() • llrintf() • llrintl() • llround() • llroundf() • llroundl() • log() • log10() • log10f() • log10l() • log1p()

10.9. 467 RTEMS POSIX 1003.1 Compliance Guide, Release 5.1 (26th August 2020)Chapter10 Section 10.9

• log1pf() • log1pl() • log2() • log2f() • log2l() • logb() • logbf() • logbl() • logf() • logl() • lrint() • lrintf() • lrintl() • lround() • lroundf() • lroundl() • modf() • modff() • modfl() • nan() • nanf() • nanl() • nearbyint() • nearbyintf() • nearbyintl() • nextafter() • nextafterf() • nextafterl() • nexttoward() • nexttowardl() • pow() • powf() • powl() • remainder()

468 Chapter 10. C99 Standard Library Chapter 10 Section 10.9RTEMS POSIX 1003.1 Compliance Guide, Release 5.1 (26th August 2020)

• remainderf() • remainderl() • remquo() • remquof() • remquol() • rint() • rintf() • rintl() • round() • roundf() • roundl() • scalbln() • scalblnf() • scalblnl() • scalbn() • scalbnf() • scalbnl() • sin() • sinf() • sinh() • sinhf() • sinhl() • sinl() • sqrt() • sqrtf() • sqrtl() • tan() • tanf() • tanh() • tanhf() • tanhl() • tanl() • tgamma() • tgammaf()

10.9. 469 RTEMS POSIX 1003.1 Compliance Guide, Release 5.1 (26th August 2020)Chapter10 Section 10.9

• tgammal() • trunc() • truncf() • truncl() The following methods and variables in are not supported: • fpclassify() • isfinite() • isgreater() • isgreaterequal() • isless() • islessequal() • islessgreater() • isnormal() • isunordered() • nexttowardf() • signbit()

470 Chapter 10. C99 Standard Library Chapter 10 Section 10.10RTEMS POSIX 1003.1 Compliance Guide, Release 5.1 (26th August 2020)

10.10

The following methods and variables in are supported: • longjmp() • setjmp()

10.10. 471 RTEMS POSIX 1003.1 Compliance Guide, Release 5.1 (26th August 2020)Chapter10 Section 10.11

10.11

The following methods and variables in are supported: • raise() • signal()

472 Chapter 10. C99 Standard Library Chapter 10 Section 10.12RTEMS POSIX 1003.1 Compliance Guide, Release 5.1 (26th August 2020)

10.12

The following methods and variables in are supported: • va_arg() • va_copy() • va_end() • va_start()

10.12. 473 RTEMS POSIX 1003.1 Compliance Guide, Release 5.1 (26th August 2020)Chapter10 Section 10.13

10.13

The following methods and variables in are supported: • offsetof()

474 Chapter 10. C99 Standard Library Chapter 10 Section 10.14RTEMS POSIX 1003.1 Compliance Guide, Release 5.1 (26th August 2020)

10.14

The following methods and variables in are supported: • clearerr() • fclose() • feof() • ferror() • fflush() • fgetc() • fgetpos() • fgets() • fileno() • fopen() • fprintf() • fputc() • fputs() • fread() • freopen() • fscanf() • fseek() • fsetpos() • ftell() • fwrite() • getc() • getchar() • gets() • perror() • printf() • putc() • putchar() • puts() • remove() • rename() • rewind() • scanf()

10.14. 475 RTEMS POSIX 1003.1 Compliance Guide, Release 5.1 (26th August 2020)Chapter10 Section 10.14

• setbuf() • setvbuf() • snprintf() • sprintf() • sscanf() • stderr • stdin • stdout • tmpfile() • tmpnam() • ungetc() • vfprintf() • vfscanf() • vprintf() • vscanf() • vsnprintf() • vsprintf() • vsscanf()

476 Chapter 10. C99 Standard Library Chapter 10 Section 10.15RTEMS POSIX 1003.1 Compliance Guide, Release 5.1 (26th August 2020)

10.15

The following methods and variables in are supported: • _Exit() • abs() • atexit() • atof() • atoi() • atol() • atoll() • bsearch() • calloc() • div() • exit() • free() • getenv() • labs() • ldiv() • llabs() • lldiv() • malloc() • mblen() • mbstowcs() • mbtowc() • qsort() • rand() • realloc() • srand() • strtod() • strtof() • strtol() • strtold() • strtoll() • strtoul() • strtoull()

10.15. 477 RTEMS POSIX 1003.1 Compliance Guide, Release 5.1 (26th August 2020)Chapter10 Section 10.15

• wcstombs() • wctomb()

478 Chapter 10. C99 Standard Library Chapter 10 Section 10.16RTEMS POSIX 1003.1 Compliance Guide, Release 5.1 (26th August 2020)

10.16

The following methods and variables in are supported: • memchr() • memcmp() • memcpy() • memmove() • memset() • strcat() • strchr() • strcmp() • strcoll() • strcpy() • strcspn() • strerror() • strlen() • strncat() • strncmp() • strncpy() • strpbrk() • strrchr() • strspn() • strstr() • strtok() • strxfrm()

10.16. 479 RTEMS POSIX 1003.1 Compliance Guide, Release 5.1 (26th August 2020)Chapter10 Section 10.17

10.17

The following methods and variables in are supported: • asctime() • clock() • ctime() • difftime() • gmtime() • localtime() • mktime() • strftime() • time()

480 Chapter 10. C99 Standard Library Chapter 10 Section 10.18RTEMS POSIX 1003.1 Compliance Guide, Release 5.1 (26th August 2020)

10.18

The following methods and variables in are supported: • btowc() • fgetwc() • fgetws() • fputwc() • fputws() • fwide() • fwprintf() • fwscanf() • getwc() • getwchar() • mbrlen() • mbrtowc() • mbsinit() • mbsrtowcs() • putwc() • putwchar() • swprintf() • swscanf() • ungetwc() • vfwprintf() • vfwscanf() • vswprintf() • vswscanf() • vwprintf() • vwscanf() • wcrtomb() • wcscat() • wcschr() • wcscmp() • wcscoll() • wcscpy() • wcscspn()

10.18. 481 RTEMS POSIX 1003.1 Compliance Guide, Release 5.1 (26th August 2020)Chapter10 Section 10.18

• wcsftime() • wcslen() • wcsncat() • wcsncmp() • wcsncpy() • wcspbrk() • wcsrchr() • wcsrtombs() • wcsspn() • wcsstr() • wcstod() • wcstof() • wcstok() • wcstol() • wcstold() • wcstoll() • wcstoul() • wcstoull() • wcsxfrm() • wctob() • wmemchr() • wmemcmp() • wmemcpy() • wmemmove() • wmemset() • wprintf() • wscanf()

482 Chapter 10. C99 Standard Library Chapter 10 Section 10.19RTEMS POSIX 1003.1 Compliance Guide, Release 5.1 (26th August 2020)

10.19

The following methods and variables in are supported: • iswalnum() • iswalpha() • iswblank() • iswcntrl() • iswctype() • iswdigit() • iswgraph() • iswlower() • iswprint() • iswpunct() • iswspace() • iswupper() • iswxdigit() • towctrans() • towlower() • towupper() • wctrans() • wctype()

10.19. 483 RTEMS POSIX 1003.1 Compliance Guide, Release 5.1 (26th August 2020)Chapter10 Section 10.19

484 Chapter 10. C99 Standard Library CHAPTER ELEVEN

C11 STANDARD LIBRARY

This chapter has a subsection per header file to detail the methods provided by RTEMS that are in that header file.

485 RTEMS POSIX 1003.1 Compliance Guide, Release 5.1 (26th August 2020)Chapter11 Section 11.1

11.1 Summary

The follow table summarizes alignment with the C11 Standard Library standard:

Supported 486 ENOSYS 0 Not supported 22

486 Chapter 11. C11 Standard Library Chapter 11 Section 11.2RTEMS POSIX 1003.1 Compliance Guide, Release 5.1 (26th August 2020)

11.2

The following methods and variables in are supported: • assert()

11.2. 487 RTEMS POSIX 1003.1 Compliance Guide, Release 5.1 (26th August 2020)Chapter11 Section 11.3

11.3

The following methods and variables in are supported: • cabs() • cabsf() • cabsl() • cacos() • cacosf() • cacosh() • cacoshf() • cacoshl() • cacosl() • carg() • cargf() • cargl() • casin() • casinf() • casinh() • casinhf() • casinhl() • casinl() • catan() • catanf() • catanh() • catanhf() • catanhl() • catanl() • ccos() • ccosf() • ccosh() • ccoshf() • ccoshl() • ccosl() • cexp() • cexpf()

488 Chapter 11. C11 Standard Library Chapter 11 Section 11.3RTEMS POSIX 1003.1 Compliance Guide, Release 5.1 (26th August 2020)

• cexpl() • cimag() • cimagf() • cimagl() • clog() • clogf() • clogl() • conj() • conjf() • conjl() • cpow() • cpowf() • cpowl() • cproj() • cprojf() • cprojl() • creal() • crealf() • creall() • csin() • csinf() • csinh() • csinhf() • csinhl() • csinl() • csqrt() • csqrtf() • csqrtl() • ctan() • ctanf() • ctanh() • ctanhf() • ctanhl() • ctanl()

11.3. 489 RTEMS POSIX 1003.1 Compliance Guide, Release 5.1 (26th August 2020)Chapter11 Section 11.4

11.4

The following methods and variables in are supported: • isalnum() • isalpha() • isblank() • iscntrl() • isdigit() • isgraph() • islower() • isprint() • ispunct() • isspace() • isupper() • isxdigit() • tolower() • toupper()

490 Chapter 11. C11 Standard Library Chapter 11 Section 11.5RTEMS POSIX 1003.1 Compliance Guide, Release 5.1 (26th August 2020)

11.5

The following methods and variables in are supported: • errno

11.5. 491 RTEMS POSIX 1003.1 Compliance Guide, Release 5.1 (26th August 2020)Chapter11 Section 11.6

11.6

The following methods and variables in are not supported: • feclearexcept() • fegetenv() • fegetexceptflag() • fegetround() • feholdexcept() • feraiseexcept() • fesetenv() • fesetexceptflag() • fesetround() • fetestexcept() • feupdateenv()

492 Chapter 11. C11 Standard Library Chapter 11 Section 11.7RTEMS POSIX 1003.1 Compliance Guide, Release 5.1 (26th August 2020)

11.7

The following methods and variables in are supported: • imaxabs() • imaxdiv() • strtoimax() • strtoumax() • wcstoimax() • wcstoumax()

11.7. 493 RTEMS POSIX 1003.1 Compliance Guide, Release 5.1 (26th August 2020)Chapter11 Section 11.8

11.8

The following methods and variables in are supported: • localeconv() • setlocale()

494 Chapter 11. C11 Standard Library Chapter 11 Section 11.9RTEMS POSIX 1003.1 Compliance Guide, Release 5.1 (26th August 2020)

11.9

The following methods and variables in are supported: • acos() • acosf() • acosh() • acoshf() • acoshl() • acosl() • asin() • asinf() • asinh() • asinhf() • asinhl() • asinl() • atan() • atan2() • atan2f() • atan2l() • atanf() • atanh() • atanhf() • atanhl() • atanl() • cbrt() • cbrtf() • cbrtl() • ceil() • ceilf() • ceill() • copysign() • copysignf() • copysignl() • cos() • cosf()

11.9. 495 RTEMS POSIX 1003.1 Compliance Guide, Release 5.1 (26th August 2020)Chapter11 Section 11.9

• cosh() • coshf() • coshl() • cosl() • erf() • erfc() • erfcf() • erfcl() • erff() • erfl() • exp() • exp2() • exp2f() • exp2l() • expf() • expl() • expm1() • expm1f() • expm1l() • fabs() • fabsf() • fabsl() • fdim() • fdimf() • fdiml() • floor() • floorf() • floorl() • fma() • fmaf() • fmal() • fmax() • fmaxf() • fmaxl()

496 Chapter 11. C11 Standard Library Chapter 11 Section 11.9RTEMS POSIX 1003.1 Compliance Guide, Release 5.1 (26th August 2020)

• fmin() • fminf() • fminl() • fmod() • fmodf() • fmodl() • frexp() • frexpf() • frexpl() • hypot() • hypotf() • hypotl() • ilogb() • ilogbf() • ilogbl() • isinf() • isnan() • ldexp() • ldexpf() • ldexpl() • lgamma() • lgammaf() • lgammal() • llrint() • llrintf() • llrintl() • llround() • llroundf() • llroundl() • log() • log10() • log10f() • log10l() • log1p()

11.9. 497 RTEMS POSIX 1003.1 Compliance Guide, Release 5.1 (26th August 2020)Chapter11 Section 11.9

• log1pf() • log1pl() • log2() • log2f() • log2l() • logb() • logbf() • logbl() • logf() • logl() • lrint() • lrintf() • lrintl() • lround() • lroundf() • lroundl() • modf() • modff() • modfl() • nan() • nanf() • nanl() • nearbyint() • nearbyintf() • nearbyintl() • nextafter() • nextafterf() • nextafterl() • nexttoward() • nexttowardl() • pow() • powf() • powl() • remainder()

498 Chapter 11. C11 Standard Library Chapter 11 Section 11.9RTEMS POSIX 1003.1 Compliance Guide, Release 5.1 (26th August 2020)

• remainderf() • remainderl() • remquo() • remquof() • remquol() • rint() • rintf() • rintl() • round() • roundf() • roundl() • scalbln() • scalblnf() • scalblnl() • scalbn() • scalbnf() • scalbnl() • sin() • sinf() • sinh() • sinhf() • sinhl() • sinl() • sqrt() • sqrtf() • sqrtl() • tan() • tanf() • tanh() • tanhf() • tanhl() • tanl() • tgamma() • tgammaf()

11.9. 499 RTEMS POSIX 1003.1 Compliance Guide, Release 5.1 (26th August 2020)Chapter11 Section 11.9

• tgammal() • trunc() • truncf() • truncl() The following methods and variables in are not supported: • fpclassify() • isfinite() • isgreater() • isgreaterequal() • isless() • islessequal() • islessgreater() • isnormal() • isunordered() • nexttowardf() • signbit()

500 Chapter 11. C11 Standard Library Chapter 11 Section 11.10RTEMS POSIX 1003.1 Compliance Guide, Release 5.1 (26th August 2020)

11.10

The following methods and variables in are supported: • longjmp() • setjmp()

11.10. 501 RTEMS POSIX 1003.1 Compliance Guide, Release 5.1 (26th August 2020)Chapter11 Section 11.11

11.11

The following methods and variables in are supported: • raise() • signal()

502 Chapter 11. C11 Standard Library Chapter 11 Section 11.12RTEMS POSIX 1003.1 Compliance Guide, Release 5.1 (26th August 2020)

11.12

The following methods and variables in are supported: • va_arg() • va_copy() • va_end() • va_start()

11.12. 503 RTEMS POSIX 1003.1 Compliance Guide, Release 5.1 (26th August 2020)Chapter11 Section 11.13

11.13

The following methods and variables in are supported: • offsetof()

504 Chapter 11. C11 Standard Library Chapter 11 Section 11.14RTEMS POSIX 1003.1 Compliance Guide, Release 5.1 (26th August 2020)

11.14

The following methods and variables in are supported: • clearerr() • fclose() • feof() • ferror() • fflush() • fgetc() • fgetpos() • fgets() • fopen() • fprintf() • fputc() • fputs() • fread() • freopen() • fscanf() • fseek() • fsetpos() • ftell() • fwrite() • getc() • getchar() • perror() • printf() • putc() • putchar() • puts() • remove() • rename() • rewind() • scanf() • setbuf() • setvbuf()

11.14. 505 RTEMS POSIX 1003.1 Compliance Guide, Release 5.1 (26th August 2020)Chapter11 Section 11.14

• snprintf() • sprintf() • sscanf() • stderr • stdin • stdout • tmpfile() • tmpnam() • ungetc() • vfprintf() • vfscanf() • vprintf() • vscanf() • vsnprintf() • vsprintf() • vsscanf()

506 Chapter 11. C11 Standard Library Chapter 11 Section 11.15RTEMS POSIX 1003.1 Compliance Guide, Release 5.1 (26th August 2020)

11.15

The following methods and variables in are supported: • _Exit() • abs() • atexit() • atof() • atoi() • atol() • atoll() • bsearch() • calloc() • div() • exit() • free() • getenv() • labs() • ldiv() • llabs() • lldiv() • malloc() • mblen() • mbstowcs() • mbtowc() • qsort() • rand() • realloc() • srand() • strtod() • strtof() • strtol() • strtold() • strtoll() • strtoul() • strtoull()

11.15. 507 RTEMS POSIX 1003.1 Compliance Guide, Release 5.1 (26th August 2020)Chapter11 Section 11.15

• wcstombs() • wctomb()

508 Chapter 11. C11 Standard Library Chapter 11 Section 11.16RTEMS POSIX 1003.1 Compliance Guide, Release 5.1 (26th August 2020)

11.16

The following methods and variables in are supported: • memchr() • memcmp() • memcpy() • memmove() • memset() • strcat() • strchr() • strcmp() • strcoll() • strcpy() • strcspn() • strerror() • strlen() • strncat() • strncmp() • strncpy() • strpbrk() • strrchr() • strspn() • strstr() • strtok() • strxfrm()

11.16. 509 RTEMS POSIX 1003.1 Compliance Guide, Release 5.1 (26th August 2020)Chapter11 Section 11.17

11.17

The following methods and variables in are supported: • call_once() • cnd_broadcast() • cnd_destroy() • cnd_init() • cnd_signal() • cnd_timedwait() • cnd_wait() • mtx_destroy() • mtx_init() • mtx_lock() • mtx_timedlock() • mtx_trylock() • mtx_unlock() • thrd_create() • thrd_current() • thrd_detach() • thrd_equal() • thrd_exit() • thrd_join() • thrd_sleep() • thrd_yield() • tss_create() • tss_delete() • tss_get() • tss_set()

510 Chapter 11. C11 Standard Library Chapter 11 Section 11.18RTEMS POSIX 1003.1 Compliance Guide, Release 5.1 (26th August 2020)

11.18

The following methods and variables in are supported: • asctime() • clock() • ctime() • difftime() • gmtime() • localtime() • mktime() • strftime() • time()

11.18. 511 RTEMS POSIX 1003.1 Compliance Guide, Release 5.1 (26th August 2020)Chapter11 Section 11.19

11.19

The following methods and variables in are supported: • btowc() • fgetwc() • fgetws() • fputwc() • fputws() • fwide() • fwprintf() • fwscanf() • getwc() • getwchar() • mbrlen() • mbrtowc() • mbsinit() • mbsrtowcs() • putwc() • putwchar() • swprintf() • swscanf() • ungetwc() • vfwprintf() • vfwscanf() • vswprintf() • vswscanf() • vwprintf() • vwscanf() • wcrtomb() • wcscat() • wcschr() • wcscmp() • wcscoll() • wcscpy() • wcscspn()

512 Chapter 11. C11 Standard Library Chapter 11 Section 11.19RTEMS POSIX 1003.1 Compliance Guide, Release 5.1 (26th August 2020)

• wcsftime() • wcslen() • wcsncat() • wcsncmp() • wcsncpy() • wcspbrk() • wcsrchr() • wcsrtombs() • wcsspn() • wcsstr() • wcstod() • wcstof() • wcstok() • wcstol() • wcstold() • wcstoll() • wcstoul() • wcstoull() • wcsxfrm() • wctob() • wmemchr() • wmemcmp() • wmemcpy() • wmemmove() • wmemset() • wprintf() • wscanf()

11.19. 513 RTEMS POSIX 1003.1 Compliance Guide, Release 5.1 (26th August 2020)Chapter11 Section 11.20

11.20

The following methods and variables in are supported: • iswalnum() • iswalpha() • iswblank() • iswcntrl() • iswctype() • iswdigit() • iswgraph() • iswlower() • iswprint() • iswpunct() • iswspace() • iswupper() • iswxdigit() • towctrans() • towlower() • towupper() • wctrans() • wctype()

514 Chapter 11. C11 Standard Library CHAPTER TWELVE

FACE 2.1 SECURITY

This chapter has a subsection per header file to detail the methods provided by RTEMS that are in that header file.

515 RTEMS POSIX 1003.1 Compliance Guide, Release 5.1 (26th August 2020)Chapter12 Section 12.1

12.1 Summary

The follow table summarizes alignment with the FACE 2.1 Security standard:

Supported 162 ENOSYS 1 Not supported 0

516 Chapter 12. FACE 2.1 Security Chapter 12 Section 12.2RTEMS POSIX 1003.1 Compliance Guide, Release 5.1 (26th August 2020)

12.2

The following methods and variables in are supported: • htonl() • htons() • inet_ntop() • inet_pton() • ntohl() • ntohs()

12.2. 517 RTEMS POSIX 1003.1 Compliance Guide, Release 5.1 (26th August 2020)Chapter12 Section 12.3

12.3

The following methods and variables in are supported: • isalnum() • isalpha() • iscntrl() • isdigit() • isgraph() • islower() • isprint() • ispunct() • isspace() • isupper() • isxdigit() • tolower() • toupper()

518 Chapter 12. FACE 2.1 Security Chapter 12 Section 12.4RTEMS POSIX 1003.1 Compliance Guide, Release 5.1 (26th August 2020)

12.4

The following methods and variables in are supported: • posix_devctl()

12.4. 519 RTEMS POSIX 1003.1 Compliance Guide, Release 5.1 (26th August 2020)Chapter12 Section 12.5

12.5

The following methods and variables in are supported: • errno

520 Chapter 12. FACE 2.1 Security Chapter 12 Section 12.6RTEMS POSIX 1003.1 Compliance Guide, Release 5.1 (26th August 2020)

12.6

The following methods and variables in are supported: • acos() • acosh() • asin() • asinh() • atan() • atan2() • atanh() • ceil() • cos() • cosh() • exp() • fabs() • floor() • fmod() • frexp() • isinf() • isnan() • ldexp() • log() • log10() • modf() • pow() • sin() • sinh() • sqrt() • tan() • tanh()

12.6. 521 RTEMS POSIX 1003.1 Compliance Guide, Release 5.1 (26th August 2020)Chapter12 Section 12.7

12.7

The following methods and variables in are supported: • freeaddrinfo() • getaddrinfo() • getnameinfo()

522 Chapter 12. FACE 2.1 Security Chapter 12 Section 12.8RTEMS POSIX 1003.1 Compliance Guide, Release 5.1 (26th August 2020)

12.8

The following methods and variables in are supported: • pthread_attr_destroy() • pthread_attr_getinheritsched() • pthread_attr_getschedparam() • pthread_attr_getschedpolicy() • pthread_attr_getscope() • pthread_attr_getstack() • pthread_attr_init() • pthread_attr_setinheritsched() • pthread_attr_setschedparam() • pthread_attr_setschedpolicy() • pthread_attr_setscope() • pthread_attr_setstack() • pthread_create() • pthread_equal() • pthread_getschedparam() • pthread_mutex_init() • pthread_mutex_lock() • pthread_mutex_timedlock() • pthread_mutex_trylock() • pthread_mutex_unlock() • pthread_mutexattr_destroy() • pthread_mutexattr_getprioceiling() • pthread_mutexattr_getprotocol() • pthread_mutexattr_init() • pthread_mutexattr_setprioceiling() • pthread_mutexattr_setprotocol() • pthread_once() • pthread_self() • pthread_setschedparam() • pthread_setschedprio() The following methods in are implemented as stubs returning -1 and setting errno to ENOSYS:

12.8. 523 RTEMS POSIX 1003.1 Compliance Guide, Release 5.1 (26th August 2020)Chapter12 Section 12.8

• pthread_getcpuclockid()

524 Chapter 12. FACE 2.1 Security Chapter 12 Section 12.9RTEMS POSIX 1003.1 Compliance Guide, Release 5.1 (26th August 2020)

12.9

The following methods and variables in are supported: • sched_get_priority_max() • sched_get_priority_min() • sched_yield()

12.9. 525 RTEMS POSIX 1003.1 Compliance Guide, Release 5.1 (26th August 2020)Chapter12 Section 12.10

12.10

The following methods and variables in are supported: • sem_close() • sem_getvalue() • sem_init() • sem_open() • sem_post() • sem_timedwait() • sem_trywait() • sem_wait()

526 Chapter 12. FACE 2.1 Security Chapter 12 Section 12.11RTEMS POSIX 1003.1 Compliance Guide, Release 5.1 (26th August 2020)

12.11

The following methods and variables in are supported: • pthread_sigmask() • sigaction() • sigaddset() • sigdelset() • sigemptyset() • sigfillset() • sigismember() • sigpending() • sigqueue() • sigsuspend() • sigtimedwait() • sigwait() • sigwaitinfo()

12.11. 527 RTEMS POSIX 1003.1 Compliance Guide, Release 5.1 (26th August 2020)Chapter12 Section 12.12

12.12

The following methods and variables in are supported: • abs() • atof() • atoi() • atol() • div() • labs() • ldiv() • malloc() • rand_r() • strtod() • strtol() • strtoul()

528 Chapter 12. FACE 2.1 Security Chapter 12 Section 12.13RTEMS POSIX 1003.1 Compliance Guide, Release 5.1 (26th August 2020)

12.13

The following methods and variables in are supported: • memchr() • memcmp() • memcpy() • memmove() • memset() • strcat() • strchr() • strcmp() • strcpy() • strcspn() • strlen() • strncat() • strncmp() • strncpy() • strpbrk() • strrchr() • strspn() • strstr() • strtok_r()

12.13. 529 RTEMS POSIX 1003.1 Compliance Guide, Release 5.1 (26th August 2020)Chapter12 Section 12.14

12.14

The following methods and variables in are supported: • mmap() • shm_open()

530 Chapter 12. FACE 2.1 Security Chapter 12 Section 12.15RTEMS POSIX 1003.1 Compliance Guide, Release 5.1 (26th August 2020)

12.15

The following methods and variables in are supported: • bind() • connect() • getpeername() • getsockname() • getsockopt() • recv() • recvfrom() • send() • sendto() • setsockopt() • shutdown() • socket()

12.15. 531 RTEMS POSIX 1003.1 Compliance Guide, Release 5.1 (26th August 2020)Chapter12 Section 12.16

12.16

The following methods and variables in are supported: • stat()

532 Chapter 12. FACE 2.1 Security Chapter 12 Section 12.17RTEMS POSIX 1003.1 Compliance Guide, Release 5.1 (26th August 2020)

12.17

The following methods and variables in are supported: • clock_getres() • clock_gettime() • clock_settime() • nanosleep() • timer_create() • timer_getoverrun() • timer_gettime() • timer_settime()

12.17. 533 RTEMS POSIX 1003.1 Compliance Guide, Release 5.1 (26th August 2020)Chapter12 Section 12.18

12.18

The following methods and variables in are supported: • alarm() • ftruncate() • pause()

534 Chapter 12. FACE 2.1 Security CHAPTER THIRTEEN

FACE 2.1 SAFETY BASE

This chapter has a subsection per header file to detail the methods provided by RTEMS that are in that header file.

535 RTEMS POSIX 1003.1 Compliance Guide, Release 5.1 (26th August 2020)Chapter13 Section 13.1

13.1 Summary

The follow table summarizes alignment with the FACE 2.1 Safety Base standard:

Supported 245 ENOSYS 1 Not supported 0

536 Chapter 13. FACE 2.1 Safety Base Chapter 13 Section 13.2RTEMS POSIX 1003.1 Compliance Guide, Release 5.1 (26th August 2020)

13.2

The following methods and variables in are supported: • htonl() • htons() • inet_ntop() • inet_pton() • ntohl() • ntohs()

13.2. 537 RTEMS POSIX 1003.1 Compliance Guide, Release 5.1 (26th August 2020)Chapter13 Section 13.3

13.3

The following methods and variables in are supported: • isalnum() • isalpha() • iscntrl() • isdigit() • isgraph() • islower() • isprint() • ispunct() • isspace() • isupper() • isxdigit() • tolower() • toupper()

538 Chapter 13. FACE 2.1 Safety Base Chapter 13 Section 13.4RTEMS POSIX 1003.1 Compliance Guide, Release 5.1 (26th August 2020)

13.4

The following methods and variables in are supported: • posix_devctl()

13.4. 539 RTEMS POSIX 1003.1 Compliance Guide, Release 5.1 (26th August 2020)Chapter13 Section 13.5

13.5

The following methods and variables in are supported: • closedir() • opendir() • readdir() • readdir_r() • rewinddir()

540 Chapter 13. FACE 2.1 Safety Base Chapter 13 Section 13.6RTEMS POSIX 1003.1 Compliance Guide, Release 5.1 (26th August 2020)

13.6

The following methods and variables in are supported: • errno

13.6. 541 RTEMS POSIX 1003.1 Compliance Guide, Release 5.1 (26th August 2020)Chapter13 Section 13.7

13.7

The following methods and variables in are supported: • creat() • open()

542 Chapter 13. FACE 2.1 Safety Base Chapter 13 Section 13.8RTEMS POSIX 1003.1 Compliance Guide, Release 5.1 (26th August 2020)

13.8

The following methods and variables in are supported: • acos() • acosh() • asin() • asinh() • atan() • atan2() • atanh() • ceil() • cos() • cosh() • exp() • fabs() • floor() • fmod() • frexp() • isinf() • isnan() • ldexp() • log() • log10() • modf() • pow() • sin() • sinh() • sqrt() • tan() • tanh()

13.8. 543 RTEMS POSIX 1003.1 Compliance Guide, Release 5.1 (26th August 2020)Chapter13 Section 13.9

13.9

The following methods and variables in are supported: • mq_getattr() • mq_notify() • mq_open() • mq_receive() • mq_send() • mq_setattr() • mq_timedreceive() • mq_timedsend()

544 Chapter 13. FACE 2.1 Safety Base Chapter 13 Section 13.10RTEMS POSIX 1003.1 Compliance Guide, Release 5.1 (26th August 2020)

13.10

The following methods and variables in are supported: • freeaddrinfo() • getaddrinfo() • getnameinfo()

13.10. 545 RTEMS POSIX 1003.1 Compliance Guide, Release 5.1 (26th August 2020)Chapter13 Section 13.11

13.11

The following methods and variables in are supported: • pthread_attr_destroy() • pthread_attr_getinheritsched() • pthread_attr_getschedparam() • pthread_attr_getschedpolicy() • pthread_attr_getscope() • pthread_attr_getstack() • pthread_attr_getstacksize() • pthread_attr_init() • pthread_attr_setinheritsched() • pthread_attr_setschedparam() • pthread_attr_setschedpolicy() • pthread_attr_setscope() • pthread_attr_setstack() • pthread_attr_setstacksize() • pthread_cond_broadcast() • pthread_cond_destroy() • pthread_cond_init() • pthread_cond_signal() • pthread_cond_timedwait() • pthread_cond_wait() • pthread_condattr_destroy() • pthread_condattr_getclock() • pthread_condattr_init() • pthread_condattr_setclock() • pthread_create() • pthread_equal() • pthread_getconcurrency() • pthread_getschedparam() • pthread_getspecific() • pthread_key_create() • pthread_mutex_init() • pthread_mutex_lock()

546 Chapter 13. FACE 2.1 Safety Base Chapter 13 Section 13.11RTEMS POSIX 1003.1 Compliance Guide, Release 5.1 (26th August 2020)

• pthread_mutex_timedlock() • pthread_mutex_trylock() • pthread_mutex_unlock() • pthread_mutexattr_destroy() • pthread_mutexattr_getprioceiling() • pthread_mutexattr_getprotocol() • pthread_mutexattr_init() • pthread_mutexattr_setprioceiling() • pthread_mutexattr_setprotocol() • pthread_once() • pthread_self() • pthread_setconcurrency() • pthread_setschedparam() • pthread_setschedprio() • pthread_setspecific() The following methods in are implemented as stubs returning -1 and setting errno to ENOSYS: • pthread_getcpuclockid()

13.11. 547 RTEMS POSIX 1003.1 Compliance Guide, Release 5.1 (26th August 2020)Chapter13 Section 13.12

13.12

The following methods and variables in are supported: • sched_get_priority_max() • sched_get_priority_min() • sched_yield()

548 Chapter 13. FACE 2.1 Safety Base Chapter 13 Section 13.13RTEMS POSIX 1003.1 Compliance Guide, Release 5.1 (26th August 2020)

13.13

The following methods and variables in are supported: • sem_close() • sem_getvalue() • sem_init() • sem_open() • sem_post() • sem_timedwait() • sem_trywait() • sem_wait()

13.13. 549 RTEMS POSIX 1003.1 Compliance Guide, Release 5.1 (26th August 2020)Chapter13 Section 13.14

13.14

The following methods and variables in are supported: • pthread_sigmask() • sigaction() • sigaddset() • sigdelset() • sigemptyset() • sigfillset() • sigismember() • sigpending() • sigqueue() • sigsuspend() • sigtimedwait() • sigwait() • sigwaitinfo()

550 Chapter 13. FACE 2.1 Safety Base Chapter 13 Section 13.15RTEMS POSIX 1003.1 Compliance Guide, Release 5.1 (26th August 2020)

13.15

The following methods and variables in are supported: • clearerr() • fclose() • feof() • ferror() • fflush() • fgetc() • fgets() • fileno() • fopen() • fprintf() • fread() • freopen() • fseek() • fseeko() • ftell() • ftello() • fwrite() • remove() • rename() • snprintf()

13.15. 551 RTEMS POSIX 1003.1 Compliance Guide, Release 5.1 (26th August 2020)Chapter13 Section 13.16

13.16

The following methods and variables in are supported: • abs() • atof() • atoi() • atol() • calloc() • div() • labs() • ldiv() • malloc() • rand_r() • strtod() • strtol() • strtoul()

552 Chapter 13. FACE 2.1 Safety Base Chapter 13 Section 13.17RTEMS POSIX 1003.1 Compliance Guide, Release 5.1 (26th August 2020)

13.17

The following methods and variables in are supported: • memchr() • memcmp() • memcpy() • memmove() • memset() • strcat() • strchr() • strcmp() • strcpy() • strcspn() • strerror_r() • strlen() • strncat() • strncmp() • strncpy() • strpbrk() • strrchr() • strspn() • strstr() • strtok_r()

13.17. 553 RTEMS POSIX 1003.1 Compliance Guide, Release 5.1 (26th August 2020)Chapter13 Section 13.18

13.18

The following methods and variables in are supported: • mmap() • shm_open()

554 Chapter 13. FACE 2.1 Safety Base Chapter 13 Section 13.19RTEMS POSIX 1003.1 Compliance Guide, Release 5.1 (26th August 2020)

13.19

The following methods and variables in are supported: • FD_CLR() • FD_ISSET() • FD_SET() • FD_ZERO() • select()

13.19. 555 RTEMS POSIX 1003.1 Compliance Guide, Release 5.1 (26th August 2020)Chapter13 Section 13.20

13.20

The following methods and variables in are supported: • bind() • connect() • getpeername() • getsockname() • getsockopt() • recv() • recvfrom() • send() • sendto() • setsockopt() • shutdown() • socket()

556 Chapter 13. FACE 2.1 Safety Base Chapter 13 Section 13.21RTEMS POSIX 1003.1 Compliance Guide, Release 5.1 (26th August 2020)

13.21

The following methods and variables in are supported: • fstat() • mkdir() • stat() • umask()

13.21. 557 RTEMS POSIX 1003.1 Compliance Guide, Release 5.1 (26th August 2020)Chapter13 Section 13.22

13.22

The following methods and variables in are supported: • asctime_r() • clock_getres() • clock_gettime() • clock_settime() • ctime_r() • difftime() • gmtime_r() • localtime_r() • mktime() • nanosleep() • time() • timer_create() • timer_getoverrun() • timer_gettime() • timer_settime() • tzname • tzset()

558 Chapter 13. FACE 2.1 Safety Base Chapter 13 Section 13.23RTEMS POSIX 1003.1 Compliance Guide, Release 5.1 (26th August 2020)

13.23

The following methods and variables in are supported: • access() • alarm() • chdir() • close() • fsync() • ftruncate() • getcwd() • gethostname() • link() • lseek() • pause() • read() • rmdir() • unlink() • write()

13.23. 559 RTEMS POSIX 1003.1 Compliance Guide, Release 5.1 (26th August 2020)Chapter13 Section 13.23

560 Chapter 13. FACE 2.1 Safety Base CHAPTER FOURTEEN

FACE 2.1 SAFETY EXTENDED

This chapter has a subsection per header file to detail the methods provided by RTEMS that are in that header file.

561 RTEMS POSIX 1003.1 Compliance Guide, Release 5.1 (26th August 2020)Chapter14 Section 14.1

14.1 Summary

The follow table summarizes alignment with the FACE 2.1 Safety Extended standard:

Supported 315 ENOSYS 11 Not supported 9

562 Chapter 14. FACE 2.1 Safety Extended Chapter 14 Section 14.2RTEMS POSIX 1003.1 Compliance Guide, Release 5.1 (26th August 2020)

14.2

The following methods and variables in are supported: • htonl() • htons() • inet_ntop() • inet_pton() • ntohl() • ntohs()

14.2. 563 RTEMS POSIX 1003.1 Compliance Guide, Release 5.1 (26th August 2020)Chapter14 Section 14.3

14.3

The following methods and variables in are supported: • isalnum() • isalpha() • iscntrl() • isdigit() • isgraph() • islower() • isprint() • ispunct() • isspace() • isupper() • isxdigit() • tolower() • toupper()

564 Chapter 14. FACE 2.1 Safety Extended Chapter 14 Section 14.4RTEMS POSIX 1003.1 Compliance Guide, Release 5.1 (26th August 2020)

14.4

The following methods and variables in are supported: • posix_devctl()

14.4. 565 RTEMS POSIX 1003.1 Compliance Guide, Release 5.1 (26th August 2020)Chapter14 Section 14.5

14.5

The following methods and variables in are supported: • closedir() • opendir() • readdir() • readdir_r() • rewinddir()

566 Chapter 14. FACE 2.1 Safety Extended Chapter 14 Section 14.6RTEMS POSIX 1003.1 Compliance Guide, Release 5.1 (26th August 2020)

14.6

The following methods and variables in are supported: • errno

14.6. 567 RTEMS POSIX 1003.1 Compliance Guide, Release 5.1 (26th August 2020)Chapter14 Section 14.7

14.7

The following methods and variables in are supported: • creat() • fcntl() • open()

568 Chapter 14. FACE 2.1 Safety Extended Chapter 14 Section 14.8RTEMS POSIX 1003.1 Compliance Guide, Release 5.1 (26th August 2020)

14.8

The following methods and variables in are supported: • acos() • acosh() • asin() • asinh() • atan() • atan2() • atanh() • ceil() • cos() • cosh() • exp() • fabs() • floor() • fmod() • frexp() • isinf() • isnan() • ldexp() • log() • log10() • modf() • pow() • sin() • sinh() • sqrt() • tan() • tanh()

14.8. 569 RTEMS POSIX 1003.1 Compliance Guide, Release 5.1 (26th August 2020)Chapter14 Section 14.9

14.9

The following methods and variables in are supported: • mq_getattr() • mq_notify() • mq_open() • mq_receive() • mq_send() • mq_setattr() • mq_timedreceive() • mq_timedsend()

570 Chapter 14. FACE 2.1 Safety Extended Chapter 14 Section 14.10RTEMS POSIX 1003.1 Compliance Guide, Release 5.1 (26th August 2020)

14.10

The following methods and variables in are supported: • freeaddrinfo() • getaddrinfo() • getnameinfo()

14.10. 571 RTEMS POSIX 1003.1 Compliance Guide, Release 5.1 (26th August 2020)Chapter14 Section 14.11

14.11

The following methods and variables in are supported: • pthread_attr_destroy() • pthread_attr_getdetachstate() • pthread_attr_getguardsize() • pthread_attr_getinheritsched() • pthread_attr_getschedparam() • pthread_attr_getschedpolicy() • pthread_attr_getscope() • pthread_attr_getstack() • pthread_attr_getstacksize() • pthread_attr_init() • pthread_attr_setdetachstate() • pthread_attr_setguardsize() • pthread_attr_setinheritsched() • pthread_attr_setschedparam() • pthread_attr_setschedpolicy() • pthread_attr_setscope() • pthread_attr_setstack() • pthread_attr_setstacksize() • pthread_cancel() • pthread_cleanup_pop() • pthread_cleanup_push() • pthread_cond_broadcast() • pthread_cond_destroy() • pthread_cond_init() • pthread_cond_signal() • pthread_cond_timedwait() • pthread_cond_wait() • pthread_condattr_destroy() • pthread_condattr_getclock() • pthread_condattr_init() • pthread_condattr_setclock() • pthread_create()

572 Chapter 14. FACE 2.1 Safety Extended Chapter 14 Section 14.11RTEMS POSIX 1003.1 Compliance Guide, Release 5.1 (26th August 2020)

• pthread_detach() • pthread_equal() • pthread_exit() • pthread_getconcurrency() • pthread_getschedparam() • pthread_getspecific() • pthread_join() • pthread_key_create() • pthread_key_delete() • pthread_mutex_destroy() • pthread_mutex_init() • pthread_mutex_lock() • pthread_mutex_timedlock() • pthread_mutex_trylock() • pthread_mutex_unlock() • pthread_mutexattr_destroy() • pthread_mutexattr_getprioceiling() • pthread_mutexattr_getprotocol() • pthread_mutexattr_init() • pthread_mutexattr_setprioceiling() • pthread_mutexattr_setprotocol() • pthread_once() • pthread_self() • pthread_setcancelstate() • pthread_setcanceltype() • pthread_setconcurrency() • pthread_setschedparam() • pthread_setschedprio() • pthread_setspecific() The following methods in are implemented as stubs returning -1 and setting errno to ENOSYS: • pthread_atfork() • pthread_getcpuclockid()

14.11. 573 RTEMS POSIX 1003.1 Compliance Guide, Release 5.1 (26th August 2020)Chapter14 Section 14.12

14.12

The following methods and variables in are supported: • sched_get_priority_max() • sched_get_priority_min() • sched_rr_get_interval() • sched_yield() The following methods in are implemented as stubs returning -1 and setting errno to ENOSYS: • sched_getparam() • sched_getscheduler() • sched_setparam() • sched_setscheduler()

574 Chapter 14. FACE 2.1 Safety Extended Chapter 14 Section 14.13RTEMS POSIX 1003.1 Compliance Guide, Release 5.1 (26th August 2020)

14.13

The following methods and variables in are supported: • sem_close() • sem_destroy() • sem_getvalue() • sem_init() • sem_open() • sem_post() • sem_timedwait() • sem_trywait() • sem_unlink() • sem_wait()

14.13. 575 RTEMS POSIX 1003.1 Compliance Guide, Release 5.1 (26th August 2020)Chapter14 Section 14.14

14.14

The following methods and variables in are supported: • siglongjmp() • sigsetjmp()

576 Chapter 14. FACE 2.1 Safety Extended Chapter 14 Section 14.15RTEMS POSIX 1003.1 Compliance Guide, Release 5.1 (26th August 2020)

14.15

The following methods and variables in are supported: • kill() • pthread_kill() • pthread_sigmask() • raise() • sigaction() • sigaddset() • sigdelset() • sigemptyset() • sigfillset() • sigismember() • sigpending() • sigqueue() • sigsuspend() • sigtimedwait() • sigwait() • sigwaitinfo()

14.15. 577 RTEMS POSIX 1003.1 Compliance Guide, Release 5.1 (26th August 2020)Chapter14 Section 14.16

14.16

The following methods and variables in are not supported: • posix_spawn() • posix_spawnattr_destroy() • posix_spawnattr_getflags() • posix_spawnattr_getsigdefault() • posix_spawnattr_getsigmask() • posix_spawnattr_init() • posix_spawnattr_setflags() • posix_spawnattr_setsigdefault() • posix_spawnattr_setsigmask()

578 Chapter 14. FACE 2.1 Safety Extended Chapter 14 Section 14.17RTEMS POSIX 1003.1 Compliance Guide, Release 5.1 (26th August 2020)

14.17

The following methods and variables in are supported: • va_arg() • va_end() • va_start()

14.17. 579 RTEMS POSIX 1003.1 Compliance Guide, Release 5.1 (26th August 2020)Chapter14 Section 14.18

14.18

The following methods and variables in are supported: • clearerr() • fclose() • feof() • ferror() • fflush() • fgetc() • fgets() • fileno() • flockfile() • fopen() • fprintf() • fread() • freopen() • fseek() • fseeko() • ftell() • ftello() • ftrylockfile() • funlockfile() • fwrite() • remove() • rename() • snprintf() • sscanf() • vfprintf() • vsnprintf()

580 Chapter 14. FACE 2.1 Safety Extended Chapter 14 Section 14.19RTEMS POSIX 1003.1 Compliance Guide, Release 5.1 (26th August 2020)

14.19

The following methods and variables in are supported: • _Exit() • abort() • abs() • atexit() • atof() • atoi() • atol() • bsearch() • calloc() • div() • exit() • free() • getenv() • labs() • ldiv() • malloc() • rand_r() • realloc() • strtod() • strtol() • strtoul()

14.19. 581 RTEMS POSIX 1003.1 Compliance Guide, Release 5.1 (26th August 2020)Chapter14 Section 14.20

14.20

The following methods and variables in are supported: • memchr() • memcmp() • memcpy() • memmove() • memset() • strcat() • strchr() • strcmp() • strcpy() • strcspn() • strerror_r() • strlen() • strncat() • strncmp() • strncpy() • strpbrk() • strrchr() • strspn() • strstr() • strtok_r()

582 Chapter 14. FACE 2.1 Safety Extended Chapter 14 Section 14.21RTEMS POSIX 1003.1 Compliance Guide, Release 5.1 (26th August 2020)

14.21

The following methods and variables in are supported: • mmap() • shm_open()

14.21. 583 RTEMS POSIX 1003.1 Compliance Guide, Release 5.1 (26th August 2020)Chapter14 Section 14.22

14.22

The following methods and variables in are supported: • FD_CLR() • FD_ISSET() • FD_SET() • FD_ZERO() • select()

584 Chapter 14. FACE 2.1 Safety Extended Chapter 14 Section 14.23RTEMS POSIX 1003.1 Compliance Guide, Release 5.1 (26th August 2020)

14.23

The following methods and variables in are supported: • accept() • bind() • connect() • getpeername() • getsockname() • getsockopt() • listen() • recv() • recvfrom() • send() • sendto() • setsockopt() • shutdown() • socket()

14.23. 585 RTEMS POSIX 1003.1 Compliance Guide, Release 5.1 (26th August 2020)Chapter14 Section 14.24

14.24

The following methods and variables in are supported: • chmod() • fstat() • lstat() • mkdir() • mkfifo() • stat() • umask()

586 Chapter 14. FACE 2.1 Safety Extended Chapter 14 Section 14.25RTEMS POSIX 1003.1 Compliance Guide, Release 5.1 (26th August 2020)

14.25

The following methods and variables in are supported: • times()

14.25. 587 RTEMS POSIX 1003.1 Compliance Guide, Release 5.1 (26th August 2020)Chapter14 Section 14.26

14.26

The following methods and variables in are supported: • uname()

588 Chapter 14. FACE 2.1 Safety Extended Chapter 14 Section 14.27RTEMS POSIX 1003.1 Compliance Guide, Release 5.1 (26th August 2020)

14.27

The following methods and variables in are supported: • waitpid()

14.27. 589 RTEMS POSIX 1003.1 Compliance Guide, Release 5.1 (26th August 2020)Chapter14 Section 14.28

14.28

The following methods and variables in are supported: • asctime_r() • clock() • clock_getres() • clock_gettime() • clock_settime() • ctime_r() • difftime() • gmtime_r() • localtime_r() • mktime() • nanosleep() • strftime() • time() • timer_create() • timer_delete() • timer_getoverrun() • timer_gettime() • timer_settime() • tzname • tzset()

590 Chapter 14. FACE 2.1 Safety Extended Chapter 14 Section 14.29RTEMS POSIX 1003.1 Compliance Guide, Release 5.1 (26th August 2020)

14.29

The following methods and variables in are supported: • _exit() • access() • alarm() • chdir() • chown() • close() • dup2() • environ • fsync() • ftruncate() • getcwd() • getegid() • geteuid() • getgid() • getgroups() • gethostname() • getpgrp() • getpid() • getppid() • getuid() • link() • lseek() • pause() • pipe() • read() • rmdir() • setegid() • seteuid() • setgid() • setuid() • sleep() • sysconf()

14.29. 591 RTEMS POSIX 1003.1 Compliance Guide, Release 5.1 (26th August 2020)Chapter14 Section 14.29

• unlink() • write() The following methods in are implemented as stubs returning -1 and setting errno to ENOSYS: • execl() • execle() • execv() • execve() • fork()

592 Chapter 14. FACE 2.1 Safety Extended CHAPTER FIFTEEN

FACE 2.1 GENERAL PURPOSE

This chapter has a subsection per header file to detail the methods provided by RTEMS that are in that header file.

593 RTEMS POSIX 1003.1 Compliance Guide, Release 5.1 (26th August 2020)Chapter15 Section 15.1

15.1 Summary

The follow table summarizes alignment with the FACE 2.1 General Purpose standard:

Supported 752 ENOSYS 14 Not supported 46

594 Chapter 15. FACE 2.1 General Purpose Chapter 15 Section 15.2RTEMS POSIX 1003.1 Compliance Guide, Release 5.1 (26th August 2020)

15.2

The following methods and variables in are supported: • aio_cancel() • aio_error() • aio_fsync() • aio_read() • aio_return() • aio_write() The following methods in are implemented as stubs returning -1 and setting errno to ENOSYS: • aio_suspend() • lio_listio()

15.2. 595 RTEMS POSIX 1003.1 Compliance Guide, Release 5.1 (26th August 2020)Chapter15 Section 15.3

15.3

The following methods and variables in are supported: • htonl() • htons() • inet_addr() • inet_ntoa() • inet_ntop() • inet_pton() • ntohl() • ntohs()

596 Chapter 15. FACE 2.1 General Purpose Chapter 15 Section 15.4RTEMS POSIX 1003.1 Compliance Guide, Release 5.1 (26th August 2020)

15.4

The following methods and variables in are supported: • assert()

15.4. 597 RTEMS POSIX 1003.1 Compliance Guide, Release 5.1 (26th August 2020)Chapter15 Section 15.5

15.5

The following methods and variables in are supported: • cabs() • cabsf() • cabsl() • cacos() • cacosf() • cacosh() • cacoshf() • cacoshl() • cacosl() • carg() • cargf() • cargl() • casin() • casinf() • casinh() • casinhf() • casinhl() • casinl() • catan() • catanf() • catanh() • catanhf() • catanhl() • catanl() • ccos() • ccosf() • ccosh() • ccoshf() • ccoshl() • ccosl() • cexp() • cexpf()

598 Chapter 15. FACE 2.1 General Purpose Chapter 15 Section 15.5RTEMS POSIX 1003.1 Compliance Guide, Release 5.1 (26th August 2020)

• cexpl() • cimag() • cimagf() • cimagl() • clog() • clogf() • clogl() • conj() • conjf() • conjl() • cpow() • cpowf() • cpowl() • cproj() • cprojf() • cprojl() • creal() • crealf() • creall() • csin() • csinf() • csinh() • csinhf() • csinhl() • csinl() • csqrt() • csqrtf() • csqrtl() • ctan() • ctanf() • ctanh() • ctanhf() • ctanhl() • ctanl()

15.5. 599 RTEMS POSIX 1003.1 Compliance Guide, Release 5.1 (26th August 2020)Chapter15 Section 15.6

15.6

The following methods and variables in are supported: • isalnum() • isalpha() • isblank() • iscntrl() • isdigit() • isgraph() • islower() • isprint() • ispunct() • isspace() • isupper() • isxdigit() • tolower() • toupper()

600 Chapter 15. FACE 2.1 General Purpose Chapter 15 Section 15.7RTEMS POSIX 1003.1 Compliance Guide, Release 5.1 (26th August 2020)

15.7

The following methods and variables in are supported: • posix_devctl()

15.7. 601 RTEMS POSIX 1003.1 Compliance Guide, Release 5.1 (26th August 2020)Chapter15 Section 15.8

15.8

The following methods and variables in are supported: • closedir() • opendir() • readdir() • readdir_r() • rewinddir()

602 Chapter 15. FACE 2.1 General Purpose Chapter 15 Section 15.9RTEMS POSIX 1003.1 Compliance Guide, Release 5.1 (26th August 2020)

15.9

The following methods and variables in are supported: • errno

15.9. 603 RTEMS POSIX 1003.1 Compliance Guide, Release 5.1 (26th August 2020)Chapter15 Section 15.10

15.10

The following methods and variables in are supported: • creat() • fcntl() • open()

604 Chapter 15. FACE 2.1 General Purpose Chapter 15 Section 15.11RTEMS POSIX 1003.1 Compliance Guide, Release 5.1 (26th August 2020)

15.11

The following methods and variables in are not supported: • feclearexcept() • fegetenv() • fegetexceptflag() • fegetround() • feholdexcept() • feraiseexcept() • fesetenv() • fesetexceptflag() • fesetround() • fetestexcept() • feupdateenv()

15.11. 605 RTEMS POSIX 1003.1 Compliance Guide, Release 5.1 (26th August 2020)Chapter15 Section 15.12

15.12

The following methods and variables in are supported: • imaxabs() • imaxdiv() • strtoimax() • strtoumax() • wcstoimax() • wcstoumax()

606 Chapter 15. FACE 2.1 General Purpose Chapter 15 Section 15.13RTEMS POSIX 1003.1 Compliance Guide, Release 5.1 (26th August 2020)

15.13

The following methods and variables in are supported: • localeconv() • setlocale()

15.13. 607 RTEMS POSIX 1003.1 Compliance Guide, Release 5.1 (26th August 2020)Chapter15 Section 15.14

15.14

The following methods and variables in are supported: • acos() • acosf() • acosh() • acoshf() • acoshl() • acosl() • asin() • asinf() • asinh() • asinhf() • asinhl() • asinl() • atan() • atan2() • atan2f() • atan2l() • atanf() • atanh() • atanhf() • atanhl() • atanl() • cbrt() • cbrtf() • cbrtl() • ceil() • ceilf() • ceill() • copysign() • copysignf() • copysignl() • cos() • cosf()

608 Chapter 15. FACE 2.1 General Purpose Chapter 15 Section 15.14RTEMS POSIX 1003.1 Compliance Guide, Release 5.1 (26th August 2020)

• cosh() • coshf() • coshl() • cosl() • erf() • erfc() • erfcf() • erfcl() • erff() • erfl() • exp() • exp2() • exp2f() • exp2l() • expf() • expl() • expm1() • expm1f() • expm1l() • fabs() • fabsf() • fabsl() • fdim() • fdimf() • fdiml() • floor() • floorf() • floorl() • fma() • fmaf() • fmal() • fmax() • fmaxf() • fmaxl()

15.14. 609 RTEMS POSIX 1003.1 Compliance Guide, Release 5.1 (26th August 2020)Chapter15 Section 15.14

• fmin() • fminf() • fminl() • fmod() • fmodf() • fmodl() • frexp() • frexpf() • frexpl() • hypot() • hypotf() • hypotl() • ilogb() • ilogbf() • ilogbl() • isinf() • isnan() • ldexp() • ldexpf() • ldexpl() • lgamma() • lgammaf() • lgammal() • llrint() • llrintf() • llrintl() • llround() • llroundf() • llroundl() • log() • log10() • log10f() • log10l() • log1p()

610 Chapter 15. FACE 2.1 General Purpose Chapter 15 Section 15.14RTEMS POSIX 1003.1 Compliance Guide, Release 5.1 (26th August 2020)

• log1pf() • log1pl() • log2() • log2f() • log2l() • logb() • logbf() • logbl() • logf() • logl() • lrint() • lrintf() • lrintl() • lround() • lroundf() • lroundl() • modf() • modff() • modfl() • nan() • nanf() • nanl() • nearbyint() • nearbyintf() • nearbyintl() • nextafter() • nextafterf() • nextafterl() • nexttoward() • nexttowardl() • pow() • powf() • powl() • remainder()

15.14. 611 RTEMS POSIX 1003.1 Compliance Guide, Release 5.1 (26th August 2020)Chapter15 Section 15.14

• remainderf() • remainderl() • remquo() • remquof() • remquol() • rint() • rintf() • rintl() • round() • roundf() • roundl() • scalbln() • scalblnf() • scalblnl() • scalbn() • scalbnf() • scalbnl() • sin() • sinf() • sinh() • sinhf() • sinhl() • sinl() • sqrt() • sqrtf() • sqrtl() • tan() • tanf() • tanh() • tanhf() • tanhl() • tanl() • tgamma() • tgammaf()

612 Chapter 15. FACE 2.1 General Purpose Chapter 15 Section 15.14RTEMS POSIX 1003.1 Compliance Guide, Release 5.1 (26th August 2020)

• tgammal() • trunc() • truncf() • truncl() The following methods and variables in are not supported: • fpclassify() • isfinite() • isgreater() • isgreaterequal() • isless() • islessequal() • islessgreater() • isnormal() • isunordered() • nexttowardf() • signbit()

15.14. 613 RTEMS POSIX 1003.1 Compliance Guide, Release 5.1 (26th August 2020)Chapter15 Section 15.15

15.15

The following methods and variables in are supported: • mq_close() • mq_getattr() • mq_notify() • mq_open() • mq_receive() • mq_send() • mq_setattr() • mq_timedreceive() • mq_timedsend() • mq_unlink()

614 Chapter 15. FACE 2.1 General Purpose Chapter 15 Section 15.16RTEMS POSIX 1003.1 Compliance Guide, Release 5.1 (26th August 2020)

15.16

The following methods and variables in are supported: • if_freenameindex() • if_indextoname() • if_nameindex() • if_nametoindex()

15.16. 615 RTEMS POSIX 1003.1 Compliance Guide, Release 5.1 (26th August 2020)Chapter15 Section 15.17

15.17

The following methods and variables in are supported: • endhostent() • endnetent() • endprotoent() • endservent() • freeaddrinfo() • gai_strerror() • getaddrinfo() • gethostent() • getnameinfo() • getnetbyaddr() • getnetbyname() • getnetent() • getprotobyname() • getprotobynumber() • getprotoent() • getservbyname() • getservbyport() • getservent() • sethostent() • setnetent() • setprotoent() • setservent()

616 Chapter 15. FACE 2.1 General Purpose Chapter 15 Section 15.18RTEMS POSIX 1003.1 Compliance Guide, Release 5.1 (26th August 2020)

15.18

The following methods and variables in are supported: • pthread_attr_destroy() • pthread_attr_getdetachstate() • pthread_attr_getguardsize() • pthread_attr_getinheritsched() • pthread_attr_getschedparam() • pthread_attr_getschedpolicy() • pthread_attr_getscope() • pthread_attr_getstack() • pthread_attr_getstacksize() • pthread_attr_init() • pthread_attr_setdetachstate() • pthread_attr_setguardsize() • pthread_attr_setinheritsched() • pthread_attr_setschedparam() • pthread_attr_setschedpolicy() • pthread_attr_setscope() • pthread_attr_setstack() • pthread_attr_setstacksize() • pthread_barrier_destroy() • pthread_barrier_init() • pthread_barrier_wait() • pthread_barrierattr_destroy() • pthread_barrierattr_init() • pthread_cancel() • pthread_cleanup_pop() • pthread_cleanup_push() • pthread_cond_broadcast() • pthread_cond_destroy() • pthread_cond_init() • pthread_cond_signal() • pthread_cond_timedwait() • pthread_cond_wait()

15.18. 617 RTEMS POSIX 1003.1 Compliance Guide, Release 5.1 (26th August 2020)Chapter15 Section 15.18

• pthread_condattr_destroy() • pthread_condattr_getclock() • pthread_condattr_getpshared() • pthread_condattr_init() • pthread_condattr_setclock() • pthread_condattr_setpshared() • pthread_create() • pthread_detach() • pthread_equal() • pthread_exit() • pthread_getconcurrency() • pthread_getschedparam() • pthread_getspecific() • pthread_join() • pthread_key_create() • pthread_key_delete() • pthread_mutex_destroy() • pthread_mutex_getprioceiling() • pthread_mutex_init() • pthread_mutex_lock() • pthread_mutex_setprioceiling() • pthread_mutex_timedlock() • pthread_mutex_trylock() • pthread_mutex_unlock() • pthread_mutexattr_destroy() • pthread_mutexattr_getprioceiling() • pthread_mutexattr_getprotocol() • pthread_mutexattr_getpshared() • pthread_mutexattr_gettype() • pthread_mutexattr_init() • pthread_mutexattr_setprioceiling() • pthread_mutexattr_setprotocol() • pthread_mutexattr_setpshared() • pthread_mutexattr_settype()

618 Chapter 15. FACE 2.1 General Purpose Chapter 15 Section 15.18RTEMS POSIX 1003.1 Compliance Guide, Release 5.1 (26th August 2020)

• pthread_once() • pthread_rwlock_destroy() • pthread_rwlock_init() • pthread_rwlock_rdlock() • pthread_rwlock_timedrdlock() • pthread_rwlock_timedwrlock() • pthread_rwlock_tryrdlock() • pthread_rwlock_trywrlock() • pthread_rwlock_unlock() • pthread_rwlock_wrlock() • pthread_rwlockattr_destroy() • pthread_rwlockattr_init() • pthread_self() • pthread_setcancelstate() • pthread_setcanceltype() • pthread_setconcurrency() • pthread_setschedparam() • pthread_setschedprio() • pthread_setspecific() • pthread_testcancel() The following methods in are implemented as stubs returning -1 and setting errno to ENOSYS: • pthread_atfork() • pthread_getcpuclockid()

15.18. 619 RTEMS POSIX 1003.1 Compliance Guide, Release 5.1 (26th August 2020)Chapter15 Section 15.19

15.19

The following methods and variables in are supported: • sched_get_priority_max() • sched_get_priority_min() • sched_rr_get_interval() • sched_yield() The following methods in are implemented as stubs returning -1 and setting errno to ENOSYS: • sched_getparam() • sched_getscheduler() • sched_setparam() • sched_setscheduler()

620 Chapter 15. FACE 2.1 General Purpose Chapter 15 Section 15.20RTEMS POSIX 1003.1 Compliance Guide, Release 5.1 (26th August 2020)

15.20

The following methods and variables in are supported: • sem_close() • sem_destroy() • sem_getvalue() • sem_init() • sem_open() • sem_post() • sem_timedwait() • sem_trywait() • sem_unlink() • sem_wait()

15.20. 621 RTEMS POSIX 1003.1 Compliance Guide, Release 5.1 (26th August 2020)Chapter15 Section 15.21

15.21

The following methods and variables in are supported: • longjmp() • setjmp() • siglongjmp() • sigsetjmp()

622 Chapter 15. FACE 2.1 General Purpose Chapter 15 Section 15.22RTEMS POSIX 1003.1 Compliance Guide, Release 5.1 (26th August 2020)

15.22

The following methods and variables in are supported: • kill() • pthread_kill() • pthread_sigmask() • raise() • sigaction() • sigaddset() • sigdelset() • sigemptyset() • sigfillset() • sigismember() • signal() • sigpending() • sigprocmask() • sigqueue() • sigsuspend() • sigtimedwait() • sigwait() • sigwaitinfo()

15.22. 623 RTEMS POSIX 1003.1 Compliance Guide, Release 5.1 (26th August 2020)Chapter15 Section 15.23

15.23

The following methods and variables in are not supported: • posix_spawn() • posix_spawn_file_actions_addclose() • posix_spawn_file_actions_adddup2() • posix_spawn_file_actions_addopen() • posix_spawn_file_actions_destroy() • posix_spawn_file_actions_init() • posix_spawnattr_destroy() • posix_spawnattr_getflags() • posix_spawnattr_getpgroup() • posix_spawnattr_getschedparam() • posix_spawnattr_getschedpolicy() • posix_spawnattr_getsigdefault() • posix_spawnattr_getsigmask() • posix_spawnattr_init() • posix_spawnattr_setflags() • posix_spawnattr_setpgroup() • posix_spawnattr_setschedparam() • posix_spawnattr_setschedpolicy() • posix_spawnattr_setsigdefault() • posix_spawnattr_setsigmask() • posix_spawnp()

624 Chapter 15. FACE 2.1 General Purpose Chapter 15 Section 15.24RTEMS POSIX 1003.1 Compliance Guide, Release 5.1 (26th August 2020)

15.24

The following methods and variables in are supported: • va_arg() • va_copy() • va_end() • va_start()

15.24. 625 RTEMS POSIX 1003.1 Compliance Guide, Release 5.1 (26th August 2020)Chapter15 Section 15.25

15.25

The following methods and variables in are supported: • clearerr() • fclose() • fdopen() • feof() • ferror() • fflush() • fgetc() • fgetpos() • fgets() • fileno() • flockfile() • fopen() • fprintf() • fputc() • fputs() • fread() • freopen() • fscanf() • fseek() • fseeko() • fsetpos() • ftell() • ftello() • ftrylockfile() • funlockfile() • fwrite() • getc() • getc_unlocked() • getchar() • getchar_unlocked() • perror() • printf()

626 Chapter 15. FACE 2.1 General Purpose Chapter 15 Section 15.25RTEMS POSIX 1003.1 Compliance Guide, Release 5.1 (26th August 2020)

• putc() • putc_unlocked() • putchar() • putchar_unlocked() • puts() • remove() • rename() • rewind() • scanf() • setbuf() • setvbuf() • snprintf() • sprintf() • sscanf() • stderr • stdin • stdout • tmpfile() • ungetc() • vfprintf() • vfscanf() • vprintf() • vscanf() • vsnprintf() • vsprintf() • vsscanf()

15.25. 627 RTEMS POSIX 1003.1 Compliance Guide, Release 5.1 (26th August 2020)Chapter15 Section 15.26

15.26

The following methods and variables in are supported: • _Exit() • abort() • abs() • atexit() • atof() • atoi() • atol() • atoll() • bsearch() • calloc() • div() • exit() • free() • getenv() • labs() • ldiv() • llabs() • lldiv() • malloc() • mblen() • mbstowcs() • mbtowc() • qsort() • rand() • rand_r() • realloc() • setenv() • srand() • strtod() • strtof() • strtol() • strtold()

628 Chapter 15. FACE 2.1 General Purpose Chapter 15 Section 15.26RTEMS POSIX 1003.1 Compliance Guide, Release 5.1 (26th August 2020)

• strtoll() • strtoul() • strtoull() • unsetenv() • wcstombs() • wctomb()

15.26. 629 RTEMS POSIX 1003.1 Compliance Guide, Release 5.1 (26th August 2020)Chapter15 Section 15.27

15.27

The following methods and variables in are supported: • memchr() • memcmp() • memcpy() • memmove() • memset() • strcat() • strchr() • strcmp() • strcoll() • strcpy() • strcspn() • strerror() • strerror_r() • strlen() • strncat() • strncmp() • strncpy() • strpbrk() • strrchr() • strspn() • strstr() • strtok() • strtok_r() • strxfrm()

630 Chapter 15. FACE 2.1 General Purpose Chapter 15 Section 15.28RTEMS POSIX 1003.1 Compliance Guide, Release 5.1 (26th August 2020)

15.28

The following methods and variables in are supported: • mlock() • mlockall() • mmap() • mprotect() • msync() • munlock() • munlockall() • munmap() • shm_open() • shm_unlink()

15.28. 631 RTEMS POSIX 1003.1 Compliance Guide, Release 5.1 (26th August 2020)Chapter15 Section 15.29

15.29

The following methods and variables in are supported: • FD_CLR() • FD_ISSET() • FD_SET() • FD_ZERO() • select() The following methods and variables in are not supported: • pselect()

632 Chapter 15. FACE 2.1 General Purpose Chapter 15 Section 15.30RTEMS POSIX 1003.1 Compliance Guide, Release 5.1 (26th August 2020)

15.30

The following methods and variables in are supported: • accept() • bind() • connect() • getpeername() • getsockname() • getsockopt() • listen() • recv() • recvfrom() • recvmsg() • send() • sendmsg() • sendto() • setsockopt() • shutdown() • socket() • socketpair() The following methods and variables in are not supported: • sockatmark()

15.30. 633 RTEMS POSIX 1003.1 Compliance Guide, Release 5.1 (26th August 2020)Chapter15 Section 15.31

15.31

The following methods and variables in are supported: • chmod() • fchmod() • fstat() • lstat() • mkdir() • mkfifo() • stat() • umask()

634 Chapter 15. FACE 2.1 General Purpose Chapter 15 Section 15.32RTEMS POSIX 1003.1 Compliance Guide, Release 5.1 (26th August 2020)

15.32

The following methods and variables in are supported: • times()

15.32. 635 RTEMS POSIX 1003.1 Compliance Guide, Release 5.1 (26th August 2020)Chapter15 Section 15.33

15.33

The following methods and variables in are supported: • uname()

636 Chapter 15. FACE 2.1 General Purpose Chapter 15 Section 15.34RTEMS POSIX 1003.1 Compliance Guide, Release 5.1 (26th August 2020)

15.34

The following methods and variables in are supported: • wait() • waitpid()

15.34. 637 RTEMS POSIX 1003.1 Compliance Guide, Release 5.1 (26th August 2020)Chapter15 Section 15.35

15.35

The following methods and variables in are supported: • asctime_r() • clock() • clock_getres() • clock_gettime() • clock_nanosleep() • clock_settime() • ctime_r() • difftime() • gmtime() • gmtime_r() • localtime() • localtime_r() • mktime() • nanosleep() • strftime() • time() • timer_create() • timer_delete() • timer_getoverrun() • timer_gettime() • timer_settime() • tzname • tzset() The following methods in are implemented as stubs returning -1 and setting errno to ENOSYS: • clock_getcpuclockid()

638 Chapter 15. FACE 2.1 General Purpose Chapter 15 Section 15.36RTEMS POSIX 1003.1 Compliance Guide, Release 5.1 (26th August 2020)

15.36

The following methods and variables in are supported: • _exit() • access() • alarm() • chdir() • chown() • close() • dup() • dup2() • environ • fchown() • fdatasync() • fpathconf() • fsync() • ftruncate() • getcwd() • getegid() • geteuid() • getgid() • getgroups() • gethostname() • getlogin() • getpgrp() • getpid() • getppid() • getuid() • link() • lseek() • pathconf() • pause() • pipe() • read() • rmdir()

15.36. 639 RTEMS POSIX 1003.1 Compliance Guide, Release 5.1 (26th August 2020)Chapter15 Section 15.36

• setegid() • seteuid() • setgid() • setsid() • setuid() • sleep() • sysconf() • unlink() • write() The following methods in are implemented as stubs returning -1 and setting errno to ENOSYS: • execl() • execle() • execv() • execve() • fork() The following methods and variables in are not supported: • confstr()

640 Chapter 15. FACE 2.1 General Purpose Chapter 15 Section 15.37RTEMS POSIX 1003.1 Compliance Guide, Release 5.1 (26th August 2020)

15.37

The following methods and variables in are supported: • btowc() • fgetwc() • fgetws() • fputwc() • fputws() • fwide() • fwprintf() • fwscanf() • getwc() • getwchar() • mbrlen() • mbrtowc() • mbsinit() • mbsrtowcs() • putwc() • putwchar() • swprintf() • swscanf() • ungetwc() • vfwprintf() • vfwscanf() • vswprintf() • vswscanf() • vwprintf() • vwscanf() • wcrtomb() • wcscat() • wcschr() • wcscmp() • wcscoll() • wcscpy() • wcscspn()

15.37. 641 RTEMS POSIX 1003.1 Compliance Guide, Release 5.1 (26th August 2020)Chapter15 Section 15.37

• wcsftime() • wcslen() • wcsncat() • wcsncmp() • wcsncpy() • wcspbrk() • wcsrchr() • wcsrtombs() • wcsspn() • wcsstr() • wcstod() • wcstof() • wcstok() • wcstol() • wcstold() • wcstoll() • wcstoul() • wcstoull() • wcsxfrm() • wctob() • wmemchr() • wmemcmp() • wmemcpy() • wmemmove() • wmemset() • wprintf() • wscanf()

642 Chapter 15. FACE 2.1 General Purpose Chapter 15 Section 15.38RTEMS POSIX 1003.1 Compliance Guide, Release 5.1 (26th August 2020)

15.38

The following methods and variables in are supported: • iswalnum() • iswalpha() • iswblank() • iswcntrl() • iswctype() • iswdigit() • iswgraph() • iswlower() • iswprint() • iswpunct() • iswspace() • iswupper() • iswxdigit() • towctrans() • towlower() • towupper() • wctrans() • wctype()

15.38. 643 RTEMS POSIX 1003.1 Compliance Guide, Release 5.1 (26th August 2020)Chapter15 Section 15.38

644 Chapter 15. FACE 2.1 General Purpose CHAPTER SIXTEEN

FACE 3.0 SECURITY

This chapter has a subsection per header file to detail the methods provided by RTEMS that are in that header file.

645 RTEMS POSIX 1003.1 Compliance Guide, Release 5.1 (26th August 2020)Chapter16 Section 16.1

16.1 Summary

The follow table summarizes alignment with the FACE 3.0 Security standard:

Supported 163 ENOSYS 1 Not supported 0

646 Chapter 16. FACE 3.0 Security Chapter 16 Section 16.2RTEMS POSIX 1003.1 Compliance Guide, Release 5.1 (26th August 2020)

16.2

The following methods and variables in are supported: • htonl() • htons() • inet_ntop() • inet_pton() • ntohl() • ntohs()

16.2. 647 RTEMS POSIX 1003.1 Compliance Guide, Release 5.1 (26th August 2020)Chapter16 Section 16.3

16.3

The following methods and variables in are supported: • isalnum() • isalpha() • iscntrl() • isdigit() • isgraph() • islower() • isprint() • ispunct() • isspace() • isupper() • isxdigit() • tolower() • toupper()

648 Chapter 16. FACE 3.0 Security Chapter 16 Section 16.4RTEMS POSIX 1003.1 Compliance Guide, Release 5.1 (26th August 2020)

16.4

The following methods and variables in are supported: • posix_devctl()

16.4. 649 RTEMS POSIX 1003.1 Compliance Guide, Release 5.1 (26th August 2020)Chapter16 Section 16.5

16.5

The following methods and variables in are supported: • errno

650 Chapter 16. FACE 3.0 Security Chapter 16 Section 16.6RTEMS POSIX 1003.1 Compliance Guide, Release 5.1 (26th August 2020)

16.6

The following methods and variables in are supported: • acos() • acosh() • asin() • asinh() • atan() • atan2() • atanh() • ceil() • cos() • cosh() • exp() • fabs() • floor() • fmod() • frexp() • isinf() • isnan() • ldexp() • log() • log10() • modf() • pow() • sin() • sinh() • sqrt() • tan() • tanh()

16.6. 651 RTEMS POSIX 1003.1 Compliance Guide, Release 5.1 (26th August 2020)Chapter16 Section 16.7

16.7

The following methods and variables in are supported: • freeaddrinfo() • getaddrinfo() • getnameinfo()

652 Chapter 16. FACE 3.0 Security Chapter 16 Section 16.8RTEMS POSIX 1003.1 Compliance Guide, Release 5.1 (26th August 2020)

16.8

The following methods and variables in are supported: • pthread_attr_destroy() • pthread_attr_getinheritsched() • pthread_attr_getschedparam() • pthread_attr_getschedpolicy() • pthread_attr_getscope() • pthread_attr_getstack() • pthread_attr_init() • pthread_attr_setinheritsched() • pthread_attr_setschedparam() • pthread_attr_setschedpolicy() • pthread_attr_setscope() • pthread_attr_setstack() • pthread_create() • pthread_equal() • pthread_getschedparam() • pthread_mutex_init() • pthread_mutex_lock() • pthread_mutex_timedlock() • pthread_mutex_trylock() • pthread_mutex_unlock() • pthread_mutexattr_destroy() • pthread_mutexattr_getprioceiling() • pthread_mutexattr_getprotocol() • pthread_mutexattr_init() • pthread_mutexattr_setprioceiling() • pthread_mutexattr_setprotocol() • pthread_once() • pthread_self() • pthread_setschedparam() • pthread_setschedprio() The following methods in are implemented as stubs returning -1 and setting errno to ENOSYS:

16.8. 653 RTEMS POSIX 1003.1 Compliance Guide, Release 5.1 (26th August 2020)Chapter16 Section 16.8

• pthread_getcpuclockid()

654 Chapter 16. FACE 3.0 Security Chapter 16 Section 16.9RTEMS POSIX 1003.1 Compliance Guide, Release 5.1 (26th August 2020)

16.9

The following methods and variables in are supported: • sched_get_priority_max() • sched_get_priority_min() • sched_yield()

16.9. 655 RTEMS POSIX 1003.1 Compliance Guide, Release 5.1 (26th August 2020)Chapter16 Section 16.10

16.10

The following methods and variables in are supported: • sem_close() • sem_getvalue() • sem_init() • sem_open() • sem_post() • sem_timedwait() • sem_trywait() • sem_wait()

656 Chapter 16. FACE 3.0 Security Chapter 16 Section 16.11RTEMS POSIX 1003.1 Compliance Guide, Release 5.1 (26th August 2020)

16.11

The following methods and variables in are supported: • pthread_sigmask() • sigaction() • sigaddset() • sigdelset() • sigemptyset() • sigfillset() • sigismember() • sigpending() • sigqueue() • sigsuspend() • sigtimedwait() • sigwait() • sigwaitinfo()

16.11. 657 RTEMS POSIX 1003.1 Compliance Guide, Release 5.1 (26th August 2020)Chapter16 Section 16.12

16.12

The following methods and variables in are supported: • abs() • atof() • atoi() • atol() • div() • labs() • ldiv() • malloc() • rand_r() • strtod() • strtol() • strtoul()

658 Chapter 16. FACE 3.0 Security Chapter 16 Section 16.13RTEMS POSIX 1003.1 Compliance Guide, Release 5.1 (26th August 2020)

16.13

The following methods and variables in are supported: • memchr() • memcmp() • memcpy() • memmove() • memset() • strcat() • strchr() • strcmp() • strcpy() • strcspn() • strlen() • strncat() • strncmp() • strncpy() • strpbrk() • strrchr() • strspn() • strstr() • strtok_r()

16.13. 659 RTEMS POSIX 1003.1 Compliance Guide, Release 5.1 (26th August 2020)Chapter16 Section 16.14

16.14

The following methods and variables in are supported: • mmap() • shm_open()

660 Chapter 16. FACE 3.0 Security Chapter 16 Section 16.15RTEMS POSIX 1003.1 Compliance Guide, Release 5.1 (26th August 2020)

16.15

The following methods and variables in are supported: • bind() • connect() • getpeername() • getsockname() • getsockopt() • recv() • recvfrom() • send() • sendto() • setsockopt() • shutdown() • socket()

16.15. 661 RTEMS POSIX 1003.1 Compliance Guide, Release 5.1 (26th August 2020)Chapter16 Section 16.16

16.16

The following methods and variables in are supported: • stat()

662 Chapter 16. FACE 3.0 Security Chapter 16 Section 16.17RTEMS POSIX 1003.1 Compliance Guide, Release 5.1 (26th August 2020)

16.17

The following methods and variables in are supported: • clock_getres() • clock_gettime() • clock_nanosleep() • clock_settime() • nanosleep() • timer_create() • timer_getoverrun() • timer_gettime() • timer_settime()

16.17. 663 RTEMS POSIX 1003.1 Compliance Guide, Release 5.1 (26th August 2020)Chapter16 Section 16.18

16.18

The following methods and variables in are supported: • alarm() • ftruncate() • pause()

664 Chapter 16. FACE 3.0 Security CHAPTER SEVENTEEN

FACE 3.0 SAFETY BASE

This chapter has a subsection per header file to detail the methods provided by RTEMS that are in that header file.

665 RTEMS POSIX 1003.1 Compliance Guide, Release 5.1 (26th August 2020)Chapter17 Section 17.1

17.1 Summary

The follow table summarizes alignment with the FACE 3.0 Safety Base standard:

Supported 246 ENOSYS 1 Not supported 0

666 Chapter 17. FACE 3.0 Safety Base Chapter 17 Section 17.2RTEMS POSIX 1003.1 Compliance Guide, Release 5.1 (26th August 2020)

17.2

The following methods and variables in are supported: • htonl() • htons() • inet_ntop() • inet_pton() • ntohl() • ntohs()

17.2. 667 RTEMS POSIX 1003.1 Compliance Guide, Release 5.1 (26th August 2020)Chapter17 Section 17.3

17.3

The following methods and variables in are supported: • isalnum() • isalpha() • iscntrl() • isdigit() • isgraph() • islower() • isprint() • ispunct() • isspace() • isupper() • isxdigit() • tolower() • toupper()

668 Chapter 17. FACE 3.0 Safety Base Chapter 17 Section 17.4RTEMS POSIX 1003.1 Compliance Guide, Release 5.1 (26th August 2020)

17.4

The following methods and variables in are supported: • posix_devctl()

17.4. 669 RTEMS POSIX 1003.1 Compliance Guide, Release 5.1 (26th August 2020)Chapter17 Section 17.5

17.5

The following methods and variables in are supported: • closedir() • opendir() • readdir() • readdir_r() • rewinddir()

670 Chapter 17. FACE 3.0 Safety Base Chapter 17 Section 17.6RTEMS POSIX 1003.1 Compliance Guide, Release 5.1 (26th August 2020)

17.6

The following methods and variables in are supported: • errno

17.6. 671 RTEMS POSIX 1003.1 Compliance Guide, Release 5.1 (26th August 2020)Chapter17 Section 17.7

17.7

The following methods and variables in are supported: • creat() • open()

672 Chapter 17. FACE 3.0 Safety Base Chapter 17 Section 17.8RTEMS POSIX 1003.1 Compliance Guide, Release 5.1 (26th August 2020)

17.8

The following methods and variables in are supported: • acos() • acosh() • asin() • asinh() • atan() • atan2() • atanh() • ceil() • cos() • cosh() • exp() • fabs() • floor() • fmod() • frexp() • isinf() • isnan() • ldexp() • log() • log10() • modf() • pow() • sin() • sinh() • sqrt() • tan() • tanh()

17.8. 673 RTEMS POSIX 1003.1 Compliance Guide, Release 5.1 (26th August 2020)Chapter17 Section 17.9

17.9

The following methods and variables in are supported: • mq_getattr() • mq_notify() • mq_open() • mq_receive() • mq_send() • mq_setattr() • mq_timedreceive() • mq_timedsend()

674 Chapter 17. FACE 3.0 Safety Base Chapter 17 Section 17.10RTEMS POSIX 1003.1 Compliance Guide, Release 5.1 (26th August 2020)

17.10

The following methods and variables in are supported: • freeaddrinfo() • getaddrinfo() • getnameinfo()

17.10. 675 RTEMS POSIX 1003.1 Compliance Guide, Release 5.1 (26th August 2020)Chapter17 Section 17.11

17.11

The following methods and variables in are supported: • pthread_attr_destroy() • pthread_attr_getinheritsched() • pthread_attr_getschedparam() • pthread_attr_getschedpolicy() • pthread_attr_getscope() • pthread_attr_getstack() • pthread_attr_getstacksize() • pthread_attr_init() • pthread_attr_setinheritsched() • pthread_attr_setschedparam() • pthread_attr_setschedpolicy() • pthread_attr_setscope() • pthread_attr_setstack() • pthread_attr_setstacksize() • pthread_cond_broadcast() • pthread_cond_destroy() • pthread_cond_init() • pthread_cond_signal() • pthread_cond_timedwait() • pthread_cond_wait() • pthread_condattr_destroy() • pthread_condattr_getclock() • pthread_condattr_init() • pthread_condattr_setclock() • pthread_create() • pthread_equal() • pthread_getconcurrency() • pthread_getschedparam() • pthread_getspecific() • pthread_key_create() • pthread_mutex_init() • pthread_mutex_lock()

676 Chapter 17. FACE 3.0 Safety Base Chapter 17 Section 17.11RTEMS POSIX 1003.1 Compliance Guide, Release 5.1 (26th August 2020)

• pthread_mutex_timedlock() • pthread_mutex_trylock() • pthread_mutex_unlock() • pthread_mutexattr_destroy() • pthread_mutexattr_getprioceiling() • pthread_mutexattr_getprotocol() • pthread_mutexattr_init() • pthread_mutexattr_setprioceiling() • pthread_mutexattr_setprotocol() • pthread_once() • pthread_self() • pthread_setconcurrency() • pthread_setschedparam() • pthread_setschedprio() • pthread_setspecific() The following methods in are implemented as stubs returning -1 and setting errno to ENOSYS: • pthread_getcpuclockid()

17.11. 677 RTEMS POSIX 1003.1 Compliance Guide, Release 5.1 (26th August 2020)Chapter17 Section 17.12

17.12

The following methods and variables in are supported: • sched_get_priority_max() • sched_get_priority_min() • sched_yield()

678 Chapter 17. FACE 3.0 Safety Base Chapter 17 Section 17.13RTEMS POSIX 1003.1 Compliance Guide, Release 5.1 (26th August 2020)

17.13

The following methods and variables in are supported: • sem_close() • sem_getvalue() • sem_init() • sem_open() • sem_post() • sem_timedwait() • sem_trywait() • sem_wait()

17.13. 679 RTEMS POSIX 1003.1 Compliance Guide, Release 5.1 (26th August 2020)Chapter17 Section 17.14

17.14

The following methods and variables in are supported: • pthread_sigmask() • sigaction() • sigaddset() • sigdelset() • sigemptyset() • sigfillset() • sigismember() • sigpending() • sigqueue() • sigsuspend() • sigtimedwait() • sigwait() • sigwaitinfo()

680 Chapter 17. FACE 3.0 Safety Base Chapter 17 Section 17.15RTEMS POSIX 1003.1 Compliance Guide, Release 5.1 (26th August 2020)

17.15

The following methods and variables in are supported: • clearerr() • fclose() • feof() • ferror() • fflush() • fgetc() • fgets() • fileno() • fopen() • fprintf() • fread() • freopen() • fseek() • fseeko() • ftell() • ftello() • fwrite() • remove() • rename() • snprintf()

17.15. 681 RTEMS POSIX 1003.1 Compliance Guide, Release 5.1 (26th August 2020)Chapter17 Section 17.16

17.16

The following methods and variables in are supported: • abs() • atof() • atoi() • atol() • calloc() • div() • labs() • ldiv() • malloc() • rand_r() • strtod() • strtol() • strtoul()

682 Chapter 17. FACE 3.0 Safety Base Chapter 17 Section 17.17RTEMS POSIX 1003.1 Compliance Guide, Release 5.1 (26th August 2020)

17.17

The following methods and variables in are supported: • memchr() • memcmp() • memcpy() • memmove() • memset() • strcat() • strchr() • strcmp() • strcpy() • strcspn() • strerror_r() • strlen() • strncat() • strncmp() • strncpy() • strpbrk() • strrchr() • strspn() • strstr() • strtok_r()

17.17. 683 RTEMS POSIX 1003.1 Compliance Guide, Release 5.1 (26th August 2020)Chapter17 Section 17.18

17.18

The following methods and variables in are supported: • mmap() • shm_open()

684 Chapter 17. FACE 3.0 Safety Base Chapter 17 Section 17.19RTEMS POSIX 1003.1 Compliance Guide, Release 5.1 (26th August 2020)

17.19

The following methods and variables in are supported: • FD_CLR() • FD_ISSET() • FD_SET() • FD_ZERO() • select()

17.19. 685 RTEMS POSIX 1003.1 Compliance Guide, Release 5.1 (26th August 2020)Chapter17 Section 17.20

17.20

The following methods and variables in are supported: • bind() • connect() • getpeername() • getsockname() • getsockopt() • recv() • recvfrom() • send() • sendto() • setsockopt() • shutdown() • socket()

686 Chapter 17. FACE 3.0 Safety Base Chapter 17 Section 17.21RTEMS POSIX 1003.1 Compliance Guide, Release 5.1 (26th August 2020)

17.21

The following methods and variables in are supported: • fstat() • mkdir() • stat() • umask()

17.21. 687 RTEMS POSIX 1003.1 Compliance Guide, Release 5.1 (26th August 2020)Chapter17 Section 17.22

17.22

The following methods and variables in are supported: • asctime_r() • clock_getres() • clock_gettime() • clock_nanosleep() • clock_settime() • ctime_r() • difftime() • gmtime_r() • localtime_r() • mktime() • nanosleep() • time() • timer_create() • timer_getoverrun() • timer_gettime() • timer_settime() • tzname • tzset()

688 Chapter 17. FACE 3.0 Safety Base Chapter 17 Section 17.23RTEMS POSIX 1003.1 Compliance Guide, Release 5.1 (26th August 2020)

17.23

The following methods and variables in are supported: • access() • alarm() • chdir() • close() • fsync() • ftruncate() • getcwd() • gethostname() • link() • lseek() • pause() • read() • rmdir() • unlink() • write()

17.23. 689 RTEMS POSIX 1003.1 Compliance Guide, Release 5.1 (26th August 2020)Chapter17 Section 17.23

690 Chapter 17. FACE 3.0 Safety Base CHAPTER EIGHTEEN

FACE 3.0 SAFETY EXTENDED

This chapter has a subsection per header file to detail the methods provided by RTEMS that are in that header file.

691 RTEMS POSIX 1003.1 Compliance Guide, Release 5.1 (26th August 2020)Chapter18 Section 18.1

18.1 Summary

The follow table summarizes alignment with the FACE 3.0 Safety Extended standard:

Supported 316 ENOSYS 11 Not supported 9

692 Chapter 18. FACE 3.0 Safety Extended Chapter 18 Section 18.2RTEMS POSIX 1003.1 Compliance Guide, Release 5.1 (26th August 2020)

18.2

The following methods and variables in are supported: • htonl() • htons() • inet_ntop() • inet_pton() • ntohl() • ntohs()

18.2. 693 RTEMS POSIX 1003.1 Compliance Guide, Release 5.1 (26th August 2020)Chapter18 Section 18.3

18.3

The following methods and variables in are supported: • isalnum() • isalpha() • iscntrl() • isdigit() • isgraph() • islower() • isprint() • ispunct() • isspace() • isupper() • isxdigit() • tolower() • toupper()

694 Chapter 18. FACE 3.0 Safety Extended Chapter 18 Section 18.4RTEMS POSIX 1003.1 Compliance Guide, Release 5.1 (26th August 2020)

18.4

The following methods and variables in are supported: • posix_devctl()

18.4. 695 RTEMS POSIX 1003.1 Compliance Guide, Release 5.1 (26th August 2020)Chapter18 Section 18.5

18.5

The following methods and variables in are supported: • closedir() • opendir() • readdir() • readdir_r() • rewinddir()

696 Chapter 18. FACE 3.0 Safety Extended Chapter 18 Section 18.6RTEMS POSIX 1003.1 Compliance Guide, Release 5.1 (26th August 2020)

18.6

The following methods and variables in are supported: • errno

18.6. 697 RTEMS POSIX 1003.1 Compliance Guide, Release 5.1 (26th August 2020)Chapter18 Section 18.7

18.7

The following methods and variables in are supported: • creat() • fcntl() • open()

698 Chapter 18. FACE 3.0 Safety Extended Chapter 18 Section 18.8RTEMS POSIX 1003.1 Compliance Guide, Release 5.1 (26th August 2020)

18.8

The following methods and variables in are supported: • acos() • acosh() • asin() • asinh() • atan() • atan2() • atanh() • ceil() • cos() • cosh() • exp() • fabs() • floor() • fmod() • frexp() • isinf() • isnan() • ldexp() • log() • log10() • modf() • pow() • sin() • sinh() • sqrt() • tan() • tanh()

18.8. 699 RTEMS POSIX 1003.1 Compliance Guide, Release 5.1 (26th August 2020)Chapter18 Section 18.9

18.9

The following methods and variables in are supported: • mq_getattr() • mq_notify() • mq_open() • mq_receive() • mq_send() • mq_setattr() • mq_timedreceive() • mq_timedsend()

700 Chapter 18. FACE 3.0 Safety Extended Chapter 18 Section 18.10RTEMS POSIX 1003.1 Compliance Guide, Release 5.1 (26th August 2020)

18.10

The following methods and variables in are supported: • freeaddrinfo() • getaddrinfo() • getnameinfo()

18.10. 701 RTEMS POSIX 1003.1 Compliance Guide, Release 5.1 (26th August 2020)Chapter18 Section 18.11

18.11

The following methods and variables in are supported: • pthread_attr_destroy() • pthread_attr_getdetachstate() • pthread_attr_getguardsize() • pthread_attr_getinheritsched() • pthread_attr_getschedparam() • pthread_attr_getschedpolicy() • pthread_attr_getscope() • pthread_attr_getstack() • pthread_attr_getstacksize() • pthread_attr_init() • pthread_attr_setdetachstate() • pthread_attr_setguardsize() • pthread_attr_setinheritsched() • pthread_attr_setschedparam() • pthread_attr_setschedpolicy() • pthread_attr_setscope() • pthread_attr_setstack() • pthread_attr_setstacksize() • pthread_cancel() • pthread_cleanup_pop() • pthread_cleanup_push() • pthread_cond_broadcast() • pthread_cond_destroy() • pthread_cond_init() • pthread_cond_signal() • pthread_cond_timedwait() • pthread_cond_wait() • pthread_condattr_destroy() • pthread_condattr_getclock() • pthread_condattr_init() • pthread_condattr_setclock() • pthread_create()

702 Chapter 18. FACE 3.0 Safety Extended Chapter 18 Section 18.11RTEMS POSIX 1003.1 Compliance Guide, Release 5.1 (26th August 2020)

• pthread_detach() • pthread_equal() • pthread_exit() • pthread_getconcurrency() • pthread_getschedparam() • pthread_getspecific() • pthread_join() • pthread_key_create() • pthread_key_delete() • pthread_mutex_destroy() • pthread_mutex_init() • pthread_mutex_lock() • pthread_mutex_timedlock() • pthread_mutex_trylock() • pthread_mutex_unlock() • pthread_mutexattr_destroy() • pthread_mutexattr_getprioceiling() • pthread_mutexattr_getprotocol() • pthread_mutexattr_init() • pthread_mutexattr_setprioceiling() • pthread_mutexattr_setprotocol() • pthread_once() • pthread_self() • pthread_setcancelstate() • pthread_setcanceltype() • pthread_setconcurrency() • pthread_setschedparam() • pthread_setschedprio() • pthread_setspecific() The following methods in are implemented as stubs returning -1 and setting errno to ENOSYS: • pthread_atfork() • pthread_getcpuclockid()

18.11. 703 RTEMS POSIX 1003.1 Compliance Guide, Release 5.1 (26th August 2020)Chapter18 Section 18.12

18.12

The following methods and variables in are supported: • sched_get_priority_max() • sched_get_priority_min() • sched_rr_get_interval() • sched_yield() The following methods in are implemented as stubs returning -1 and setting errno to ENOSYS: • sched_getparam() • sched_getscheduler() • sched_setparam() • sched_setscheduler()

704 Chapter 18. FACE 3.0 Safety Extended Chapter 18 Section 18.13RTEMS POSIX 1003.1 Compliance Guide, Release 5.1 (26th August 2020)

18.13

The following methods and variables in are supported: • sem_close() • sem_destroy() • sem_getvalue() • sem_init() • sem_open() • sem_post() • sem_timedwait() • sem_trywait() • sem_unlink() • sem_wait()

18.13. 705 RTEMS POSIX 1003.1 Compliance Guide, Release 5.1 (26th August 2020)Chapter18 Section 18.14

18.14

The following methods and variables in are supported: • siglongjmp() • sigsetjmp()

706 Chapter 18. FACE 3.0 Safety Extended Chapter 18 Section 18.15RTEMS POSIX 1003.1 Compliance Guide, Release 5.1 (26th August 2020)

18.15

The following methods and variables in are supported: • kill() • pthread_kill() • pthread_sigmask() • raise() • sigaction() • sigaddset() • sigdelset() • sigemptyset() • sigfillset() • sigismember() • sigpending() • sigqueue() • sigsuspend() • sigtimedwait() • sigwait() • sigwaitinfo()

18.15. 707 RTEMS POSIX 1003.1 Compliance Guide, Release 5.1 (26th August 2020)Chapter18 Section 18.16

18.16

The following methods and variables in are not supported: • posix_spawn() • posix_spawnattr_destroy() • posix_spawnattr_getflags() • posix_spawnattr_getsigdefault() • posix_spawnattr_getsigmask() • posix_spawnattr_init() • posix_spawnattr_setflags() • posix_spawnattr_setsigdefault() • posix_spawnattr_setsigmask()

708 Chapter 18. FACE 3.0 Safety Extended Chapter 18 Section 18.17RTEMS POSIX 1003.1 Compliance Guide, Release 5.1 (26th August 2020)

18.17

The following methods and variables in are supported: • va_arg() • va_end() • va_start()

18.17. 709 RTEMS POSIX 1003.1 Compliance Guide, Release 5.1 (26th August 2020)Chapter18 Section 18.18

18.18

The following methods and variables in are supported: • clearerr() • fclose() • feof() • ferror() • fflush() • fgetc() • fgets() • fileno() • flockfile() • fopen() • fprintf() • fread() • freopen() • fseek() • fseeko() • ftell() • ftello() • ftrylockfile() • funlockfile() • fwrite() • remove() • rename() • snprintf() • sscanf() • vfprintf() • vsnprintf()

710 Chapter 18. FACE 3.0 Safety Extended Chapter 18 Section 18.19RTEMS POSIX 1003.1 Compliance Guide, Release 5.1 (26th August 2020)

18.19

The following methods and variables in are supported: • _Exit() • abort() • abs() • atexit() • atof() • atoi() • atol() • bsearch() • calloc() • div() • exit() • free() • getenv() • labs() • ldiv() • malloc() • rand_r() • realloc() • strtod() • strtol() • strtoul()

18.19. 711 RTEMS POSIX 1003.1 Compliance Guide, Release 5.1 (26th August 2020)Chapter18 Section 18.20

18.20

The following methods and variables in are supported: • memchr() • memcmp() • memcpy() • memmove() • memset() • strcat() • strchr() • strcmp() • strcpy() • strcspn() • strerror_r() • strlen() • strncat() • strncmp() • strncpy() • strpbrk() • strrchr() • strspn() • strstr() • strtok_r()

712 Chapter 18. FACE 3.0 Safety Extended Chapter 18 Section 18.21RTEMS POSIX 1003.1 Compliance Guide, Release 5.1 (26th August 2020)

18.21

The following methods and variables in are supported: • mmap() • shm_open()

18.21. 713 RTEMS POSIX 1003.1 Compliance Guide, Release 5.1 (26th August 2020)Chapter18 Section 18.22

18.22

The following methods and variables in are supported: • FD_CLR() • FD_ISSET() • FD_SET() • FD_ZERO() • select()

714 Chapter 18. FACE 3.0 Safety Extended Chapter 18 Section 18.23RTEMS POSIX 1003.1 Compliance Guide, Release 5.1 (26th August 2020)

18.23

The following methods and variables in are supported: • accept() • bind() • connect() • getpeername() • getsockname() • getsockopt() • listen() • recv() • recvfrom() • send() • sendto() • setsockopt() • shutdown() • socket()

18.23. 715 RTEMS POSIX 1003.1 Compliance Guide, Release 5.1 (26th August 2020)Chapter18 Section 18.24

18.24

The following methods and variables in are supported: • chmod() • fstat() • lstat() • mkdir() • mkfifo() • stat() • umask()

716 Chapter 18. FACE 3.0 Safety Extended Chapter 18 Section 18.25RTEMS POSIX 1003.1 Compliance Guide, Release 5.1 (26th August 2020)

18.25

The following methods and variables in are supported: • times()

18.25. 717 RTEMS POSIX 1003.1 Compliance Guide, Release 5.1 (26th August 2020)Chapter18 Section 18.26

18.26

The following methods and variables in are supported: • uname()

718 Chapter 18. FACE 3.0 Safety Extended Chapter 18 Section 18.27RTEMS POSIX 1003.1 Compliance Guide, Release 5.1 (26th August 2020)

18.27

The following methods and variables in are supported: • waitpid()

18.27. 719 RTEMS POSIX 1003.1 Compliance Guide, Release 5.1 (26th August 2020)Chapter18 Section 18.28

18.28

The following methods and variables in are supported: • asctime_r() • clock() • clock_getres() • clock_gettime() • clock_nanosleep() • clock_settime() • ctime_r() • difftime() • gmtime_r() • localtime_r() • mktime() • nanosleep() • strftime() • time() • timer_create() • timer_delete() • timer_getoverrun() • timer_gettime() • timer_settime() • tzname • tzset()

720 Chapter 18. FACE 3.0 Safety Extended Chapter 18 Section 18.29RTEMS POSIX 1003.1 Compliance Guide, Release 5.1 (26th August 2020)

18.29

The following methods and variables in are supported: • _exit() • access() • alarm() • chdir() • chown() • close() • dup2() • environ • fsync() • ftruncate() • getcwd() • getegid() • geteuid() • getgid() • getgroups() • gethostname() • getpgrp() • getpid() • getppid() • getuid() • link() • lseek() • pause() • pipe() • read() • rmdir() • setegid() • seteuid() • setgid() • setuid() • sleep() • sysconf()

18.29. 721 RTEMS POSIX 1003.1 Compliance Guide, Release 5.1 (26th August 2020)Chapter18 Section 18.29

• unlink() • write() The following methods in are implemented as stubs returning -1 and setting errno to ENOSYS: • execl() • execle() • execv() • execve() • fork()

722 Chapter 18. FACE 3.0 Safety Extended CHAPTER NINETEEN

FACE 3.0 GENERAL PURPOSE

This chapter has a subsection per header file to detail the methods provided by RTEMS that are in that header file.

723 RTEMS POSIX 1003.1 Compliance Guide, Release 5.1 (26th August 2020)Chapter19 Section 19.1

19.1 Summary

The follow table summarizes alignment with the FACE 3.0 General Purpose standard:

Supported 707 ENOSYS 14 Not supported 46

724 Chapter 19. FACE 3.0 General Purpose Chapter 19 Section 19.2RTEMS POSIX 1003.1 Compliance Guide, Release 5.1 (26th August 2020)

19.2

The following methods and variables in are supported: • aio_cancel() • aio_error() • aio_fsync() • aio_read() • aio_return() • aio_write() The following methods in are implemented as stubs returning -1 and setting errno to ENOSYS: • aio_suspend() • lio_listio()

19.2. 725 RTEMS POSIX 1003.1 Compliance Guide, Release 5.1 (26th August 2020)Chapter19 Section 19.3

19.3

The following methods and variables in are supported: • htonl() • htons() • inet_addr() • inet_ntoa() • inet_ntop() • inet_pton() • ntohl() • ntohs()

726 Chapter 19. FACE 3.0 General Purpose Chapter 19 Section 19.4RTEMS POSIX 1003.1 Compliance Guide, Release 5.1 (26th August 2020)

19.4

The following methods and variables in are supported: • assert()

19.4. 727 RTEMS POSIX 1003.1 Compliance Guide, Release 5.1 (26th August 2020)Chapter19 Section 19.5

19.5

The following methods and variables in are supported: • cabs() • cabsf() • cabsl() • cacos() • cacosf() • cacosh() • cacoshf() • cacoshl() • cacosl() • carg() • cargf() • cargl() • casin() • casinf() • casinh() • casinhf() • casinhl() • casinl() • catan() • catanf() • catanh() • catanhf() • catanhl() • catanl() • ccos() • ccosf() • ccosh() • ccoshf() • ccoshl() • ccosl() • cexp() • cexpf()

728 Chapter 19. FACE 3.0 General Purpose Chapter 19 Section 19.5RTEMS POSIX 1003.1 Compliance Guide, Release 5.1 (26th August 2020)

• cexpl() • cimag() • cimagf() • cimagl() • clog() • clogf() • clogl() • conj() • conjf() • conjl() • cpow() • cpowf() • cpowl() • cproj() • cprojf() • cprojl() • creal() • crealf() • creall() • csin() • csinf() • csinh() • csinhf() • csinhl() • csinl() • csqrt() • csqrtf() • csqrtl() • ctan() • ctanf() • ctanh() • ctanhf() • ctanhl() • ctanl()

19.5. 729 RTEMS POSIX 1003.1 Compliance Guide, Release 5.1 (26th August 2020)Chapter19 Section 19.6

19.6

The following methods and variables in are supported: • isalnum() • isalpha() • isblank() • iscntrl() • isdigit() • isgraph() • islower() • isprint() • ispunct() • isspace() • isupper() • isxdigit() • tolower() • toupper()

730 Chapter 19. FACE 3.0 General Purpose Chapter 19 Section 19.7RTEMS POSIX 1003.1 Compliance Guide, Release 5.1 (26th August 2020)

19.7

The following methods and variables in are supported: • posix_devctl()

19.7. 731 RTEMS POSIX 1003.1 Compliance Guide, Release 5.1 (26th August 2020)Chapter19 Section 19.8

19.8

The following methods and variables in are supported: • closedir() • opendir() • readdir() • readdir_r() • rewinddir()

732 Chapter 19. FACE 3.0 General Purpose Chapter 19 Section 19.9RTEMS POSIX 1003.1 Compliance Guide, Release 5.1 (26th August 2020)

19.9

The following methods and variables in are supported: • errno

19.9. 733 RTEMS POSIX 1003.1 Compliance Guide, Release 5.1 (26th August 2020)Chapter19 Section 19.10

19.10

The following methods and variables in are supported: • creat() • fcntl() • open()

734 Chapter 19. FACE 3.0 General Purpose Chapter 19 Section 19.11RTEMS POSIX 1003.1 Compliance Guide, Release 5.1 (26th August 2020)

19.11

The following methods and variables in are not supported: • feclearexcept() • fegetenv() • fegetexceptflag() • fegetround() • feholdexcept() • feraiseexcept() • fesetenv() • fesetexceptflag() • fesetround() • fetestexcept() • feupdateenv()

19.11. 735 RTEMS POSIX 1003.1 Compliance Guide, Release 5.1 (26th August 2020)Chapter19 Section 19.12

19.12

The following methods and variables in are supported: • imaxabs() • imaxdiv() • strtoimax() • strtoumax() • wcstoimax() • wcstoumax()

736 Chapter 19. FACE 3.0 General Purpose Chapter 19 Section 19.13RTEMS POSIX 1003.1 Compliance Guide, Release 5.1 (26th August 2020)

19.13

The following methods and variables in are supported: • localeconv() • setlocale()

19.13. 737 RTEMS POSIX 1003.1 Compliance Guide, Release 5.1 (26th August 2020)Chapter19 Section 19.14

19.14

The following methods and variables in are supported: • acos() • acosf() • acosh() • acoshf() • acoshl() • acosl() • asin() • asinf() • asinh() • asinhf() • asinhl() • asinl() • atan() • atan2() • atan2f() • atan2l() • atanf() • atanh() • atanhf() • atanhl() • atanl() • cbrt() • cbrtf() • cbrtl() • ceil() • ceilf() • ceill() • copysign() • copysignf() • copysignl() • cos() • cosf()

738 Chapter 19. FACE 3.0 General Purpose Chapter 19 Section 19.14RTEMS POSIX 1003.1 Compliance Guide, Release 5.1 (26th August 2020)

• cosh() • coshf() • coshl() • cosl() • erf() • erfc() • erfcf() • erfcl() • erff() • erfl() • exp() • exp2() • exp2f() • exp2l() • expf() • expl() • expm1() • expm1f() • expm1l() • fabs() • fabsf() • fabsl() • fdim() • fdimf() • fdiml() • floor() • floorf() • floorl() • fma() • fmaf() • fmal() • fmax() • fmaxf() • fmaxl()

19.14. 739 RTEMS POSIX 1003.1 Compliance Guide, Release 5.1 (26th August 2020)Chapter19 Section 19.14

• fmin() • fminf() • fminl() • fmod() • fmodf() • fmodl() • frexp() • frexpf() • frexpl() • hypot() • hypotf() • hypotl() • ilogb() • ilogbf() • ilogbl() • isinf() • isnan() • ldexp() • ldexpf() • ldexpl() • lgamma() • lgammaf() • lgammal() • llrint() • llrintf() • llrintl() • llround() • llroundf() • llroundl() • log() • log10() • log10f() • log10l() • log1p()

740 Chapter 19. FACE 3.0 General Purpose Chapter 19 Section 19.14RTEMS POSIX 1003.1 Compliance Guide, Release 5.1 (26th August 2020)

• log1pf() • log1pl() • log2() • log2f() • log2l() • logb() • logbf() • logbl() • logf() • logl() • lrint() • lrintf() • lrintl() • lround() • lroundf() • lroundl() • modf() • modff() • modfl() • nan() • nanf() • nanl() • nearbyint() • nearbyintf() • nearbyintl() • nextafter() • nextafterf() • nextafterl() • nexttoward() • nexttowardl() • pow() • powf() • powl() • remainder()

19.14. 741 RTEMS POSIX 1003.1 Compliance Guide, Release 5.1 (26th August 2020)Chapter19 Section 19.14

• remainderf() • remainderl() • remquo() • remquof() • remquol() • rint() • rintf() • rintl() • round() • roundf() • roundl() • scalbln() • scalblnf() • scalblnl() • scalbn() • scalbnf() • scalbnl() • sin() • sinf() • sinh() • sinhf() • sinhl() • sinl() • sqrt() • sqrtf() • sqrtl() • tan() • tanf() • tanh() • tanhf() • tanhl() • tanl() • tgamma() • tgammaf()

742 Chapter 19. FACE 3.0 General Purpose Chapter 19 Section 19.14RTEMS POSIX 1003.1 Compliance Guide, Release 5.1 (26th August 2020)

• tgammal() • trunc() • truncf() • truncl() The following methods and variables in are not supported: • fpclassify() • isfinite() • isgreater() • isgreaterequal() • isless() • islessequal() • islessgreater() • isnormal() • isunordered() • nexttowardf() • signbit()

19.14. 743 RTEMS POSIX 1003.1 Compliance Guide, Release 5.1 (26th August 2020)Chapter19 Section 19.15

19.15

The following methods and variables in are supported: • mq_close() • mq_getattr() • mq_notify() • mq_open() • mq_receive() • mq_send() • mq_setattr() • mq_timedreceive() • mq_timedsend() • mq_unlink()

744 Chapter 19. FACE 3.0 General Purpose Chapter 19 Section 19.16RTEMS POSIX 1003.1 Compliance Guide, Release 5.1 (26th August 2020)

19.16

The following methods and variables in are supported: • if_freenameindex() • if_indextoname() • if_nameindex() • if_nametoindex()

19.16. 745 RTEMS POSIX 1003.1 Compliance Guide, Release 5.1 (26th August 2020)Chapter19 Section 19.17

19.17

The following methods and variables in are supported: • endhostent() • endnetent() • endprotoent() • endservent() • freeaddrinfo() • gai_strerror() • getaddrinfo() • gethostent() • getnameinfo() • getnetbyaddr() • getnetbyname() • getnetent() • getprotobyname() • getprotobynumber() • getprotoent() • getservbyname() • getservbyport() • getservent() • sethostent() • setnetent() • setprotoent() • setservent()

746 Chapter 19. FACE 3.0 General Purpose Chapter 19 Section 19.18RTEMS POSIX 1003.1 Compliance Guide, Release 5.1 (26th August 2020)

19.18

The following methods and variables in are supported: • pthread_attr_destroy() • pthread_attr_getdetachstate() • pthread_attr_getguardsize() • pthread_attr_getinheritsched() • pthread_attr_getschedparam() • pthread_attr_getschedpolicy() • pthread_attr_getscope() • pthread_attr_getstack() • pthread_attr_getstacksize() • pthread_attr_init() • pthread_attr_setdetachstate() • pthread_attr_setguardsize() • pthread_attr_setinheritsched() • pthread_attr_setschedparam() • pthread_attr_setschedpolicy() • pthread_attr_setscope() • pthread_attr_setstack() • pthread_attr_setstacksize() • pthread_barrier_destroy() • pthread_barrier_init() • pthread_barrier_wait() • pthread_barrierattr_destroy() • pthread_barrierattr_init() • pthread_cancel() • pthread_cleanup_pop() • pthread_cleanup_push() • pthread_cond_broadcast() • pthread_cond_destroy() • pthread_cond_init() • pthread_cond_signal() • pthread_cond_timedwait() • pthread_cond_wait()

19.18. 747 RTEMS POSIX 1003.1 Compliance Guide, Release 5.1 (26th August 2020)Chapter19 Section 19.18

• pthread_condattr_destroy() • pthread_condattr_getclock() • pthread_condattr_getpshared() • pthread_condattr_init() • pthread_condattr_setclock() • pthread_condattr_setpshared() • pthread_create() • pthread_detach() • pthread_equal() • pthread_exit() • pthread_getconcurrency() • pthread_getschedparam() • pthread_getspecific() • pthread_join() • pthread_key_create() • pthread_key_delete() • pthread_mutex_destroy() • pthread_mutex_getprioceiling() • pthread_mutex_init() • pthread_mutex_lock() • pthread_mutex_setprioceiling() • pthread_mutex_timedlock() • pthread_mutex_trylock() • pthread_mutex_unlock() • pthread_mutexattr_destroy() • pthread_mutexattr_getprioceiling() • pthread_mutexattr_getprotocol() • pthread_mutexattr_getpshared() • pthread_mutexattr_gettype() • pthread_mutexattr_init() • pthread_mutexattr_setprioceiling() • pthread_mutexattr_setprotocol() • pthread_mutexattr_setpshared() • pthread_mutexattr_settype()

748 Chapter 19. FACE 3.0 General Purpose Chapter 19 Section 19.18RTEMS POSIX 1003.1 Compliance Guide, Release 5.1 (26th August 2020)

• pthread_once() • pthread_rwlock_destroy() • pthread_rwlock_init() • pthread_rwlock_rdlock() • pthread_rwlock_timedrdlock() • pthread_rwlock_timedwrlock() • pthread_rwlock_tryrdlock() • pthread_rwlock_trywrlock() • pthread_rwlock_unlock() • pthread_rwlock_wrlock() • pthread_rwlockattr_destroy() • pthread_rwlockattr_init() • pthread_self() • pthread_setcancelstate() • pthread_setcanceltype() • pthread_setconcurrency() • pthread_setschedparam() • pthread_setschedprio() • pthread_setspecific() • pthread_testcancel() The following methods in are implemented as stubs returning -1 and setting errno to ENOSYS: • pthread_atfork() • pthread_getcpuclockid()

19.18. 749 RTEMS POSIX 1003.1 Compliance Guide, Release 5.1 (26th August 2020)Chapter19 Section 19.19

19.19

The following methods and variables in are supported: • sched_get_priority_max() • sched_get_priority_min() • sched_rr_get_interval() • sched_yield() The following methods in are implemented as stubs returning -1 and setting errno to ENOSYS: • sched_getparam() • sched_getscheduler() • sched_setparam() • sched_setscheduler()

750 Chapter 19. FACE 3.0 General Purpose Chapter 19 Section 19.20RTEMS POSIX 1003.1 Compliance Guide, Release 5.1 (26th August 2020)

19.20

The following methods and variables in are supported: • sem_close() • sem_destroy() • sem_getvalue() • sem_init() • sem_open() • sem_post() • sem_timedwait() • sem_trywait() • sem_unlink() • sem_wait()

19.20. 751 RTEMS POSIX 1003.1 Compliance Guide, Release 5.1 (26th August 2020)Chapter19 Section 19.21

19.21

The following methods and variables in are supported: • longjmp() • setjmp() • siglongjmp() • sigsetjmp()

752 Chapter 19. FACE 3.0 General Purpose Chapter 19 Section 19.22RTEMS POSIX 1003.1 Compliance Guide, Release 5.1 (26th August 2020)

19.22

The following methods and variables in are supported: • kill() • pthread_kill() • pthread_sigmask() • raise() • sigaction() • sigaddset() • sigdelset() • sigemptyset() • sigfillset() • sigismember() • signal() • sigpending() • sigprocmask() • sigqueue() • sigsuspend() • sigtimedwait() • sigwait() • sigwaitinfo()

19.22. 753 RTEMS POSIX 1003.1 Compliance Guide, Release 5.1 (26th August 2020)Chapter19 Section 19.23

19.23

The following methods and variables in are not supported: • posix_spawn() • posix_spawn_file_actions_addclose() • posix_spawn_file_actions_adddup2() • posix_spawn_file_actions_addopen() • posix_spawn_file_actions_destroy() • posix_spawn_file_actions_init() • posix_spawnattr_destroy() • posix_spawnattr_getflags() • posix_spawnattr_getpgroup() • posix_spawnattr_getschedparam() • posix_spawnattr_getschedpolicy() • posix_spawnattr_getsigdefault() • posix_spawnattr_getsigmask() • posix_spawnattr_init() • posix_spawnattr_setflags() • posix_spawnattr_setpgroup() • posix_spawnattr_setschedparam() • posix_spawnattr_setschedpolicy() • posix_spawnattr_setsigdefault() • posix_spawnattr_setsigmask() • posix_spawnp()

754 Chapter 19. FACE 3.0 General Purpose Chapter 19 Section 19.24RTEMS POSIX 1003.1 Compliance Guide, Release 5.1 (26th August 2020)

19.24

The following methods and variables in are supported: • va_arg() • va_copy() • va_end() • va_start()

19.24. 755 RTEMS POSIX 1003.1 Compliance Guide, Release 5.1 (26th August 2020)Chapter19 Section 19.25

19.25

The following methods and variables in are supported: • clearerr() • fclose() • fdopen() • feof() • ferror() • fflush() • fgetc() • fgetpos() • fgets() • fileno() • flockfile() • fopen() • fprintf() • fputc() • fputs() • fread() • freopen() • fscanf() • fseek() • fseeko() • fsetpos() • ftell() • ftello() • ftrylockfile() • funlockfile() • fwrite() • getc() • getc_unlocked() • getchar() • getchar_unlocked() • perror() • printf()

756 Chapter 19. FACE 3.0 General Purpose Chapter 19 Section 19.25RTEMS POSIX 1003.1 Compliance Guide, Release 5.1 (26th August 2020)

• putc() • putc_unlocked() • putchar() • putchar_unlocked() • puts() • remove() • rename() • rewind() • scanf() • setbuf() • setvbuf() • snprintf() • sprintf() • sscanf() • stderr • stdin • stdout • tmpfile() • ungetc() • vfprintf() • vfscanf() • vprintf() • vscanf() • vsnprintf() • vsprintf() • vsscanf()

19.25. 757 RTEMS POSIX 1003.1 Compliance Guide, Release 5.1 (26th August 2020)Chapter19 Section 19.26

19.26

The following methods and variables in are supported: • _Exit() • abort() • abs() • atexit() • atof() • atoi() • atol() • atoll() • bsearch() • calloc() • div() • exit() • free() • getenv() • labs() • ldiv() • llabs() • lldiv() • malloc() • mblen() • mbstowcs() • mbtowc() • qsort() • rand() • rand_r() • realloc() • setenv() • srand() • strtod() • strtof() • strtol() • strtold()

758 Chapter 19. FACE 3.0 General Purpose Chapter 19 Section 19.26RTEMS POSIX 1003.1 Compliance Guide, Release 5.1 (26th August 2020)

• strtoll() • strtoul() • strtoull() • unsetenv() • wcstombs() • wctomb()

19.26. 759 RTEMS POSIX 1003.1 Compliance Guide, Release 5.1 (26th August 2020)Chapter19 Section 19.27

19.27

The following methods and variables in are supported: • memchr() • memcmp() • memcpy() • memmove() • memset() • strcat() • strchr() • strcmp() • strcoll() • strcpy() • strcspn() • strerror() • strerror_r() • strlen() • strncat() • strncmp() • strncpy() • strpbrk() • strrchr() • strspn() • strstr() • strtok() • strtok_r() • strxfrm()

760 Chapter 19. FACE 3.0 General Purpose Chapter 19 Section 19.28RTEMS POSIX 1003.1 Compliance Guide, Release 5.1 (26th August 2020)

19.28

The following methods and variables in are supported: • mlock() • mlockall() • mmap() • mprotect() • msync() • munlock() • munlockall() • munmap() • shm_open() • shm_unlink()

19.28. 761 RTEMS POSIX 1003.1 Compliance Guide, Release 5.1 (26th August 2020)Chapter19 Section 19.29

19.29

The following methods and variables in are supported: • FD_CLR() • FD_ISSET() • FD_SET() • FD_ZERO() • select() The following methods and variables in are not supported: • pselect()

762 Chapter 19. FACE 3.0 General Purpose Chapter 19 Section 19.30RTEMS POSIX 1003.1 Compliance Guide, Release 5.1 (26th August 2020)

19.30

The following methods and variables in are supported: • accept() • bind() • connect() • getpeername() • getsockname() • getsockopt() • listen() • recv() • recvfrom() • recvmsg() • send() • sendmsg() • sendto() • setsockopt() • shutdown() • socket() • socketpair() The following methods and variables in are not supported: • sockatmark()

19.30. 763 RTEMS POSIX 1003.1 Compliance Guide, Release 5.1 (26th August 2020)Chapter19 Section 19.31

19.31

The following methods and variables in are supported: • chmod() • fchmod() • fstat() • lstat() • mkdir() • mkfifo() • stat() • umask()

764 Chapter 19. FACE 3.0 General Purpose Chapter 19 Section 19.32RTEMS POSIX 1003.1 Compliance Guide, Release 5.1 (26th August 2020)

19.32

The following methods and variables in are supported: • times()

19.32. 765 RTEMS POSIX 1003.1 Compliance Guide, Release 5.1 (26th August 2020)Chapter19 Section 19.33

19.33

The following methods and variables in are supported: • uname()

766 Chapter 19. FACE 3.0 General Purpose Chapter 19 Section 19.34RTEMS POSIX 1003.1 Compliance Guide, Release 5.1 (26th August 2020)

19.34

The following methods and variables in are supported: • wait() • waitpid()

19.34. 767 RTEMS POSIX 1003.1 Compliance Guide, Release 5.1 (26th August 2020)Chapter19 Section 19.35

19.35

The following methods and variables in are supported: • asctime_r() • clock() • clock_getres() • clock_gettime() • clock_nanosleep() • clock_settime() • ctime_r() • difftime() • gmtime() • gmtime_r() • localtime() • localtime_r() • mktime() • nanosleep() • strftime() • time() • timer_create() • timer_delete() • timer_getoverrun() • timer_gettime() • timer_settime() • tzname • tzset() The following methods in are implemented as stubs returning -1 and setting errno to ENOSYS: • clock_getcpuclockid()

768 Chapter 19. FACE 3.0 General Purpose Chapter 19 Section 19.36RTEMS POSIX 1003.1 Compliance Guide, Release 5.1 (26th August 2020)

19.36

The following methods and variables in are supported: • _exit() • access() • alarm() • chdir() • chown() • close() • dup() • dup2() • environ • fchown() • fdatasync() • fpathconf() • fsync() • ftruncate() • getcwd() • getegid() • geteuid() • getgid() • getgroups() • gethostname() • getlogin() • getpgrp() • getpid() • getppid() • getuid() • link() • lseek() • pathconf() • pause() • pipe() • read() • rmdir()

19.36. 769 RTEMS POSIX 1003.1 Compliance Guide, Release 5.1 (26th August 2020)Chapter19 Section 19.36

• setegid() • seteuid() • setgid() • setsid() • setuid() • sleep() • sysconf() • unlink() • write() The following methods in are implemented as stubs returning -1 and setting errno to ENOSYS: • execl() • execle() • execv() • execve() • fork() The following methods and variables in are not supported: • confstr()

770 Chapter 19. FACE 3.0 General Purpose Chapter 19 Section 19.37RTEMS POSIX 1003.1 Compliance Guide, Release 5.1 (26th August 2020)

19.37

The following methods and variables in are supported: • btowc() • fgetwc() • fgetws() • fputwc() • fputws() • fwide() • fwprintf() • fwscanf() • getwc() • getwchar() • mbrlen() • mbrtowc() • mbsinit() • mbsrtowcs()

19.37. 771 RTEMS POSIX 1003.1 Compliance Guide, Release 5.1 (26th August 2020)Chapter19 Section 19.38

19.38

The following methods and variables in are supported: • iswalnum() • iswalpha() • iswblank() • iswcntrl() • iswctype() • iswdigit() • iswgraph() • iswlower() • iswprint() • iswpunct() • iswspace() • iswupper() • iswxdigit() • towctrans() • towlower() • towupper() • wctrans() • wctype()

772 Chapter 19. FACE 3.0 General Purpose CHAPTER TWENTY

SCA 2.2.2 AEP

This chapter has a subsection per header file to detail the methods provided by RTEMS that are in that header file.

773 RTEMS POSIX 1003.1 Compliance Guide, Release 5.1 (26th August 2020)Chapter20 Section 20.1

20.1 Summary

The follow table summarizes alignment with the SCA 2.2.2 AEP standard:

Supported 244 ENOSYS 0 Not supported 0

774 Chapter 20. SCA 2.2.2 AEP Chapter 20 Section 20.2RTEMS POSIX 1003.1 Compliance Guide, Release 5.1 (26th August 2020)

20.2

The following methods and variables in are supported: • isalnum() • isalpha() • iscntrl() • isdigit() • isgraph() • islower() • isprint() • ispunct() • isspace() • isupper() • isxdigit() • tolower() • toupper()

20.2. 775 RTEMS POSIX 1003.1 Compliance Guide, Release 5.1 (26th August 2020)Chapter20 Section 20.3

20.3

The following methods and variables in are supported: • closedir() • opendir() • readdir() • readdir_r() • rewinddir()

776 Chapter 20. SCA 2.2.2 AEP Chapter 20 Section 20.4RTEMS POSIX 1003.1 Compliance Guide, Release 5.1 (26th August 2020)

20.4

The following methods and variables in are supported: • creat() • open()

20.4. 777 RTEMS POSIX 1003.1 Compliance Guide, Release 5.1 (26th August 2020)Chapter20 Section 20.5

20.5

The following methods and variables in are supported: • setlocale()

778 Chapter 20. SCA 2.2.2 AEP Chapter 20 Section 20.6RTEMS POSIX 1003.1 Compliance Guide, Release 5.1 (26th August 2020)

20.6

The following methods and variables in are supported: • acos() • asin() • atan() • atan2() • ceil() • cos() • cosh() • exp() • fabs() • floor() • fmod() • frexp() • ldexp() • log() • log10() • modf() • pow() • sin() • sinh() • sqrt() • tan() • tanh()

20.6. 779 RTEMS POSIX 1003.1 Compliance Guide, Release 5.1 (26th August 2020)Chapter20 Section 20.7

20.7

The following methods and variables in are supported: • pthread_attr_destroy() • pthread_attr_getdetachstate() • pthread_attr_getguardsize() • pthread_attr_getinheritsched() • pthread_attr_getschedparam() • pthread_attr_getschedpolicy() • pthread_attr_getscope() • pthread_attr_getstack() • pthread_attr_getstackaddr() • pthread_attr_getstacksize() • pthread_attr_init() • pthread_attr_setdetachstate() • pthread_attr_setguardsize() • pthread_attr_setinheritsched() • pthread_attr_setschedparam() • pthread_attr_setschedpolicy() • pthread_attr_setscope() • pthread_attr_setstack() • pthread_attr_setstackaddr() • pthread_attr_setstacksize() • pthread_cancel() • pthread_cleanup_pop() • pthread_cleanup_push() • pthread_cond_broadcast() • pthread_cond_destroy() • pthread_cond_init() • pthread_cond_signal() • pthread_cond_timedwait() • pthread_cond_wait() • pthread_condattr_destroy() • pthread_condattr_getclock() • pthread_condattr_getpshared()

780 Chapter 20. SCA 2.2.2 AEP Chapter 20 Section 20.7RTEMS POSIX 1003.1 Compliance Guide, Release 5.1 (26th August 2020)

• pthread_condattr_init() • pthread_condattr_setclock() • pthread_condattr_setpshared() • pthread_create() • pthread_detach() • pthread_equal() • pthread_exit() • pthread_getschedparam() • pthread_getspecific() • pthread_join() • pthread_key_create() • pthread_key_delete() • pthread_mutex_destroy() • pthread_mutex_getprioceiling() • pthread_mutex_init() • pthread_mutex_lock() • pthread_mutex_setprioceiling() • pthread_mutex_timedlock() • pthread_mutex_trylock() • pthread_mutex_unlock() • pthread_mutexattr_destroy() • pthread_mutexattr_getprioceiling() • pthread_mutexattr_getprotocol() • pthread_mutexattr_getpshared() • pthread_mutexattr_gettype() • pthread_mutexattr_init() • pthread_mutexattr_setprioceiling() • pthread_mutexattr_setprotocol() • pthread_mutexattr_setpshared() • pthread_mutexattr_settype() • pthread_once() • pthread_self() • pthread_setcancelstate() • pthread_setcanceltype()

20.7. 781 RTEMS POSIX 1003.1 Compliance Guide, Release 5.1 (26th August 2020)Chapter20 Section 20.7

• pthread_setschedparam() • pthread_setspecific() • pthread_testcancel()

782 Chapter 20. SCA 2.2.2 AEP Chapter 20 Section 20.8RTEMS POSIX 1003.1 Compliance Guide, Release 5.1 (26th August 2020)

20.8

The following methods and variables in are supported: • sem_close() • sem_destroy() • sem_getvalue() • sem_init() • sem_open() • sem_post() • sem_trywait() • sem_unlink() • sem_wait()

20.8. 783 RTEMS POSIX 1003.1 Compliance Guide, Release 5.1 (26th August 2020)Chapter20 Section 20.9

20.9

The following methods and variables in are supported: • longjmp() • setjmp()

784 Chapter 20. SCA 2.2.2 AEP Chapter 20 Section 20.10RTEMS POSIX 1003.1 Compliance Guide, Release 5.1 (26th August 2020)

20.10

The following methods and variables in are supported: • kill() • pthread_kill() • pthread_sigmask() • raise() • sigaction() • sigaddset() • sigdelset() • sigemptyset() • sigfillset() • sigismember() • signal() • sigpending() • sigprocmask() • sigsuspend() • sigwait()

20.10. 785 RTEMS POSIX 1003.1 Compliance Guide, Release 5.1 (26th August 2020)Chapter20 Section 20.11

20.11

The following methods and variables in are supported: • clearerr() • fclose() • fdopen() • feof() • ferror() • fflush() • fgetc() • fgets() • fileno() • fopen() • fprintf() • fputc() • fputs() • fread() • freopen() • fscanf() • fseek() • fseeko() • ftell() • ftello() • fwrite() • getc() • getchar() • gets() • perror() • printf() • putc() • putchar() • puts() • remove() • rename() • rewind()

786 Chapter 20. SCA 2.2.2 AEP Chapter 20 Section 20.11RTEMS POSIX 1003.1 Compliance Guide, Release 5.1 (26th August 2020)

• scanf() • setbuf() • setvbuf() • sprintf() • sscanf() • tmpfile() • tmpnam() • ungetc()

20.11. 787 RTEMS POSIX 1003.1 Compliance Guide, Release 5.1 (26th August 2020)Chapter20 Section 20.12

20.12

The following methods and variables in are supported: • abort() • abs() • atof() • atoi() • atol() • bsearch() • calloc() • free() • malloc() • qsort() • rand() • rand_r() • realloc() • srand()

788 Chapter 20. SCA 2.2.2 AEP Chapter 20 Section 20.13RTEMS POSIX 1003.1 Compliance Guide, Release 5.1 (26th August 2020)

20.13

The following methods and variables in are supported: • strcat() • strchr() • strcmp() • strcpy() • strcspn() • strlen() • strncat() • strncmp() • strncpy() • strpbrk() • strrchr() • strspn() • strstr() • strtok() • strtok_r()

20.13. 789 RTEMS POSIX 1003.1 Compliance Guide, Release 5.1 (26th August 2020)Chapter20 Section 20.14

20.14

The following methods and variables in are supported: • fstat() • mkdir() • stat()

790 Chapter 20. SCA 2.2.2 AEP Chapter 20 Section 20.15RTEMS POSIX 1003.1 Compliance Guide, Release 5.1 (26th August 2020)

20.15

The following methods and variables in are supported: • asctime() • asctime_r() • clock_getres() • clock_gettime() • clock_settime() • ctime() • ctime_r() • gmtime() • gmtime_r() • localtime() • localtime_r() • mktime() • nanosleep() • strftime() • time() • timer_create() • timer_delete() • timer_getoverrun() • timer_gettime() • timer_settime()

20.15. 791 RTEMS POSIX 1003.1 Compliance Guide, Release 5.1 (26th August 2020)Chapter20 Section 20.16

20.16

The following methods and variables in are supported: • access() • chdir() • close() • fpathconf() • getcwd() • link() • lseek() • pathconf() • pause() • read() • rmdir() • unlink() • write()

792 Chapter 20. SCA 2.2.2 AEP Chapter 20 Section 20.17RTEMS POSIX 1003.1 Compliance Guide, Release 5.1 (26th August 2020)

20.17

The following methods and variables in are supported: • utime()

20.17. 793 RTEMS POSIX 1003.1 Compliance Guide, Release 5.1 (26th August 2020)Chapter20 Section 20.17

794 Chapter 20. SCA 2.2.2 AEP CHAPTER TWENTYONE

SCA 4.1 ULTRA LIGHTWEIGHT AEP

This chapter has a subsection per header file to detail the methods provided by RTEMS that are in that header file.

795 RTEMS POSIX 1003.1 Compliance Guide, Release 5.1 (26th August 2020)Chapter21 Section 21.1

21.1 Summary

The follow table summarizes alignment with the SCA 4.1 Ultra Lightweight AEP standard:

Supported 22 ENOSYS 0 Not supported 0

796 Chapter 21. SCA 4.1 Ultra Lightweight AEP Chapter 21 Section 21.2RTEMS POSIX 1003.1 Compliance Guide, Release 5.1 (26th August 2020)

21.2

The following methods and variables in are supported: • exp() • exp2()

21.2. 797 RTEMS POSIX 1003.1 Compliance Guide, Release 5.1 (26th August 2020)Chapter21 Section 21.3

21.3

The following methods and variables in are supported: • mq_open() • mq_receive() • mq_send()

798 Chapter 21. SCA 4.1 Ultra Lightweight AEP Chapter 21 Section 21.4RTEMS POSIX 1003.1 Compliance Guide, Release 5.1 (26th August 2020)

21.4

The following methods and variables in are supported: • pthread_attr_getstacksize() • pthread_attr_init() • pthread_attr_setinheritsched() • pthread_create() • pthread_mutex_init() • pthread_mutex_lock() • pthread_mutex_unlock() • pthread_mutexattr_setprioceiling() • pthread_mutexattr_settype() • pthread_self()

21.4. 799 RTEMS POSIX 1003.1 Compliance Guide, Release 5.1 (26th August 2020)Chapter21 Section 21.5

21.5

The following methods and variables in are supported: • sem_init() • sem_post() • sem_wait()

800 Chapter 21. SCA 4.1 Ultra Lightweight AEP Chapter 21 Section 21.6RTEMS POSIX 1003.1 Compliance Guide, Release 5.1 (26th August 2020)

21.6

The following methods and variables in are supported: • clock_getres() • clock_gettime() • timer_create() • timer_settime()

21.6. 801 RTEMS POSIX 1003.1 Compliance Guide, Release 5.1 (26th August 2020)Chapter21 Section 21.6

802 Chapter 21. SCA 4.1 Ultra Lightweight AEP CHAPTER TWENTYTWO

SCA 4.1 LIGHTWEIGHT AEP

This chapter has a subsection per header file to detail the methods provided by RTEMS that are in that header file.

803 RTEMS POSIX 1003.1 Compliance Guide, Release 5.1 (26th August 2020)Chapter22 Section 22.1

22.1 Summary

The follow table summarizes alignment with the SCA 4.1 Lightweight AEP standard:

Supported 111 ENOSYS 0 Not supported 0

804 Chapter 22. SCA 4.1 Lightweight AEP Chapter 22 Section 22.2RTEMS POSIX 1003.1 Compliance Guide, Release 5.1 (26th August 2020)

22.2

The following methods and variables in are supported: • isalnum() • isalpha() • iscntrl() • isdigit() • isgraph() • islower() • isprint() • ispunct() • isspace() • isupper() • isxdigit() • tolower() • toupper()

22.2. 805 RTEMS POSIX 1003.1 Compliance Guide, Release 5.1 (26th August 2020)Chapter22 Section 22.3

22.3

The following methods and variables in are supported: • open()

806 Chapter 22. SCA 4.1 Lightweight AEP Chapter 22 Section 22.4RTEMS POSIX 1003.1 Compliance Guide, Release 5.1 (26th August 2020)

22.4

The following methods and variables in are supported: • acos() • acosh() • asin() • asinh() • atan() • atan2() • atanh() • ceil() • cos() • cosh() • exp() • exp2() • fabs() • floor() • fmod() • frexp() • ldexp() • log() • log10() • log2() • modf() • pow() • round() • sin() • sinh() • sqrt() • tan() • tanh() • trunc()

22.4. 807 RTEMS POSIX 1003.1 Compliance Guide, Release 5.1 (26th August 2020)Chapter22 Section 22.5

22.5

The following methods and variables in are supported: • mq_open() • mq_receive() • mq_send()

808 Chapter 22. SCA 4.1 Lightweight AEP Chapter 22 Section 22.6RTEMS POSIX 1003.1 Compliance Guide, Release 5.1 (26th August 2020)

22.6

The following methods and variables in are supported: • pthread_attr_destroy() • pthread_attr_getschedparam() • pthread_attr_getstacksize() • pthread_attr_init() • pthread_attr_setinheritsched() • pthread_cond_broadcast() • pthread_cond_destroy() • pthread_cond_init() • pthread_cond_signal() • pthread_cond_wait() • pthread_create() • pthread_mutex_init() • pthread_mutex_lock() • pthread_mutex_unlock() • pthread_mutexattr_getpshared() • pthread_mutexattr_setprioceiling() • pthread_mutexattr_settype() • pthread_self()

22.6. 809 RTEMS POSIX 1003.1 Compliance Guide, Release 5.1 (26th August 2020)Chapter22 Section 22.7

22.7

The following methods and variables in are supported: • sem_getvalue() • sem_init() • sem_post() • sem_wait()

810 Chapter 22. SCA 4.1 Lightweight AEP Chapter 22 Section 22.8RTEMS POSIX 1003.1 Compliance Guide, Release 5.1 (26th August 2020)

22.8

The following methods and variables in are supported: • sscanf()

22.8. 811 RTEMS POSIX 1003.1 Compliance Guide, Release 5.1 (26th August 2020)Chapter22 Section 22.9

22.9

The following methods and variables in are supported: • abs() • atof() • atoi() • atol() • bsearch() • calloc() • free() • malloc() • qsort() • rand() • realloc() • srand()

812 Chapter 22. SCA 4.1 Lightweight AEP Chapter 22 Section 22.10RTEMS POSIX 1003.1 Compliance Guide, Release 5.1 (26th August 2020)

22.10

The following methods and variables in are supported: • memchr() • memcmp() • memcpy() • memmove() • memset() • strchr() • strcmp() • strcspn() • strlen() • strncat() • strncmp() • strncpy() • strpbrk() • strrchr() • strspn() • strstr() • strtok()

22.10. 813 RTEMS POSIX 1003.1 Compliance Guide, Release 5.1 (26th August 2020)Chapter22 Section 22.11

22.11

The following methods and variables in are supported: • clock_getres() • clock_gettime() • gmtime() • localtime() • mktime() • strftime() • time() • timer_create() • timer_gettime() • timer_settime()

814 Chapter 22. SCA 4.1 Lightweight AEP Chapter 22 Section 22.12RTEMS POSIX 1003.1 Compliance Guide, Release 5.1 (26th August 2020)

22.12

The following methods and variables in are supported: • close() • read() • write()

22.12. 815 RTEMS POSIX 1003.1 Compliance Guide, Release 5.1 (26th August 2020)Chapter22 Section 22.12

816 Chapter 22. SCA 4.1 Lightweight AEP CHAPTER TWENTYTHREE

SCA 4.1 [FULL] AEP

This chapter has a subsection per header file to detail the methods provided by RTEMS that are in that header file.

817 RTEMS POSIX 1003.1 Compliance Guide, Release 5.1 (26th August 2020)Chapter23 Section 23.1

23.1 Summary

The follow table summarizes alignment with the SCA 4.1 [Full] AEP standard:

Supported 256 ENOSYS 0 Not supported 0

818 Chapter 23. SCA 4.1 [Full] AEP Chapter 23 Section 23.2RTEMS POSIX 1003.1 Compliance Guide, Release 5.1 (26th August 2020)

23.2

The following methods and variables in are supported: • htonl() • htons() • ntohl() • ntohs()

23.2. 819 RTEMS POSIX 1003.1 Compliance Guide, Release 5.1 (26th August 2020)Chapter23 Section 23.3

23.3

The following methods and variables in are supported: • isalnum() • isalpha() • isblank() • iscntrl() • isdigit() • isgraph() • islower() • isprint() • ispunct() • isspace() • isupper() • isxdigit() • tolower() • toupper()

820 Chapter 23. SCA 4.1 [Full] AEP Chapter 23 Section 23.4RTEMS POSIX 1003.1 Compliance Guide, Release 5.1 (26th August 2020)

23.4

The following methods and variables in are supported: • closedir() • opendir() • readdir() • readdir_r() • rewinddir()

23.4. 821 RTEMS POSIX 1003.1 Compliance Guide, Release 5.1 (26th August 2020)Chapter23 Section 23.5

23.5

The following methods and variables in are supported: • errno

822 Chapter 23. SCA 4.1 [Full] AEP Chapter 23 Section 23.6RTEMS POSIX 1003.1 Compliance Guide, Release 5.1 (26th August 2020)

23.6

The following methods and variables in are supported: • creat() • open()

23.6. 823 RTEMS POSIX 1003.1 Compliance Guide, Release 5.1 (26th August 2020)Chapter23 Section 23.7

23.7

The following methods and variables in are supported: • acos() • acosh() • asin() • asinh() • atan() • atan2() • atanh() • ceil() • cos() • cosh() • exp() • exp2() • fabs() • floor() • fmod() • frexp() • ldexp() • log() • log10() • log2() • modf() • pow() • round() • sin() • sinh() • sqrt() • tan() • tanh() • trunc()

824 Chapter 23. SCA 4.1 [Full] AEP Chapter 23 Section 23.8RTEMS POSIX 1003.1 Compliance Guide, Release 5.1 (26th August 2020)

23.8

The following methods and variables in are supported: • mq_close() • mq_getattr() • mq_notify() • mq_open() • mq_receive() • mq_send() • mq_setattr() • mq_unlink()

23.8. 825 RTEMS POSIX 1003.1 Compliance Guide, Release 5.1 (26th August 2020)Chapter23 Section 23.9

23.9

The following methods and variables in are supported: • pthread_attr_destroy() • pthread_attr_getdetachstate() • pthread_attr_getschedparam() • pthread_attr_getstacksize() • pthread_attr_init() • pthread_attr_setinheritsched() • pthread_cancel() • pthread_cleanup_pop() • pthread_cleanup_push() • pthread_cond_broadcast() • pthread_cond_destroy() • pthread_cond_init() • pthread_cond_signal() • pthread_cond_timedwait() • pthread_cond_wait() • pthread_condattr_destroy() • pthread_condattr_init() • pthread_create() • pthread_detach() • pthread_equal() • pthread_exit() • pthread_getschedparam() • pthread_getspecific() • pthread_join() • pthread_key_create() • pthread_key_delete() • pthread_mutex_destroy() • pthread_mutex_init() • pthread_mutex_lock() • pthread_mutex_trylock() • pthread_mutex_unlock() • pthread_mutexattr_getpshared()

826 Chapter 23. SCA 4.1 [Full] AEP Chapter 23 Section 23.9RTEMS POSIX 1003.1 Compliance Guide, Release 5.1 (26th August 2020)

• pthread_mutexattr_init() • pthread_mutexattr_setprioceiling() • pthread_mutexattr_settype() • pthread_once() • pthread_self() • pthread_setcancelstate() • pthread_setcanceltype() • pthread_setschedparam() • pthread_setspecific() • pthread_testcancel()

23.9. 827 RTEMS POSIX 1003.1 Compliance Guide, Release 5.1 (26th August 2020)Chapter23 Section 23.10

23.10

The following methods and variables in are supported: • sem_close() • sem_destroy() • sem_getvalue() • sem_init() • sem_open() • sem_post() • sem_timedwait() • sem_trywait() • sem_unlink() • sem_wait()

828 Chapter 23. SCA 4.1 [Full] AEP Chapter 23 Section 23.11RTEMS POSIX 1003.1 Compliance Guide, Release 5.1 (26th August 2020)

23.11

The following methods and variables in are supported: • kill() • pthread_kill() • pthread_sigmask() • raise() • sigaction() • sigaddset() • sigdelset() • sigemptyset() • sigfillset() • sigismember() • signal() • sigpending() • sigprocmask() • sigsuspend() • sigwait()

23.11. 829 RTEMS POSIX 1003.1 Compliance Guide, Release 5.1 (26th August 2020)Chapter23 Section 23.12

23.12

The following methods and variables in are supported: • va_arg() • va_copy() • va_end() • va_start()

830 Chapter 23. SCA 4.1 [Full] AEP Chapter 23 Section 23.13RTEMS POSIX 1003.1 Compliance Guide, Release 5.1 (26th August 2020)

23.13

The following methods and variables in are supported: • clearerr() • fclose() • fdopen() • feof() • ferror() • fflush() • fgetc() • fgets() • fileno() • fopen() • fprintf() • fputc() • fputs() • fread() • freopen() • fscanf() • fseek() • fseeko() • ftell() • ftello() • fwrite() • getc() • getchar() • perror() • printf() • putc() • putchar() • remove() • rename() • rewind() • setbuf() • setvbuf()

23.13. 831 RTEMS POSIX 1003.1 Compliance Guide, Release 5.1 (26th August 2020)Chapter23 Section 23.13

• snprintf() • sscanf() • ungetc() • vsnprintf()

832 Chapter 23. SCA 4.1 [Full] AEP Chapter 23 Section 23.14RTEMS POSIX 1003.1 Compliance Guide, Release 5.1 (26th August 2020)

23.14

The following methods and variables in are supported: • abort() • abs() • atof() • atoi() • atol() • bsearch() • calloc() • free() • labs() • malloc() • qsort() • rand() • rand_r() • realloc() • srand() • strtod() • strtol() • strtoul()

23.14. 833 RTEMS POSIX 1003.1 Compliance Guide, Release 5.1 (26th August 2020)Chapter23 Section 23.15

23.15

The following methods and variables in are supported: • memchr() • memcmp() • memcpy() • memmove() • memset() • strchr() • strcmp() • strcoll() • strcspn() • strerror() • strerror_r() • strlen() • strncat() • strncmp() • strncpy() • strpbrk() • strrchr() • strspn() • strstr() • strtok() • strtok_r() • strxfrm()

834 Chapter 23. SCA 4.1 [Full] AEP Chapter 23 Section 23.16RTEMS POSIX 1003.1 Compliance Guide, Release 5.1 (26th August 2020)

23.16

The following methods and variables in are supported: • select()

23.16. 835 RTEMS POSIX 1003.1 Compliance Guide, Release 5.1 (26th August 2020)Chapter23 Section 23.17

23.17

The following methods and variables in are supported: • accept() • bind() • connect() • getsockopt() • listen() • recv() • recvfrom() • send() • sendto() • setsockopt() • socket()

836 Chapter 23. SCA 4.1 [Full] AEP Chapter 23 Section 23.18RTEMS POSIX 1003.1 Compliance Guide, Release 5.1 (26th August 2020)

23.18

The following methods and variables in are supported: • fstat() • mkdir() • stat()

23.18. 837 RTEMS POSIX 1003.1 Compliance Guide, Release 5.1 (26th August 2020)Chapter23 Section 23.19

23.19

The following methods and variables in are supported: • asctime_r() • clock_getres() • clock_gettime() • clock_settime() • ctime_r() • gmtime() • gmtime_r() • localtime() • localtime_r() • mktime() • nanosleep() • strftime() • time() • timer_create() • timer_delete() • timer_getoverrun() • timer_gettime() • timer_settime()

838 Chapter 23. SCA 4.1 [Full] AEP Chapter 23 Section 23.20RTEMS POSIX 1003.1 Compliance Guide, Release 5.1 (26th August 2020)

23.20

The following methods and variables in are supported: • access() • chdir() • close() • fpathconf() • getcwd() • link() • lseek() • pathconf() • pause() • read() • rmdir() • unlink() • write()

23.20. 839 RTEMS POSIX 1003.1 Compliance Guide, Release 5.1 (26th August 2020)Chapter23 Section 23.20

840 Chapter 23. SCA 4.1 [Full] AEP CHAPTER TWENTYFOUR

GLOSSARY

POSIX Portable Operating System Interface is a family of standards specified by the IEEE Society for maintaining compatibility between operating systems.

841 RTEMS POSIX 1003.1 Compliance Guide, Release 5.1 (26th August 2020)Chapter24 Section 24.0

842 Chapter 24. Glossary INDEX

P POSIX, 841

843