If count is greater than SSIZE_MAX, the result is unspecified.RETURN VALUEOn success, the number of bytes read is returned (zero indicates end of file), and the file position is advanced by this number. It is not an error if this number is smaller than the number of bytes requested. . . .
So put the corn in the oven however you choose to, and set the timer for 30 minutes. Oh how I love the smell of the corn cooking this way. A real roasted smell. After 30 minutes, remove the corn from the oven.
The most important part of cooking corn on the cob in the oven is getting the oven really hot; let the oven heat up to 500 degrees Fahrenheit. The corn cooks just as easily at 400 degrees F, but less browning occurs at lower temperatures.