I'd like to write a very simple CLI monitoring too...
# kotlin-native
e
I'd like to write a very simple CLI monitoring tool for personal use, on Windows. Does K/N offer some kind of pre-made library for Windows APIs? Like, a wrapper, or types.
k
Kotlin native provides posix platform bindings out of the box. https://kotlinlang.org/docs/native-platform-libs.html#posix-bindings
e
But isn't POSIX different from Win32? I've seen references to a package called
platform.windows
online, which is different from the docs'
platform.posix
k
I haven’t personally done mingw development, so I can’t be sure, but if a
platform.windows
exists it’s likely included in mingw sourcesets by default
e
Perfect, sounds good to me, thanks!