about summary refs log tree commit diff stats
path: root/src
diff options
context:
space:
mode:
authorptitSeb <seebastien.chev@gmail.com>2023-09-09 14:41:23 +0200
committerptitSeb <seebastien.chev@gmail.com>2023-09-09 14:41:23 +0200
commitafd5d3a1e32abdd4c2657abb771f9f61f55e458f (patch)
treeed057daa4098ad9b730f61b3b4c892636d07a5d0 /src
parentd1e8bcd7a5bb11e6bbfa57e7dae29d9dd896104c (diff)
downloadbox64-afd5d3a1e32abdd4c2657abb771f9f61f55e458f.tar.gz
box64-afd5d3a1e32abdd4c2657abb771f9f61f55e458f.zip
Added some __isoc23_XXX wrapped function as synonym to libc (for #943)
Diffstat (limited to 'src')
-rw-r--r--src/wrapped/generated/functions_list.txt2
-rw-r--r--src/wrapped/generated/wrappedlibctypes.h2
-rw-r--r--src/wrapped/wrappedlibc_private.h3
3 files changed, 7 insertions, 0 deletions
diff --git a/src/wrapped/generated/functions_list.txt b/src/wrapped/generated/functions_list.txt
index bde33193..85603c2f 100644
--- a/src/wrapped/generated/functions_list.txt
+++ b/src/wrapped/generated/functions_list.txt
@@ -3853,6 +3853,8 @@ wrappedlibc:
   - execve
 - iFppV:
   - __asprintf
+  - __isoc23_fscanf
+  - __isoc23_sscanf
   - __isoc99_fscanf
   - __isoc99_sscanf
   - __isoc99_swscanf
diff --git a/src/wrapped/generated/wrappedlibctypes.h b/src/wrapped/generated/wrappedlibctypes.h
index e7a08c3e..5f5b8e1b 100644
--- a/src/wrapped/generated/wrappedlibctypes.h
+++ b/src/wrapped/generated/wrappedlibctypes.h
@@ -195,6 +195,8 @@ typedef int32_t (*iFppipppp_t)(void*, void*, int32_t, void*, void*, void*, void*
 	GO(__vsscanf, iFppp_t) \
 	GO(execve, iFppp_t) \
 	GO(__asprintf, iFppV_t) \
+	GO(__isoc23_fscanf, iFppV_t) \
+	GO(__isoc23_sscanf, iFppV_t) \
 	GO(__isoc99_fscanf, iFppV_t) \
 	GO(__isoc99_sscanf, iFppV_t) \
 	GO(__isoc99_swscanf, iFppV_t) \
diff --git a/src/wrapped/wrappedlibc_private.h b/src/wrapped/wrappedlibc_private.h
index efd5705b..1b5e6ef0 100644
--- a/src/wrapped/wrappedlibc_private.h
+++ b/src/wrapped/wrappedlibc_private.h
@@ -925,6 +925,9 @@ GO(__isnanf, iFf)
 GOW(isnanf, iFf)
 GO(__isnanl, iFD)
 GOW(isnanl, iFD)
+GO2(__isoc23_fscanf, iFEppV, my___isoc99_fscanf)
+GO2(__isoc23_sscanf, iFEppV, my___isoc99_sscanf)
+GO2(__isoc23_strtol, lFppi, strtol)
 GOM(__isoc99_fscanf, iFEppV)
 //GO(__isoc99_fwscanf, iFppV)
 GOM(__isoc99_scanf, iFEpV)