Revert "Added fcntl and various flags."
Revert "Added fcntl and various flags."

This reverts commit 5fead7f615b0dab157a4c637f6a041cc44415858.

kirbyfan64/rock,magic-lang/rock,cogneco/rock,jonathanudd/rock,magic-lang/rock,zhaihj/rock,thomasfanell/rock,marcusnaslund/rock,ds84182/rock,fredrikbryntesson/rock,zhaihj/rock,fasterthanlime/rock,ooc-lang/rock,kirbyfan64/rock,cogneco/rock,davidhesselbom/rock,ooc-lang/rock,fredrikbryntesson/rock,shamanas/rock,fasterthanlime/rock,jonathanudd/rock,ds84182/rock,davidhesselbom/rock,marcusnaslund/rock,thomasfanell/rock,shamanas/rock