3 ms·
He writes "number" bytes into a temporary file and then, starting from the beginning, re-reads them in blocks of "divisor" bytes each. "fread" returns the numbe
by pif 14y ago
He writes "number" bytes into a temporary file and then, starting from the beginning, re-reads them in blocks of "divisor" bytes each. "fread" returns the number of full blocks read from the stream.