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.
In the following questions, a word has been given and there are three ways in which the word has been used, in similar or different forms. You need to ...
Select the most appropriate antonym of the given word.
MINISCULE
In the following question, a word has been given and there are three ways in which the word has been used, in similar or different forms. You need to se...
Wrath
In each of the questions below four words are highlighted in the sentences. One of these four words printed in bold may be either wrongly spelt or inap...
Each of the Following questions presents a word in bold, followed by three sentences using that word. The word may be used correctly or incorrectly in ...
In each of the following questions, a word has been given and used in three statements. You are supposed to identify which of the statements/s use/s th...
In the following question, a word has been given and there are three ways in which the word has been used, in similar or different forms. You need to s...
In each of the following questions, a word is given. Choose the option in which the word is used correctly in the context.
WORD: Discreet
In each of the questions below four words are highlighted in the sentences. One of these four words printed in bold may be either wrongly spelt or inap...