我知道 malloc sbrk 是调用的系统调用,类似地,当我写入 malloed 内存(堆内存)时调用的系统调用是什么
int main
{
/* 10 byte of heap memory allocated */
char *ptr = malloc(5);
ptr[0] = 10; // **What is the system call invoked for
writing into this heap memory** ?????
}