employer cover photo
employer logo
employer logo

Hewlett Packard Enterprise | HPE

Is this your company?

Hewlett Packard Enterprise | HPE Interview Question

2. fwrite () function's system call, will write data (present in user space) directly to file (or) copies data to kernel memory before writing to the file?

Interview Answer

Anonymous

Sep 14, 2017

the data from user space should first copied from user space to kernel space, because the page in and page out happens in user space. So the address in user space will not refer to the same data always

2