doc: posix: option_groups: additional options and option groups
Define additional options and option groups for PSE51 to PSE53. The options groups added in this commit are: POSIX_SIGNAL_JUMP POSIX_FILE_SYSTEM POSIX_PIPE POSIX_FILE_LOCKING The options added in this commit are: _POSIX_MEMLOCK _POSIX_MEMLOCK_RANGE _POSIX_MONOTONIC_CLOCK _POSIX_SHARED_MEMORY_OBJECTS _POSIX_THREAD_CPUTIME Signed-off-by: Chris Friedt <cfriedt@tenstorrent.com>
This commit is contained in:
parent
57ff7c9f7e
commit
37462aec6d
|
@ -151,6 +151,18 @@ Group.
|
|||
For more information on developing Zephyr applications in the C programming language, please refer
|
||||
to :ref:`details<language_support>`.
|
||||
|
||||
.. _posix_option_group_signal_jump:
|
||||
|
||||
POSIX_SIGNAL_JUMP
|
||||
=================
|
||||
|
||||
.. csv-table:: POSIX_SIGNAL_JUMP
|
||||
:header: API, Supported
|
||||
:widths: 50,10
|
||||
|
||||
siglongjmp(),
|
||||
sigsetjmp(),
|
||||
|
||||
.. _posix_option_group_single_process:
|
||||
|
||||
POSIX_SINGLE_PROCESS
|
||||
|
@ -289,6 +301,42 @@ POSIX_CLOCK_SELECTION
|
|||
pthread_condattr_setclock(),yes
|
||||
clock_nanosleep(),yes
|
||||
|
||||
.. _posix_option_group_file_system:
|
||||
|
||||
POSIX_FILE_SYSTEM
|
||||
=================
|
||||
|
||||
.. csv-table:: POSIX_FILE_SYSTEM
|
||||
:header: API, Supported
|
||||
:widths: 50,10
|
||||
|
||||
access(),
|
||||
chdir(),
|
||||
closedir(), yes
|
||||
creat(),
|
||||
fchdir(),
|
||||
fpathconf(),
|
||||
fstat(),
|
||||
fstatvfs(),
|
||||
getcwd(),
|
||||
link(),
|
||||
mkdir(), yes
|
||||
mkstemp(),
|
||||
opendir(), yes
|
||||
pathconf(),
|
||||
readdir(), yes
|
||||
remove(),
|
||||
rename(), yes
|
||||
rewinddir(),
|
||||
rmdir(),
|
||||
stat(), yes
|
||||
statvfs(),
|
||||
tmpfile(),
|
||||
tmpnam(),
|
||||
truncate(),
|
||||
unlink(), yes
|
||||
utime(),
|
||||
|
||||
.. _posix_option_group_networking:
|
||||
|
||||
POSIX_NETWORKING
|
||||
|
@ -352,6 +400,16 @@ POSIX_NETWORKING
|
|||
sockatmark(),yes (will fail with ``ENOSYS``:ref:`†<posix_undefined_behaviour>`)
|
||||
socketpair(),yes
|
||||
|
||||
.. _posix_option_group_pipe:
|
||||
|
||||
POSIX_PIPE
|
||||
==========
|
||||
|
||||
.. csv-table:: POSIX_PIPE
|
||||
:header: API, Supported
|
||||
:widths: 50,10
|
||||
|
||||
pipe(),
|
||||
|
||||
.. _posix_option_group_semaphores:
|
||||
|
||||
|
@ -430,6 +488,25 @@ This table lists service support status in Zephyr for `POSIX_FD_MGMT`:
|
|||
lseek(),
|
||||
rewind(),
|
||||
|
||||
.. _posix_option_group_file_locking:
|
||||
|
||||
POSIX_FILE_LOCKING
|
||||
==================
|
||||
|
||||
This table lists service support status in Zephyr for `POSIX_FD_MGMT`:
|
||||
|
||||
.. csv-table:: POSIX_FILE_LOCKING
|
||||
:header: API, Supported
|
||||
:widths: 50,10
|
||||
|
||||
flockfile(),
|
||||
ftrylockfile(),
|
||||
funlockfile(),
|
||||
getc_unlocked(),
|
||||
getchar_unlocked(),
|
||||
putc_unlocked(),
|
||||
putchar_unlocked(),
|
||||
|
||||
.. _posix_options:
|
||||
|
||||
Additional POSIX Options
|
||||
|
@ -464,6 +541,30 @@ _POSIX_FSYNC
|
|||
|
||||
fsync(),yes
|
||||
|
||||
.. _posix_option_memlock:
|
||||
|
||||
_POSIX_MEMLOCK
|
||||
++++++++++++++
|
||||
|
||||
.. csv-table:: _POSIX_MEMLOCK
|
||||
:header: API, Supported
|
||||
:widths: 50,10
|
||||
|
||||
mlockall(),
|
||||
munlockall(),
|
||||
|
||||
.. _posix_option_memlock_range:
|
||||
|
||||
_POSIX_MEMLOCK_RANGE
|
||||
++++++++++++++++++++
|
||||
|
||||
.. csv-table:: _POSIX_MEMLOCK_RANGE
|
||||
:header: API, Supported
|
||||
:widths: 50,10
|
||||
|
||||
mlock(),
|
||||
munlock(),
|
||||
|
||||
.. _posix_option_message_passing:
|
||||
|
||||
_POSIX_MESSAGE_PASSING
|
||||
|
@ -482,11 +583,22 @@ _POSIX_MESSAGE_PASSING
|
|||
mq_setattr(),yes
|
||||
mq_unlink(),yes
|
||||
|
||||
_POSIX_PRIORITY_SCHEDULING
|
||||
++++++++++++++++++++++++++
|
||||
.. _posix_option_monotonic_clock:
|
||||
|
||||
_POSIX_MONOTONIC_CLOCK
|
||||
++++++++++++++++++++++
|
||||
|
||||
.. csv-table:: _POSIX_MONOTONIC_CLOCK
|
||||
:header: API, Supported
|
||||
:widths: 50,10
|
||||
|
||||
CLOCK_MONOTONIC,yes
|
||||
|
||||
.. _posix_option_priority_scheduling:
|
||||
|
||||
_POSIX_PRIORITY_SCHEDULING
|
||||
++++++++++++++++++++++++++
|
||||
|
||||
.. csv-table:: _POSIX_PRIORITY_SCHEDULING
|
||||
:header: API, Supported
|
||||
:widths: 50,10
|
||||
|
@ -521,6 +633,20 @@ _POSIX_READER_WRITER_LOCKS
|
|||
pthread_rwlockattr_init(),yes
|
||||
pthread_rwlockattr_setpshared(),yes
|
||||
|
||||
.. _posix_shared_memory_objects:
|
||||
|
||||
_POSIX_SHARED_MEMORY_OBJECTS
|
||||
++++++++++++++++++++++++++++
|
||||
|
||||
.. csv-table:: _POSIX_SHARED_MEMORY_OBJECTS
|
||||
:header: API, Supported
|
||||
:widths: 50,10
|
||||
|
||||
mmap(),
|
||||
munmap(),
|
||||
shm_open(),
|
||||
shm_unlink(),
|
||||
|
||||
.. _posix_option_synchronized_io:
|
||||
|
||||
_POSIX_SYNCHRONIZED_IO
|
||||
|
@ -546,6 +672,18 @@ _POSIX_THREAD_ATTR_STACKADDR
|
|||
pthread_attr_getstackaddr(),yes
|
||||
pthread_attr_setstackaddr(),yes
|
||||
|
||||
.. _posix_option_thread_cputime:
|
||||
|
||||
_POSIX_THREAD_CPUTIME
|
||||
+++++++++++++++++++++
|
||||
|
||||
.. csv-table:: _POSIX_THREAD_CPUTIME
|
||||
:header: API, Supported
|
||||
:widths: 50,10
|
||||
|
||||
CLOCK_THREAD_CPUTIME_ID,yes
|
||||
pthread_getcpuclockid(),yes
|
||||
|
||||
.. _posix_option_thread_attr_stacksize:
|
||||
|
||||
_POSIX_THREAD_ATTR_STACKSIZE
|
||||
|
|
Loading…
Reference in a new issue