16. FACE Technical Standard, Edition 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.
The follow table summarizes alignment with the FACE Technical Standard, Edition 2.1 Safety Base standard:
Support |
Amount |
---|---|
Supported |
246 |
ENOSYS |
1 |
Not supported |
0 |
16.1. <arpa/inet.h>
#
The following methods and variables in <arpa/inet.h>
are supported:
htonl()
htons()
inet_ntop()
inet_pton()
ntohl()
ntohs()
16.2. <ctype.h>
#
The following methods and variables in <ctype.h>
are supported:
isalnum()
isalpha()
iscntrl()
isdigit()
isgraph()
islower()
isprint()
ispunct()
isspace()
isupper()
isxdigit()
tolower()
toupper()
16.3. <devctl.h>
#
The following methods and variables in <devctl.h>
are supported:
posix_devctl()
16.4. <dirent.h>
#
The following methods and variables in <dirent.h>
are supported:
closedir()
opendir()
readdir()
readdir_r()
rewinddir()
16.5. <errno.h>
#
The following methods and variables in <errno.h>
are supported:
errno
16.6. <fcntl.h>
#
The following methods and variables in <fcntl.h>
are supported:
creat()
open()
16.7. <math.h>
#
The following methods and variables in <math.h>
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.8. <mqueue.h>
#
The following methods and variables in <mqueue.h>
are supported:
mq_getattr()
mq_notify()
mq_open()
mq_receive()
mq_send()
mq_setattr()
mq_timedreceive()
mq_timedsend()
16.9. <netdb.h>
#
The following methods and variables in <netdb.h>
are supported:
freeaddrinfo()
getaddrinfo()
getnameinfo()
16.10. <pthread.h>
#
The following methods and variables in <pthread.h>
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()
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 <pthread.h>
are implemented as
stubs returning -1
and setting errno
to ENOSYS
:
pthread_getcpuclockid()
16.11. <sched.h>
#
The following methods and variables in <sched.h>
are supported:
sched_get_priority_max()
sched_get_priority_min()
sched_yield()
16.12. <semaphore.h>
#
The following methods and variables in <semaphore.h>
are supported:
sem_close()
sem_getvalue()
sem_init()
sem_open()
sem_post()
sem_timedwait()
sem_trywait()
sem_wait()
16.13. <signal.h>
#
The following methods and variables in <signal.h>
are supported:
pthread_sigmask()
sigaction()
sigaddset()
sigdelset()
sigemptyset()
sigfillset()
sigismember()
sigpending()
sigqueue()
sigsuspend()
sigtimedwait()
sigwait()
sigwaitinfo()
16.14. <stdio.h>
#
The following methods and variables in <stdio.h>
are supported:
clearerr()
fclose()
feof()
ferror()
fflush()
fgetc()
fgets()
fileno()
fopen()
fprintf()
fread()
freopen()
fseek()
fseeko()
ftell()
ftello()
fwrite()
remove()
rename()
snprintf()
16.15. <stdlib.h>
#
The following methods and variables in <stdlib.h>
are supported:
abs()
atof()
atoi()
atol()
calloc()
div()
labs()
ldiv()
malloc()
rand_r()
strtod()
strtol()
strtoul()
16.16. <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()
16.17. <sys/mman.h>
#
The following methods and variables in <sys/mman.h>
are supported:
mlockall()
mmap()
shm_open()
16.18. <sys/select.h>
#
The following methods and variables in <sys/select.h>
are supported:
FD_CLR()
FD_ISSET()
FD_SET()
FD_ZERO()
select()
16.19. <sys/socket.h>
#
The following methods and variables in <sys/socket.h>
are supported:
bind()
connect()
getpeername()
getsockname()
getsockopt()
recv()
recvfrom()
send()
sendto()
setsockopt()
shutdown()
socket()
16.20. <sys/stat.h>
#
The following methods and variables in <sys/stat.h>
are supported:
fstat()
mkdir()
stat()
umask()
16.21. <time.h>
#
The following methods and variables in <time.h>
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()
16.22. <unistd.h>
#
The following methods and variables in <unistd.h>
are supported:
access()
alarm()
chdir()
close()
fsync()
ftruncate()
getcwd()
gethostname()
link()
lseek()
pause()
read()
rmdir()
unlink()
write()