Linux Programing API
Linux Programing API
A call from a process to the kernel, through the kernel API to perform some
action.
--A system call changes the processor state from user mode to kernel mode, so
that the CPU can access protected kernel memory.
-- The set of system calls is fixed. Each system call is identified by a unique
number.
(This numbering scheme is not normally visible to programs, which identify
system calls by name.)
--Each system call may have a set of arguments that specify information to be
transferred from user space (i.e., the process’s virtual address space) to kernel
space and vice versa.
##### API
system call application programming interface, services accesible to programs to
make call to the kernel.
Ex. Creating a new process, performing I/O, interprocess comunication.
##### glibc
GNU C library of functions