Simple example of converting win32 api's to linux