removed windows fcntl