logoalt Hacker News

chadgpt3today at 11:58 AM0 repliesview on HN

Yes, it divides the bytes read by the element size to get the return value.

Which is the obvious reason you'd pass an element size of 1: you want to know how many bytes were read.