Piko/RT POSIX API

Piko/RT aim to fulfill IEEE 1003.13-2003 PSE51 standard, this is the list of POSIX API that Piko/RT implemented.

Units of Functionality Requirements

05.POSIX_SINGLE_PROCESS
API Name IMPL Path
confstr() X  
environ X  
errno X  
getenv() X  
setenv() X  
sysconf() O libc/unistd.c:6
uname() X  
unsetenv() X  
04.POSIX_SIGNALS
API Name IMPL Path
abort() X  
alarm() X  
kill() X  
pause() X  
raise() X  
sigaction() O libc/signal.c:8
sigaddset() X  
sigdelset() X  
sigemptyset() X  
sigfillset() X  
sigismember() X  
signal() X  
sigpending() X  
sigprocmask() X  
sigsuspend() X  
sigwait() X  
01.POSIX_C_LANG_SUPPORT
API Name IMPL Path
abs() X  
asctime() X  
asctime_r() X  
atof() X  
atoi() X  
atol() X  
atoll() X  
bsearch() X  
calloc() X  
ctime() X  
ctime_r() X  
difftime() X  
div() X  
feclearexcept() X  
fegetenv() X  
fegetexceptflag() X  
fegetround() X  
feholdexcept() X  
feraiseexcept() X  
fesetenv() X  
fesetexceptflag() X  
fesetround() X  
fetestexcept() X  
feupdateenv() X  
free() O libc/stdlib.c:93
gmtime() X  
gmtime_r() X  
imaxabs() X  
imaxdiv() X  
isalnum() X  
isalpha() X  
isblank() X  
iscntrl() X  
isdigit() X  
isgraph() X  
islower() X  
isprint() X  
ispunct() X  
isspace() X  
isupper() X  
isxdigit() X  
labs() X  
ldiv() X  
llabs() X  
lldiv() X  
localeconv() X  
localtime() X  
localtime_r() X  
malloc() O libc/stdlib.c:59
memchr() X  
memcmp() X  
memcpy() X  
memmove() X  
memset() X  
mktime() X  
qsort() X  
rand() X  
rand_r() X  
realloc() X  
setlocale() X  
snprintf() O libc/stdio.c:98
sprintf() O libc/stdio.c:86
srand() X  
sscanf() X  
strcat() X  
strchr() X  
strcmp() X  
strcoll() X  
strcpy() X  
strcspn() X  
strerror() X  
strerror_r() X  
strftime() X  
strlen() X  
strncat() X  
strncmp() X  
strncpy() X  
strpbrk() X  
strrchr() X  
strspn() X  
strstr() X  
strtod() X  
strtof() X  
strtoimax() X  
strtok() X  
strtok_r() X  
strtol() X  
strtold() X  
strtoll() X  
strtoul() X  
strtoull() X  
strtoumax() X  
strxfrm() X  
time() X  
tolower() X  
toupper() X  
tzname X  
tzset() X  
va_arg() X  
va_copy() X  
va_end() X  
va_start() X  
vsnprintf() O libc/stdio.c:6
vsprintf() O libc/stdio.c:81
vsscanf() X  
06.POSIX_THREADS_BASE
API Name IMPL Path
pthread_atfork() X  
pthread_attr_destroy() X  
pthread_attr_getdetachstate() X  
pthread_attr_getschedparam() X  
pthread_attr_init() O libc/pthread.c:27
pthread_attr_setdetachstate() X  
pthread_attr_setschedparam() X  
pthread_cancel() X  
pthread_cleanup_pop() X  
pthread_cleanup_push() X  
pthread_cond_broadcast() X  
pthread_cond_destroy() X  
pthread_cond_init() O libc/pthread.c:44
pthread_cond_signal() O libc/pthread.c:101
pthread_cond_timedwait() X  
pthread_cond_wait() O libc/pthread.c:96
pthread_condattr_destroy() X  
pthread_condattr_init() X  
pthread_create() O libc/pthread.c:82
pthread_detach() O libc/pthread.c:77
pthread_equal() X  
pthread_exit() O libc/pthread.c:68
pthread_getspecific() X  
pthread_join() O libc/pthread.c:91
pthread_key_create() X  
pthread_key_delete() X  
pthread_kill() X  
pthread_mutex_destroy() X  
pthread_mutex_init() O libc/pthread.c:36
pthread_mutex_lock() O libc/v7m-pthread.S:14
pthread_mutex_trylock() O libc/v7m-pthread.S:31
pthread_mutex_unlock() O libc/v7m-pthread.S:46
pthread_mutexattr_destroy() X  
pthread_mutexattr_init() X  
pthread_once() X  
pthread_self() O libc/pthread.c:63
pthread_setcalcelstate() X  
pthread_setcanceltype() X  
pthread_setspecific() X  
pthread_sigmask() X  
pthread_testcancel() X  
02.POSIX_DEVICE_IO
API Name IMPL Path
clearerr() X  
close() O libc/fcntl.c:14
fclose() X  
fdopen() X  
feof() X  
ferror() X  
fflush() X  
fgetc() X  
fgets() X  
fileno() X  
fopen() X  
fprintf() X  
fputc() X  
fputs() X  
fread() X  
freopen() X  
fscanf() X  
fwrite() X  
getc() X  
getchar() X  
gets() X  
open() O libc/fcntl.c:9
perror() X  
printf() X  
putc() X  
putchar() X  
puts() X  
read() O libc/fcntl.c:19
scanf() X  
setbuf() X  
setvbuf() X  
stderr X  
stdin X  
stdout X  
ungetc() X  
vfprintf() X  
vfscanf() X  
vprintf() X  
vscanf() X  
write() O libc/fcntl.c:24
07.XSI_THREAD_MUTEX_EXT
API Name IMPL Path
pthread_mutexattr_gettype() X  
pthread_mutexattr_settype() X  
08.XSI_THREADS_EXT
API Name IMPL Path
pthread_attr_getguardsize() X  
pthread_attr_getstack() X  
pthread_attr_setguardsize() X  
pthread_attr_setstack() X  
pthread_getconcurrency() X  
pthread_setconcurrency() X  
03.POSIX_FILE_LOCKING
API Name IMPL Path
flockfile() X  
ftrylockfile() X  
funlockfile() X  
getc_unlocked() X  
getchar_unlocked() X  
putc_unlocked() X  
putchar_unlocked() X  

