Page 1 of 1

Consider the following example in which a C program invokes the printf() statement. The C library intercepts this call a

Posted: Sat Nov 27, 2021 2:20 pm
by answerhappygod
Consider the following example in which a C program invokes the
printf() statement. The C library intercepts this call and invokes
the necessary system call in OS, provide the series of steps how
the kernel will reach to and execute the required system call
code?
Consider The Following Example In Which A C Program Invokes The Printf Statement The C Library Intercepts This Call A 1
Consider The Following Example In Which A C Program Invokes The Printf Statement The C Library Intercepts This Call A 1 (12.17 KiB) Viewed 69 times
With Code Screenshot
Subject : Operating System
Software : Linux Kernel
#include <stdio.h> int main() -printf ("Greetings"); return 0; ) user mode standard C library kernel mode write() write() system call