fcntl, basic support