C code works on Linux, but not yet on OS X.