29. FACE Technical Standard, Edition 3.2 Safety Extended#

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 FACE Technical Standard, Edition 3.2 Safety Extended standard:

Support

Amount

Supported

319

ENOSYS

2

Not supported

0

29.1. <arpa/inet.h>#

The following methods and variables in <arpa/inet.h> are supported:

  • htonl()

  • htons()

  • inet_ntop()

  • inet_pton()

  • ntohl()

  • ntohs()

29.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()

29.3. <devctl.h>#

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

  • posix_devctl()

29.4. <dirent.h>#

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

  • closedir()

  • opendir()

  • readdir()

  • readdir_r()

  • rewinddir()

29.5. <errno.h>#

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

  • errno

29.6. <fcntl.h>#

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

  • creat()

  • fcntl()

  • open()

29.7. <math.h>#

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

  • acos()

  • acosh()

  • asin()

  • asinh()

  • atan()

  • atan2()

  • atanh()

  • ceil()

  • cos()

  • cosh()

  • exp()

  • exp2()

  • fabs()

  • floor()

  • fmod()

  • frexp()

  • isinf()

  • isnan()

  • ldexp()

  • log()

  • log10()

  • log2()

  • modf()

  • pow()

  • round()

  • sin()

  • sinh()

  • sqrt()

  • tan()

  • tanh()

  • trunc()

29.8. <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()

29.9. <netdb.h>#

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

  • freeaddrinfo()

  • getaddrinfo()

  • getnameinfo()

29.10. <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_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()

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

29.11. <sched.h>#

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

  • sched_get_priority_max()

  • sched_get_priority_min()

  • sched_rr_get_interval()

  • sched_yield()

29.12. <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()

29.13. <setjmp.h>#

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

  • siglongjmp()

  • sigsetjmp()

29.14. <signal.h>#

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

  • kill()

  • pthread_kill()

  • pthread_sigmask()

  • raise()

  • sigaction()

  • sigaddset()

  • sigdelset()

  • sigemptyset()

  • sigfillset()

  • sigismember()

  • sigpending()

  • sigqueue()

  • sigsuspend()

  • sigtimedwait()

  • sigwait()

  • sigwaitinfo()

29.15. <stdarg.h>#

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

  • va_arg()

  • va_copy()

  • va_end()

  • va_start()

29.16. <stddef.h>#

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

  • offsetof()

29.17. <stdint.h>#

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

  • INTMAX_C()

  • INTN_C()

  • UINTMAX_C()

  • UINTN_C()

29.18. <stdio.h>#

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

  • clearerr()

  • fclose()

  • fdopen()

  • feof()

  • ferror()

  • fflush()

  • fgetc()

  • fgets()

  • fileno()

  • flockfile()

  • fopen()

  • fprintf()

  • fread()

  • freopen()

  • fseek()

  • fseeko()

  • ftell()

  • ftello()

  • ftrylockfile()

  • funlockfile()

  • fwrite()

  • remove()

  • rename()

  • snprintf()

  • sscanf()

  • vfprintf()

  • vsnprintf()

29.19. <stdlib.h>#

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

  • abort()

  • abs()

  • atof()

  • atoi()

  • atol()

  • bsearch()

  • calloc()

  • div()

  • free()

  • getenv()

  • labs()

  • ldiv()

  • malloc()

  • qsort()

  • rand_r()

  • realloc()

  • strtod()

  • strtol()

  • strtoul()

29.20. <string.h>#

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

  • memchr()

  • memcmp()

  • memcpy()

  • memmove()

  • memset()

  • strcat()

  • strchr()

  • strcmp()

  • strcpy()

  • strcspn()

  • strerror_r()

  • strlen()

  • strncat()

  • strncmp()

  • strncpy()

  • strpbrk()

  • strrchr()

  • strspn()

  • strstr()

  • strtok_r()

29.21. <sys/mman.h>#

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

  • mmap()

  • mprotect()

  • shm_open()

29.22. <sys/select.h>#

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

  • FD_CLR()

  • FD_ISSET()

  • FD_SET()

  • FD_ZERO()

  • select()

29.23. <sys/socket.h>#

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

  • accept()

  • bind()

  • connect()

  • getpeername()

  • getsockname()

  • getsockopt()

  • listen()

  • recv()

  • recvfrom()

  • send()

  • sendto()

  • setsockopt()

  • shutdown()

  • socket()

29.24. <sys/stat.h>#

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

  • chmod()

  • fstat()

  • lstat()

  • mkdir()

  • mkfifo()

  • stat()

  • umask()

29.25. <sys/utsname.h>#

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

  • uname()

29.26. <time.h>#

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

  • asctime_r()

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

29.27. <unistd.h>#

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

  • access()

  • alarm()

  • chdir()

  • chown()

  • close()

  • dup2()

  • environ

  • fsync()

  • ftruncate()

  • getcwd()

  • getegid()

  • geteuid()

  • getgid()

  • getgroups()

  • gethostname()

  • getuid()

  • link()

  • lseek()

  • pause()

  • read()

  • rmdir()

  • setegid()

  • seteuid()

  • setgid()

  • setuid()

  • sysconf()

  • unlink()

  • write()