add osx fcntl - many functions missing