https://kotlinlang.org logo
#kotlin-native
Title
# kotlin-native
m

Matt Nelson

11/09/2023, 4:35 PM
So, working on adding
iOS
support to a project, but want to use
posix_spawn
. Those APIs are not available from kotlin, although for all darwin sdks
spawn.h
is present. How might I setup
cinterop
to include the
spawn.h
headers in order to access those APIs?
And yes, the
spawn.h
file is the same for all platforms located in their respective
/Application/Xcode.app/....../*.sdk/usr/include
directories
2 Views