conform: add ISO23 data for stddef.h, stdlib.h
Checks
| Context |
Check |
Description |
| redhat-pt-bot/TryBot-apply_patch |
success
|
Patch applied to master at the time it was sent
|
| redhat-pt-bot/TryBot-32bit |
success
|
Build for i686
|
| linaro-tcwg-bot/tcwg_glibc_build--master-aarch64 |
success
|
Build passed
|
| linaro-tcwg-bot/tcwg_glibc_build--master-arm |
success
|
Build passed
|
| linaro-tcwg-bot/tcwg_glibc_check--master-arm |
success
|
Test passed
|
| linaro-tcwg-bot/tcwg_glibc_check--master-aarch64 |
success
|
Test passed
|
Commit Message
---
conform/data/stddef.h-data | 6 ++++++
conform/data/stdlib.h-data | 16 ++++++++++++++++
2 files changed, 22 insertions(+)
@@ -10,6 +10,12 @@ type size_t
type max_align_t
#endif
+#if defined ISO23
+type nullptr_t
+
+macro unreachable
+#endif
+
#if !defined ISO && !defined ISO99 && !defined ISO11 && !defined ISO23
allow *_t
#endif
@@ -11,12 +11,18 @@ macro-int-constant EXIT_SUCCESS == 0
macro-constant NULL == 0
macro-int-constant RAND_MAX >= 32767
macro MB_CUR_MAX
+#if defined ISO23
+macro ONCE_FLAG_INIT
+#endif
#if defined ISO99 || defined ISO11 || defined ISO23 || defined XOPEN2K || defined XOPEN2K8 || defined XOPEN2K24 || defined POSIX2008 || defined POSIX2024
type lldiv_t
element lldiv_t {long long} quot
element lldiv_t {long long} rem
#endif
+#if defined ISO23
+type once_flag
+#endif
type size_t
type wchar_t
@@ -54,6 +60,9 @@ function {long int} atol (const char*)
function {long long} atoll (const char*)
#endif
function {void*} bsearch (const void*, const void*, size_t, size_t, int(*)(const void*, const void*))
+#if defined ISO23
+function void call_once (once_flag*, void (*)(void))
+#endif
function {void*} calloc (size_t, size_t)
function div_t div (int, int)
#if !defined ISO && !defined ISO99 && !defined ISO11 && !defined ISO23 && !defined POSIX && !defined POSIX2008 && !defined POSIX2024
@@ -70,6 +79,10 @@ function void exit (int)
function {char*} fcvt (double, int, int*, int*)
#endif
function void free (void*)
+#if defined ISO23
+function void free_aligned_sized (void*, size_t, size_t)
+function void free_sized (void*, size_t)
+#endif
#if defined XPG42 || defined UNIX98 || defined XOPEN2K
function {char*} gcvt (double, int, char*)
#endif
@@ -103,6 +116,9 @@ function {void*} malloc (size_t)
function int mblen (const char*, size_t)
function size_t mbstowcs (wchar_t*, const char*, size_t)
function int mbtowc (wchar_t*, const char*, size_t)
+#if defined ISO23
+function size_t memalignment (const void*)
+#endif
#if defined XOPEN2K8 || defined XOPEN2K24 || defined POSIX2008 || defined POSIX2024
function {char*} mkdtemp (char*)
#endif