Kotlin-native and errno

How can i get the value of errno?, its a value that posix linux c functions set to indicate the last error, im calling a posix function that is returning -1 indicating there is an error, SOP is tpo look at errno to get the last error.


1 Like