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.
1 Place each ear of corn on a separate square of aluminum foil. Place 1 tablespoon of butter on each one, and sprinkle with garlic powder. Wrap ears tightly with the foil.  Place ears of corn on the grill or in the oven for 20 to 30 minutes, turning over occasionally.