9. 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.

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

Support

Amount

Supported

575

ENOSYS

2

Not supported

52

9.1. <complex.h>#

The following methods and variables in <complex.h> 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()

  • 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.2. <ctype.h>#

The following methods and variables in <ctype.h> are supported:

  • isalnum()

  • isalpha()

  • isblank()

  • iscntrl()

  • isdigit()

  • isgraph()

  • islower()

  • isprint()

  • ispunct()

  • isspace()

  • isupper()

  • isxdigit()

  • tolower()

  • toupper()

9.3. <dirent.h>#

The following methods and variables in <dirent.h> are supported:

  • closedir()

  • opendir()

  • readdir()

  • readdir_r()

  • rewinddir()

9.4. <errno.h>#

The following methods and variables in <errno.h> are supported:

  • errno

9.5. <fcntl.h>#

The following methods and variables in <fcntl.h> are supported:

  • creat()

  • fcntl()

  • open()

9.6. <fenv.h>#

The following methods and variables in <fenv.h> are supported:

  • feclearexcept()

  • fegetenv()

  • fegetexceptflag()

  • fegetround()

  • feholdexcept()

  • feraiseexcept()

  • fesetenv()

  • fesetexceptflag()

  • fesetround()

  • fetestexcept()

  • feupdateenv()

9.7. <inttypes.h>#

The following methods and variables in <inttypes.h> are supported:

  • imaxabs()

  • imaxdiv()

  • strtoimax()

  • strtoumax()

9.8. <locale.h>#

The following methods and variables in <locale.h> are supported:

  • localeconv()

  • setlocale()

9.9. <math.h>#

The following methods and variables in <math.h> 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()

  • 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()

  • fmin()

  • fminf()

  • fminl()

  • fmod()

  • fmodf()

  • fmodl()

  • fpclassify()

  • frexp()

  • frexpf()

  • frexpl()

  • hypot()

  • hypotf()

  • hypotl()

  • ilogb()

  • ilogbf()

  • ilogbl()

  • isfinite()

  • isgreater()

  • isgreaterequal()

  • isinf()

  • isless()

  • islessequal()

  • islessgreater()

  • isnan()

  • isnormal()

  • isunordered()

  • ldexp()

  • ldexpf()

  • ldexpl()

  • lgamma()

  • lgammaf()

  • lgammal()

  • llrint()

  • llrintf()

  • llrintl()

  • llround()

  • llroundf()

  • llroundl()

  • log()

  • log10()

  • log10f()

  • log10l()

  • log1p()

  • 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()

  • nexttowardf()

  • nexttowardl()

  • pow()

  • powf()

  • powl()

  • remainder()

  • 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()

  • tgammal()

  • trunc()

  • truncf()

  • truncl()

The following methods and variables in <math.h> are not supported:

  • signbit()

9.10. <mqueue.h>#

The following methods and variables in <mqueue.h> are supported:

  • mq_close()

  • mq_getattr()

  • mq_notify()

  • mq_open()

  • mq_receive()

  • mq_send()

  • mq_setattr()

  • mq_timedreceive()

  • mq_timedsend()

  • mq_unlink()

9.11. <pthread.h>#

The following methods and variables in <pthread.h> 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()

  • 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()

  • pthread_testcancel()

The following methods in <pthread.h> are implemented as stubs returning -1 and setting errno to ENOSYS:

  • pthread_atfork()

  • pthread_getcpuclockid()

9.12. <sched.h>#

The following methods and variables in <sched.h> are supported:

  • sched_get_priority_max()

  • sched_get_priority_min()

  • sched_rr_get_interval()

9.13. <semaphore.h>#

The following methods and variables in <semaphore.h> are supported:

  • sem_close()

  • sem_destroy()

  • sem_getvalue()

  • sem_init()

  • sem_open()

  • sem_post()

  • sem_timedwait()

  • sem_trywait()

  • sem_unlink()

  • sem_wait()

9.14. <setjmp.h>#

The following methods and variables in <setjmp.h> are supported:

  • longjmp()

  • setjmp()

9.15. <signal.h>#

The following methods and variables in <signal.h> are supported:

  • kill()

  • pthread_kill()

  • pthread_sigmask()

  • raise()

  • sigaction()

  • sigaddset()

  • sigdelset()

  • sigemptyset()

  • sigfillset()

  • sigismember()

  • signal()

  • sigpending()

  • sigprocmask()

  • sigqueue()

  • sigsuspend()

  • sigtimedwait()

  • sigwait()

  • sigwaitinfo()

9.16. <stdarg.h>#

The following methods and variables in <stdarg.h> are supported:

  • va_arg()

  • va_copy()

  • va_end()

  • va_start()

9.17. <stddef.h>#

The following methods and variables in <stddef.h> are supported:

  • offsetof()

9.18. <stdio.h>#

The following methods and variables in <stdio.h> 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()

  • 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()

9.19. <stdlib.h>#

The following methods and variables in <stdlib.h> 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()

9.20. <string.h>#

The following methods and variables in <string.h> 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.21. <sys/mman.h>#

The following methods and variables in <sys/mman.h> are supported:

  • mlock()

  • mlockall()

  • mmap()

  • msync()

  • munlock()

  • munmap()

  • shm_open()

  • shm_unlink()

9.22. <sys/stat.h>#

The following methods and variables in <sys/stat.h> are supported:

  • fstat()

  • mkdir()

  • stat()

9.23. <sys/utsname.h>#

The following methods and variables in <sys/utsname.h> are supported:

  • uname()

9.24. <time.h>#

The following methods and variables in <time.h> 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()

9.25. <trace.h>#

The following methods and variables in <trace.h> 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()

  • 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.26. <unistd.h>#

The following methods and variables in <unistd.h> 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 <unistd.h> are not supported:

  • confstr()

9.27. <utime.h>#

The following methods and variables in <utime.h> are supported:

  • utime()