Question
Standard C library functions will always invoke a system
call when executed from a single-threaded process in a UNIX/Linux operating system?Solution
exit C library functions - Terminates the process normally, performing the regular cleanup for terminating programs. malloc - This is a function defined in standard C library and it does not always invoke the system call. When a process is created, certain amount of heap memory is already allocated to it, when required to expand or shrink that memory, it internally uses sbrk/brk system call on Unix/Linux. sleep - This is not even standard C library function, it is a POSIX standard c library function which always invokes the system call.
Who will officially release the book ‘Sanskriti Ka Paanchva Adhyay’?
What was the reported inflation rate in India for August 2024?
Ustad Zakir Hussain, awarded the Padma Vibhushan in 2023, is renowned for playing which musical instrument?
Arrange the following District in decreasing order in terms of “Population density”?
Which international financial institution did NABARD collaborate with to set up a carbon fund to address climate risks?
_______ bank emerged as the largest beneficiary on the unified payments interface (UPI) platform?
Which initiative is India’s first AI and EI-enabled trend forecasting platform for the fashion industry, launched by the Union Minister of Textiles?
Which of the following math is not correctly matched:
Recently Election Commission has disqualified 20 MLAs who belong to the legislative assembly of:
Which article of the Indian Constitution abolished untouchability?