因此,当加载一个进程时,它会得到一个取决于某个称为 系统中断点(system break)的特定地址的初始内存分配。该地址之后是未被映射的内存 —— 用于在 RAM 或者硬盘中没有分配相应物理位置的内存。
基于16个网页-相关网页
还记得系统中断点吗? 该位置是进程映射的内存边界。
Remember the system break, the location that is the edge of mapped memory for the process?
sbrk根据参数中给出的字节数移动当前系统中断点,然后返回新的系统中断点。
SBRK moves the current system break by the number of bytes in its argument, and then returns the new system break.
如前所述,被映射的内存的边界(最后一个有效地址)常被称为系统中断点或者当前中断点。
As mentioned above, the edge of mapped memory — last valid address — is often known as the system break or the current break.
应用推荐