Fix FIONWRITE usage