This patch:
* Adds some constants that although undocumented are exposed by the
module
* Modifies the signature of fcntl() to match reality
* Adds missing function stubs
* Modifies few existing constant declarations to match the repository
conventions
I believe the stub is complete now (and if it's not there isn't much
missing).