Refactoring of err values and addition of fd_check()
Refactoring of err values and addition of fd_check()

fredmorcos/attic,fredmorcos/attic,fredmorcos/attic,fredmorcos/attic,fredmorcos/attic,fredmorcos/attic,fredmorcos/attic,fredmorcos/attic,fredmorcos/attic,fredmorcos/attic