example typos
Posted Oct 23, 2009 21:06 UTC (Fri) by
bfields (subscriber, #19510)
Parent article:
File holes, races, and mmap()
pwrite(fd, buf, 1, 10000);
...
Note that even though the file size is set to 1000 bytes
Was the fourth argument to pwrite() intended to be 1000, not 10000? (After which the file size should be 1001 bytes, not 1000.)
(
Log in to post comments)