POSIX.1 Option Requirements

13._POSIX_THREAD_CPUTIME
API Name IMPL Path
pthread_getcpuclockid() X  
15._POSIX_THREAD_PRIO_PROTECT
API Name IMPL Path
pthread_mutex_getprioceiling() X  
pthread_mutex_setprioceiling() X  
pthread_mutexattr_getprioceiling() X  
pthread_mutexattr_getprotocol() X  
pthread_mutexattr_setprioceiling() X  
pthread_mutexattr_setprotocol() X  
04.POSIX_MEMLOCK_RANGE
API Name IMPL Path
mlock() X  
munlock() X  
18._POSIX_TIMERS
API Name IMPL Path
clock_getres() X  
clock_gettime() X  
clock_settime() X  
nanosleep() X  
timer_create() O libc/time.c:10
timer_detele() X  
timer_getoverrun() X  
timer_gettime() O libc/time.c:25
timer_settime() O libc/time.c:16
06._POSIX_NO_TRUNC
API Name IMPL Path
     
08._POSIX_SEMAPHORES
API Name IMPL Path
sem_close() X  
sem_destroy() X  
sem_getvalue() X  
sem_init() X  
sem_open() X  
sem_post() X  
sem_trywait() X  
sem_wait() X  
sem_unlink() X  
sem_timedwait() X  
02._POSIX_FSYNC
API Name IMPL Path
fsync() X  
01._POSIX_CLOCK_SELECTION
API Name IMPL Path
clock_nanosleep() X  
10._POSIX_SYNCHRONIZED_IO
API Name IMPL Path
fdatasync() X  
14._POSIX_THREAD_PRIO_INHERIT
API Name IMPL Path
pthread_mutexattr_getprotocol() X  
pthread_mutexattr_setprotocol() X  
07._POSIX_REALTIME_SIGNALS
API Name IMPL Path
sigqueue() X  
sigtimedwait() X  
sigwaitinfo() X  
17._POSIX_THREAD_SPORADIC_SERVER
API Name IMPL Path
     
12._POSIX_THREAD_ATTR_STACKSIZE
API Name IMPL Path
pthread_attr_getstack() X  
pthread_attr_setstack() X  
16._POSIX_THREAD_PRIORITY_SCHEDULING
API Name IMPL Path
pthread_attr_getinheritsched() X  
pthread_attr_getschedpolicy() X  
pthread_attr_getscope() X  
pthread_attr_setinheritsched() X  
pthread_attr_setschedpolicy() X  
pthread_attr_setscope() X  
pthread_getschedparam() X  
pthread_setschedparam() X  
pthread_setschedprio() X  
sched_get_priority_max() X  
sched_get_priority_min() X  
sched_rr_get_interval() X  
09._POSIX_SHARED_MEMORY_OBJECTS
API Name IMPL Path
shm_open() X  
shm_unlink() X  
03._POSIX_MEMLOCK
API Name IMPL Path
mlockall() X  
munlockall() X  
11._POSIX_THREAD_ATTR_STACKADDR
API Name IMPL Path
pthread_attr_getstackaddr() X  
pthread_attr_setstackaddr() X  
05._POSIX_MONOTONIC_CLOCK
API Name IMPL Path