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.
The Asian Development Bank (ADB) has approved a $200 million loan to strengthen flood and riverbank erosion risk management along the 650 kilometers (km...
In which district of Rajasthan was the first Science Centre under the Aspirational Districts initiative inaugurated in 2025?
Which of the following is a source of tax revenue?
Vladimir Putin won a historic fifth term as President of Russia. What percentage of the vote did he secure?
- Which state ranked 4th in the overall medal tally of the 38th National Games 2025?
The United Nations’ International Week of Solidarity with the Peoples of Non-Self-Governing Territories (NSGTs) is observed annually during which peri...
According to the World Inequality Report 2026, what share of India’s total wealth is owned by the richest 10%?
The International Day to Combat Islamophobia is observed annually on which date?
Who is the author of the book "Human Rights and Terrorism in India,"?
According to the selection process of the AI and Gender Empowerment casebook, how many total submissions were received from across the world for evaluat...