Loading…
Because we need to tell <function role="syscall">mmap</function> how many bytes of the file to map into the memory, and because we want to map the entire file, we need to determine the size of the file.
از آنجا که باید تعداد بایتهایی که درون حافظه نگاشت میکنیم را به <function role="syscall">mmap</function> اعلام کنیم، و چون میخواهیم تمام پرونده را نگاشت کنیم، باید اندازهٔ پرونده را تعیین کنیم.