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.
Effect : With over 27 lakh seats lying vacant in various engineering institutes across the country, All India Council of Technical Education (AICTE) ha...
Statement: The alumni of the institute returned to rescue crumbling building of 112-year-old alma mater.
I. The Building of the institute was b...
Event (A): Researchers at Bengaluru based Transdisciplinary University (TDU) have found that when water, inoculated with ...
Statement : "The government has decided to provide free healthcare facilities to all senior citizens above the age of 60."
Assumptions :
Event (A): Heavy rain on Saturday left commuters stranded on the road across the city since they couldn’t find cabs as majority of cab drivers went o...
In the question below, two statements (I) and (II) are given. These statements may be either independent causes or may be effects of independent cause...
Event (A): The announcements filed by listed companies will be disseminated directly on the NSE website without the exchange's intervention.
...
Which of the following combination is false?
If each letter of the word ‘WASHINGTON’ is replaced by its successor in the alphabetical series, then which of the following is fourth alphabet to t...
In the question below, two statements (I) and (II) are given. These statements may be either independent causes or may be effects of independent cause...