I like the simplicity of the system calls.
With DynASM (a subproject of LuaJIT), it is possible to target more platforms with this kind beauty.
http://luajit.org/dynasm_features.html