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?
Anonymous
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
Check out your Company Bowl for anonymous work chats.