adplus-dvertising
frame-decoration

Question

Which of the following calls never returns an error ?

a.

getpid

b.

fork

c.

ioctl

d.

open

Posted under Operating System

Answer: (a).getpid

Engage with the Community - Add Your Comment

Confused About the Answer? Ask for Details Here.

Know the Explanation? Add it Here.

Q. Which of the following calls never returns an error ?

Similar Questions

Discover Related MCQs

Q. A fork system call will fail if :

Q. If a thread invokes the exec system call,

Q. If exec is called immediately after forking,

Q. If a process does not call exec after forking,

Q. Thread cancellation is :

Q. When a web page is loading, and the user presses a button on the browser to stop loading the page :

Q. When one thread immediately terminates the target thread, it is called :

Q. When the target thread periodically checks if it should terminate and terminates itself in an orderly manner, it is called :

Q. Cancelling a thread asynchronously :

Q. Cancellation point is the point where :

Q. If multiple threads are concurrently searching through a database and one thread returns the result then the remaining threads must be :

Q. Signals that occur at the same time, are presented to the process :

Q. Which of the following is not TRUE :

Q. Signals of a given type :

Q. The three ways in which a process responds to a signal are :

Q. Signals are identified by :

Q. When a process blocks the receipt of certain signals :

Q. The _______ maintains pending and blocked bit vectors in context of each process.

Q. In UNIX, the set of masked signals can be set or cleared using the ________ function.

Q. The usefulness of signals as a general inter process communication mechanism is limited because :