about summary refs log tree commit diff stats
path: root/src/wrapped32
diff options
context:
space:
mode:
authorptitSeb <sebastien.chev@gmail.com>2024-10-04 12:28:11 +0200
committerptitSeb <sebastien.chev@gmail.com>2024-10-04 12:28:11 +0200
commit9f4eb36c99723f20e203bda0db07005284ae2eba (patch)
treec4b1de9a09ef69c3ba597a82ead6c8017d9ecaaf /src/wrapped32
parentcbbafafb46b39b5ccb6f4c08d085317bcf09fba0 (diff)
downloadbox64-9f4eb36c99723f20e203bda0db07005284ae2eba.tar.gz
box64-9f4eb36c99723f20e203bda0db07005284ae2eba.zip
[BOX32][WRAPPER] More wrapped function to libc, and many fixes some existing ones
Diffstat (limited to 'src/wrapped32')
-rw-r--r--src/wrapped32/generated/functions_list.txt1
-rw-r--r--src/wrapped32/generated/wrappedlibctypes32.h1
-rwxr-xr-xsrc/wrapped32/wrappedlibc_private.h2
3 files changed, 3 insertions, 1 deletions
diff --git a/src/wrapped32/generated/functions_list.txt b/src/wrapped32/generated/functions_list.txt
index 6700f69c..e6e8a22d 100644
--- a/src/wrapped32/generated/functions_list.txt
+++ b/src/wrapped32/generated/functions_list.txt
@@ -1272,6 +1272,7 @@ wrappedlibc:
 - pFpi:
   - backtrace_symbols
 - pFpp:
+  - __cmsg_nxthdr
   - gmtime_r
   - localtime_r
 - SFpp:
diff --git a/src/wrapped32/generated/wrappedlibctypes32.h b/src/wrapped32/generated/wrappedlibctypes32.h
index aa83e060..c712c92d 100644
--- a/src/wrapped32/generated/wrappedlibctypes32.h
+++ b/src/wrapped32/generated/wrappedlibctypes32.h
@@ -140,6 +140,7 @@ typedef int32_t (*iFpLiLppp_t)(void*, uintptr_t, int32_t, uintptr_t, void*, void
 	GO(execlp, iFpV_t) \
 	GO(signal, pFip_t) \
 	GO(backtrace_symbols, pFpi_t) \
+	GO(__cmsg_nxthdr, pFpp_t) \
 	GO(gmtime_r, pFpp_t) \
 	GO(localtime_r, pFpp_t) \
 	GO(_ITM_addUserCommitAction, vFpup_t) \
diff --git a/src/wrapped32/wrappedlibc_private.h b/src/wrapped32/wrappedlibc_private.h
index 09debe09..25aaa4c4 100755
--- a/src/wrapped32/wrappedlibc_private.h
+++ b/src/wrapped32/wrappedlibc_private.h
@@ -162,7 +162,7 @@ GOW(close, iFi)
 // __close  // Weak
 GOW(closedir, iFp)
 GO(closelog, vFv)
-//GO(__cmsg_nxthdr, pFpp)
+GOM(__cmsg_nxthdr, pFpp)    //%noE
 //GO(confstr, uFipu)
 // __confstr_chk
 GOW(connect, iFipu)