Recently I am studying operating system..I just wanna know:
What’s the difference between a system call (like write()) and a standard library function (like printf()
printf() is one of the APIs or interfaces exposed to user space to call functions from C library.
printf()
printf() actually uses write() system call. The write() system call is actually responsible for sending data to the output.
write()