We know that system calls are requests by a process for a service from an operating system's kernel.[1] I'm asking this question because I wanted to know if a process can really generate a signal on its own, ask the CPU for arithmetic operations directly, or read/write to files, and the like; OR does a process really just requests these to the operating system.
Tell me more
×
Super User is a question and answer site for
computer enthusiasts and power users. It's 100% free, no registration required.
|
"Signals" and "files" only exist within the context of an operating system, so applications must ask the kernel to operate on them on its behalf. Arithmetic operations are preformed by the CPU, so applications can perform them directly. |
|||
|
|
I failed to realize that the string library functions in string.h don't make any use of system calls. |
|||||||||
|
