Shriramana Sharma wrote: > 1. Can the system calls provided by the kernel be considered an API? System calls aren't strictly an *application* programming interface. Applications are supposed to use the libc functions. OTOH, the term "system call" is often used to refer to both of the actual system call and the corresponding libc function. IOW, read() is an API, syscall(SYS_read, ...) isn't. > 2. When an app using system calls is executed, would any code in the > kernel be executed? Yes. That's the point of system calls. -- Glynn Clements <glynn@xxxxxxxxxxxxxxxxxx> - To unsubscribe from this list: send the line "unsubscribe linux-c-programming" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html