http://book.realworldhaskell.org/read/interfacing-with-c-the-ffi.html Then we can add the correct types around the C functions.
http://book.realworldhaskell.org/read/interfacing-with-c-the-ffi.html
Then we can add the correct types around the C functions.