unistd: add support for confstr()

add support for POSIX defined confstr()

Signed-off-by: p-szafonimateusz <p-szafonimateusz@xiaomi.com>
This commit is contained in:
p-szafonimateusz
2025-07-31 13:02:01 +02:00
committed by Xiang Xiao
parent 8108aad1a4
commit 396f5b40ce
5 changed files with 132 additions and 4 deletions
+2 -2
View File
@@ -28,7 +28,7 @@ Units of Functionality Requirements:
+------------------------------+----------------+---------+
| `POSIX_FILE_LOCKING`_ | Yes | |
+------------------------------+----------------+---------+
| `POSIX_SINGLE_PROCESS`_ | 7/9 | |
| `POSIX_SINGLE_PROCESS`_ | 8/9 | |
+------------------------------+----------------+---------+
| `POSIX_THREADS_BASE`_ | Yes | |
+------------------------------+----------------+---------+
@@ -631,7 +631,7 @@ Single Process:
+--------------------------------+---------+
| API | Support |
+================================+=========+
| confstr() | No |
| confstr() | Yes |
+--------------------------------+---------+
| environ | Yes |
+--------------------------------+---------+